Go Back   CP Web Hosting - reseller hosting > CP Questions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-20-2007, 05:53 AM
Senior Member
 
Join Date: May 2007
Posts: 329
Default How do I get H-Sphere working on two sets of IPs?

How do I get H-Sphere working on two sets of IPs?
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 05:55 AM
Senior Member
 
Join Date: May 2007
Posts: 345
Default

Quote:
Originally Posted by brinks View Post
How do I get H-Sphere working on two sets of IPs?

If you would like to ensure smooth change of IPs and have everything duplicated on the old and new sets of IPs before making the switch, you need to do the following:

On the Web box:

Before the IP migration you need to copy the /hsphere/local/config/httpd/sites directory to /hsphere/local/config/httpd/sites.old to preserve your old client's apache configs.
Go to /hsphere/local/config/httpd/sites.old and edit index.conf changing sites to sites.old (cd /hsphere/local/config/httpd/sites.old; perl -pi -e 's/sites/sites.old/' index.conf)
Copy namevh.conf to namevh.old.conf
Proceed with the IP migration.
Add the following lines at the bottom of the /hsphere/local/config/httpd/httpd.conf file:
Include /hsphere/local/config/httpd/sites.old/index.conf
Include /hsphere/local/config/httpd/namevh.old.conf
On the DNS servers:

Add your old DNS IPs to the /etc/named.conf config to force your DNS servers to listen to the old IPs.
Bind your old IPs to the NIC on your servers.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:41 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0