PDA

View Full Version : Moving my server


phenner
17th February 2009, 22:55
Hey,

I have an Ubuntu 8.10 server with Apache2 and ISPConfig2.
I am currently running it from a residential address with a dynamic IP and this has become a problem, so I am moving to a business address with a static IP. However, I forsee some problems with a change in local IP. I have tried changing it through my router here at home and it went absolutely wild, with Apache not working at all. Have you got any ideas as to what will need changing when I move the server?

Thanks,

Rich

till
18th February 2009, 10:40
You have to change the IP in /etc/network/interfaces and the server settings in ispconfig. Then open the settings of every website in ispconfig, select the correct IP and click on save. You have to save the site even if the correct IP shows up already in the settings!

phenner
18th February 2009, 12:31
Thanks for the help Till.
Is it a problem if the contents of /etc/network/interfaces is:

auto lo
iface lo inet loopback

Thanks,

Rich

falko
18th February 2009, 21:41
There should also be some other NIC in your interfaces file, e.g. eth0.

phenner
18th February 2009, 23:21
That is all that is in the interfaces file.
What should be there? Can anyone give me an example?
When I was making the server, I tried to add an eth0 part, but the server went wild and wouldn't connect to the network.

Any ideas?

Thanks,

Rich

till
18th February 2009, 23:27
Take a look at the perfect setup guide, examples are in the tutorial.