Web Hosting Talk







View Full Version : changing ip adresses in virtual sites


dico
11-09-2002, 10:38 AM
Hi There,

I have some 80 sites hosted on my Raq4r under the same IP address. I now have to change this as I am getting a new IP.... rather then go to each individual site and change the IP from the GUI, is there a faster way I can do this so that it will change all 80 at once?

Thanks

-dr

cbtrussell
11-09-2002, 11:09 AM
If the old IP is the MAIN SITE IP, they will change automatically when you change the main site IP. If they are a different IP than the main site IP, you'll need to do it manually through the GUI.

If you run your own DNS, you can edit the /etc/named/records file directly with a search and replace to change it (be sure to back it up first), then save changes in the GUI to reload... so that will save you a little time... but you're stuck doing it the long way as far as the actual virtual sites go.

Good luck,

Brandon

dico
11-09-2002, 11:12 AM
Thank you...

Luckily most of the sites use the main IP address of the machine!

-dr