hikaro

Well-Known Member
Nov 22, 2005
99
0
166
my datacenter is giving me new ip address for replace my old ips, is there any way to change the ip of my clients site without make it down ?
because i just tested on 1 website, and after the changed i was disable to open their site again (come cpanel default page) because my dns not resolve yet.
if anyone here has experience about it please do share with me, i need to change it soon.

thank you
 

krava

Well-Known Member
Sep 23, 2003
149
0
166
cPanel Access Level
Root Administrator
Hello.

No, it isn't possible to do. The domains won't be accessible for some visitors within a few hours.
 

brianoz

Well-Known Member
Mar 13, 2004
1,146
7
168
Melbourne, Australia
cPanel Access Level
Root Administrator
Yes, you need to edit /etc/httpd/conf/httpd.conf by hand and add the old IP in next to the new IPin the VirtualHost line for the site, then both will work. After the DNS change has fully propagated you can then re-edit the file remove the extra IP from the VirtualHost line.

ie:
HTML:
<VirtualHost 111.222.333.444>
becomes:
HTML:
<VirtualHost 111.222.333.444 111.22.33.44>
After you do the change, do a "service httpd restart"