This is a discussion on Changing IP within the Linux Networking forums, part of the Linux Forums category; Hi All, I run a webserver with about 15 websites. I need to change my IP address. This is not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi All,
I run a webserver with about 15 websites. I need to change my IP address. This is not my internal IP (192.x.x.x). But the external address. That address is programmed into my router, which has port forwarding........ So, my question is: Do I need to change anything at all on my server? Or just update the domains with the new IP on a A record......... I am running Red Hat 9.0 Thanks, Arthur |
|
|||
|
amerar@iwc.net wrote:
> Hi All, > > I run a webserver with about 15 websites. I need to change my IP > address. This is not my internal IP (192.x.x.x). But the external > address. > > That address is programmed into my router, which has port > forwarding........ > > So, my question is: Do I need to change anything at all on my server? > Or just update the domains with the new IP on a A record......... > > I am running Red Hat 9.0 To give any meaningful responses, please provide some information on your setup. 1. Why the need to change? 2. How is the current IP address set up: - static, - dynamic (DHCP)? 3. How are name services handled (e.g. bought from a service company)? -- Tauno Voipio tauno voipio (at) iki fi |
|
|||
|
On 24 Nov 2005 18:25:31 -0800, amerar@iwc.net <amerar@iwc.net> wrote:
> I run a webserver with about 15 websites. I need to change my IP > address. This is not my internal IP (192.x.x.x). But the external > address. > > That address is programmed into my router, which has port > forwarding........ > > So, my question is: Do I need to change anything at all on my server? > Or just update the domains with the new IP on a A record......... > > I am running Red Hat 9.0 It depends whether your apache is properly configured to operate regardless of IP (so it does not matter if it changes). I have multiple virtual hosts that work fine by name on dynamic public IP (either on internet or behind a NAT router) using no-ip.com dynamic DNS. I use wildcard "NameVirtualHost *" and <VirtualHost *> entries along with UseCanonicalName off. I had some trouble if the main ServerName matched one of the vhosts, so I set main ServerName to a bogus name. Any Host header that matches a vhost goes to that vhost, while other or missing Host go to default worm catcher (first vhost with no ServerName). |