Question
December 7, 2007 at 12:03 PM
dhuffine

Understanding Localhost.localdomain

by dhuffine . Updated 18 years, 9 months ago

Ok, I’ve spent the last 2 days skimming through web page after web page after web page. Trying to get a better understanding of how this localhost.localdomain work.

Here’s my objective>

I am trying to setup a DNS entry in my Windows 2003 Server, for my Linux OS. I’ve given up on trying to figure out how to join the Linux to the actual domain because I don’t understand Samba and every walk through I have looked at has not been very helpful.

So I want to be able to ping lws from a windows command prompt and it return successfully.

Currently in my hosts file is:

127.0.0.1 localhost.localdomain localhost

Currently in my network file is:

NETWORKING=yes
GATEWAY= 1.1.1.250 (real ip’s are hidden)
HOSTNAME=lws

I am setting up an Intranet Web server and I want the address to be http://lws.los.net/index.html

Right now all I can do is http://1.1.1.144/index.html and it comes up just fine

So how do I figure my host file, and network file, so that my FQDN comes up as lws.los.net
or com or whatever, and so that I can put in a DNS entry on my DNS server so that when I ping lws or lws.los.net(com) it will connect?

This discussion is locked

All Comments