Web Hosting Talk







View Full Version : Changing IP


ABW
06-11-2001, 04:09 PM
Hi,

I use a dedicated server with whm (at burstnet) to host a few of my sites.
Today one of the 5 IP that were assigned to me stopped working. I already sent a message to burstnet tech support.

But now I want to change the IP assigned to "mydomainname.com" (which isn't working) to another free IP that is working to have my site working asap.

What do I need to edit ? httpd.conf ? anything else ?

Thanks for your help.

teck
06-11-2001, 04:21 PM
That's going to be tough I think. When I had my RaQ3, that was a simple process. I'm not sure how to do it as far as a CP/WHM box goes. I assume you are correct that you have to do it by editing some files in httpd.conf.

Planet Z
06-11-2001, 04:40 PM
I'm not sure how WHM/Cpanel are setup. But generally changing the IP has very little to do with httpd.conf. You'd first need to change the IP of the domain in the nameserver (named.conf, usually). Then you may have to change the IP in httpd.conf if you're using a NameVirtualHost directive for that IP.

Mivo
06-11-2001, 05:46 PM
One way is to make a backup of that site's data then delete the site (terminate) and then recreate it with the new IP and then restore your backup. I'm sure you will get back the www docs intact but I'm not to sure with the e-mail accounts and installed scripts if there are any.

CRego3D
06-11-2001, 08:56 PM
on a cpanel machine

edit

/usr/local/apache/conf/httpd.conf

/etc/proftpd.conf

/etc/domainips

/var/named/domain.db (domain.db=actual domain)

and that's it :)

ABW
06-13-2001, 07:27 AM
Thank you Carlos, it works perfectly now :)

kaz
06-13-2001, 07:31 AM
CRego3D , what does those command do?

do we need to backup the site?
I am new to this. I want to learn as i be using cpanel/whm soon.