I operate a webserver and have had many conflicting configurations of my /etc/hosts on Ubuntu Server 8.04. My current /etc/hosts file is found below. The 10.1.10.XXX is for internal. I am hoping that I can gain some insight why I cannot view my domain from inside my own network. Now, who wants to share their hosts!
Code:127.0.0.1 localhost 127.0.1.1 "insert hostname here" 10.1.10.XXX buckycomputing.net
/etc/hosts is a local file, meaning that only the machine that has that specific file will resolve names to those IPs.
Also, if you want to add an alias (an additional name for an ip), you can just space separate them on the same line - e.g.:
hope this helps!Code:127.0.0.1 localhost hostname 10.1.10.XXX buckycomputing.net
Last edited by countach44; 05-12-2009 at 07:13 PM. Reason: cleaning up parens
63,000 bugs in the code, 63,000 bugs,
ya get 1 whacked with a service pack,
now there's 63,005 bugs in the code!!
Bookmarks