View Full Version : Change Domain Name to an existing IP Address??
cstaley
05-14-2007, 04:55 PM
I currently have a domain name assigned to an IP address and it has a website, email and a MySql database. I would like to be able to change the Domain Name of this IP address but keep everything else intact. - Is there a way? :confused:
Thank You,
Clair
Justec
05-14-2007, 05:24 PM
Option 1 - A quick way is to edit the vhost file for that domain manually then just restart HTTP server.
> cd /etc/httpd/conf.d
> vi domainname.com.conf
Then change the domain name for ServerName (most important) and anywhere else you see the old domain name.
Then do a apache restart, I like to do a graceful restart just in case there is a config problem.
> apachectl -k graceful
or non-graceful
> service httpd restart
Option 2 - If you want to keep everything default Iworx way I think the best and cleanest way would be to just backup the account and create a new account and restore that. If this is on its own dedicated IP address then you will have to take the current site down before you create the new one and do the restore.
Maybe there is an easier way, so you should probably wait for more responses if you are not going to go with option 1.
cstaley
05-14-2007, 06:29 PM
Option 2 - If you want to keep everything default Iworx way I think the best and cleanest way would be to just backup the account and create a new account and restore that. If this is on its own dedicated IP address then you will have to take the current site down before you create the new one and do the restore.
Maybe there is an easier way, so you should probably wait for more responses if you are not going to go with option 1.
I tried option 2 and made a new account, but I can not find a way to "Restore" the account because it says the backup is empty (since it's a new account).
Any ideas?
Justec
05-14-2007, 06:32 PM
You would need to make a backup of the current account first.
You could then move the file into the new websites iworx-backup folder (fastest way) or you could download it and then do a restore from local file and browse for wherever you downloaded it on your computer.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.