-3

I'm trying to set up a basic server that can be accessed on the WWW via a domain name. Using Ubuntu 12LTS Server and am stuck on Step 7 of this tutorial : The Perfect Server - Ubuntu 12.04 LTS | HowtoForge

Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100 and the DNS servers 8.8.8.8 and 8.8.4.4

I've also read the manual entry on this, but I'm still confused. What are "my needs"? How did this author get those IP addresses? Should I just use those exact ones on my machine?

Thanks.

Adam Grant
  • 95
  • 5

2 Answers2

3

You need a static ip from your provider. If you have a consumer connection you probably only have a dynamic ip.

If you don't have a static ip for your internet connection you might want to take a look into DynDNS.

Christopher Perrin
  • 4,811
  • 19
  • 33
0

If the server is connected to your home network, in the most cases you want to choose DHCP.

Your local router will assign a free IP to your server and also provides informations about DNS servers.

If there is no DHCP, you could choose a free IP address within your local network and assign this one to the server.

Anyway, you should learn more about IP addresses an networking first. Just ask google about these terms.

Thomas Berger
  • 1,700
  • 13
  • 22