First off, apologies, I though you had a private address on your server, oops.
/etc/network/interfaces should contain this line (or something like it, if it says dhcp change it to static and add the rest) leave the lo stuff at the top alone
cat /etc/hostname
Code:
auto eth0
iface eth0 inet static
address 213.123.183.61
netmask 255.255.255.252
gateway (not sure what this should be, if it's already set cool if not route should show a line default 213.123.183.xxx use that number inplace of this comment)
broadcast 213.123.183.63
network 213.123.183.60
cat /etc/hosts
Code:
127.0.0.1 localhost
127.0.1.1 kmiles.co.uk
213.123.183.61 kmiles.co.uk
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
cat /etc/hostname
Reboot and let me know how it goes.
When you start apache it shouldn't complain about the hostname eg.
apache2: Could not reliably determine the server's f...
Bookmarks