Adding and Changing IPs

3 posts / 0 new
Last post
#1 Mon, 02/15/2010 - 13:50
mrwilder

Adding and Changing IPs

Hello all,

Perhaps I don't even need to do this, so, if I don't, fine.

I have a machine with one IP. I decided to add a second nic and IP and move all the domain and services EXCEPT the DNS to the new nic.

I successfully configured the nic and added the IP. Then I went to Addresses and Networking -> Change IP Addresses. I selected "all servers" and entered the IP I want to change them to.

THEN

When I tried to load the web pages from any of the formerly working domains, I just get an empty directory listing in the browser.

I was able to successfully set the IP back to the old one... but I'm not sure what's up with that. What am I doing wrong?

How can I move the three domains and all the services to the new nic's IP address, and leave only the name server on the old nic? Is it even worth doing?

Thanks.

Tony

Mon, 02/15/2010 - 13:59
andreychek

Hi Tony,

Well, first off, it sounds like you did things correctly. I'm not quite sure what went awry there; it almost sounds like Apache didn't know the IP changed.

Oh, which actually could be the issue... the DNS may have been cached in on the system you were using to test with. That is, although you did change the IP address, if the DNS server you were using on your desktop cached the old IP, that could certainly cause Apache to deliver the wrong website (or, no website as all, as you were seeing).

Do you have a way of testing from a different computer and ISP?

It may just take a day or so for the DNS cache to expire.

As far as whether all that is necessary -- I dunno, probably not :-)

DNS isn't particularly a high bandwidth protocol, so having it on the same IP address as your Virtual Servers probably isn't that big a deal.

-Eric

Mon, 02/15/2010 - 14:39
mrwilder

Okay... well that settles it... one IP for me... hehe...

Thanks

Tony

Topic locked