Click to See Complete Forum and Search --> : Add IP and does not work until restart?


beley
09-17-2003, 10:18 AM
I am in the process of moving sites from an old Windows NT web server to a new RedHat 8 web server running Apache. The server has been up and running fine but I am having a problem moving the sites over. The sites have to be moved one at a time because I have to coordinate with the people who update the sites, etc.

Anyway, below is the process of what I am doing. My problem is that when I add the new IP and setup the account it doesn't work until I restart the new server. I was wondering if this is normal or if there was a way to get the new IP to recognise on the new server without restarting.

Unassign IP from domain in IIS and remove IP from the Win NT Machine
Reboot win NT machine
Added IP address to Linux machine & rebuilt ip pool - shows ip free
Added account using WebHost manager with new IP

The site is not pulling up and the ip is not resolving to the new server until I restart. I know it's not the old server because I restart it every time (have to- windows :( ) Anyway, any advice would be appreciated...

Fryguy8
09-17-2003, 10:37 AM
not quite sure I understand 100% what you are saying, but from what I gather you are doing something like adding virtual hosts to the httpd.conf file (or editing that file in a similar way?)

Making changes to the httpd.conf file will not take place until apache is restarted. Depending on the distro (not overly familiar with redhat)

/etc/init.d/apache restart should do what you are looking for.

If I'm totally misreading your post I apologize.

beley
09-17-2003, 11:24 AM
Yes, I'm adding an entry to httpd.conf but also adding an ip address and a user account at the same time. I have tried restarting Bind and Apache but still cannot access the new site until I restart the server... any ideas?