[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cpx] Adding a domain to /www/conf (migrating vps2 -> vps3)
- Subject: [cpx] Adding a domain to /www/conf (migrating vps2 -> vps3)
- From: Fred Bloggs <verio.list.mail1@xxxxxxxxx>
- Date: Thu, 13 Mar 2008 12:06:16 +0100
Hi,
I have a client who is currently on a vps2. As he needs mysql5, php5 
and apache2 I advised hom to take a linux of vps3 account with us.
As verio kindly offers us the 1st month free for an account, I setup 
a linux and a vps3 account, both with CPX. Both accoynts have a temp 
domain (linux.client.com and vps3.client.com) , until the client's 
domain (client.com) is moved to the server of his choice.
Below you will see my problem and the way I attacked it. (Verio 
support understood my problem, but could not really give me the 
solution I wanted).
I would like advice, if I did the right thing, because the last thing 
I want is CPX to kill e-mail or the website, when the domain gets 
moved to one of the new accounts.
The client want's to add his e-mail users (mostly aliases to other 
e-mail addresses) on both accounts, so that when he makes his choice, 
the server of his choice is ready to go, when we move the domain to 
the new linux of vps3 account.
When I try to add e-mail addresses in CPX, I can only add e-mail 
addresses for a domain, that CPX "knows" is on the server. When I 
"Add Domain" I only get the choice to add the domain (which will 
become the main domain on the server) as a virtual host. I don't want 
this for the website...
So what I did:
I edited /usr/local/etc/cpx.conf (yes I know the file warns you not 
to...) and changed the all the temp domain tags (vps3.client.com) 
back to the client's main domain name (client.com). Next I restarted 
the server, and voila... I can add e-mail addresses for the domain 
client.com ,and the website will be in /www/htdocs (Where I want it).
Is there anything wrong with this approach?
Slightly off topic:
If anybody of the CPX team is reading this... why is there not a 
simple add domain function, that adds a domain, but not as a virtual 
host? Surely I'm not the only one, with multiple domains, aimed at /www/htdocs?
Kind regards,
Fred
======================================================================
This is <cpx@xxxxxxxxxxxxx>      <http://www.groupmail.org/lists/cpx/>
Before posting a question, please search the archives (see above URL).
Home |
Main Index |
Thread Index