That went completely over my head
wow, you're going to have to dumb that down a bit.
I'm only 4 weeks in using linux.
I'm pretty sure I don't have an Internal DNS.
I've edited my hosts file /etc/hosts to contain:
127.0.0.1 myLinux localhosst.localdomain localhost myLinux
I've run the hostname command in the terminal:
hostname myLinux
I've edited /etc/sysconfig/network to contain:
NETWORKING=yes
HOSTMANE=myLinux
DHCP_HOSTNAME=myLinux
I've set it in terminal by typing:
echo myLinux > /proc/sys/kernel/hostname
If I open a web page in Linux and type the URL:
http://myLinux
I get my test page.
However, if I try to access it from another computer on my LAN (a windows box) by typing in the URL:
http://myLinux
Nothing.
I still can only get to it by IP address.
Help!
Re: That went completely over my head
Quote:
Originally Posted by jrmsmo
However, if I try to access it from another computer on my LAN (a windows box) by typing in the URL:
http://myLinux
That will never work because the Windows box doesn't know what myLinux is. You have to add an entry to C:\Windows\hosts (note that it has no extension), if you don't have this file create it.
Re: That went completely over my head
Quote:
Originally Posted by jrmsmo
wow, you're going to have to dumb that down a bit.
I'm only 4 weeks in using linux.
I'm pretty sure I don't have an Internal DNS.
I've edited my hosts file /etc/hosts to contain:
127.0.0.1 myLinux localhosst.localdomain localhost myLinux
I've run the hostname command in the terminal:
hostname myLinux
I've edited /etc/sysconfig/network to contain:
NETWORKING=yes
HOSTMANE=myLinux
DHCP_HOSTNAME=myLinux
I've set it in terminal by typing:
echo myLinux > /proc/sys/kernel/hostname
If I open a web page in Linux and type the URL:
http://myLinux
I get my test page.
However, if I try to access it from another computer on my LAN (a windows box) by typing in the URL:
http://myLinux
Nothing.
I still can only get to it by IP address.
Help!
If you get your test page it is working
You need to put your website in place of the test page
I need to know what distro to tell you exactly where it is?
check your pm
Thanks - this was a great mini HOWTO
Thanks jrmso, I used your procedures and got this working in my corporate environment as well. I appreciate you going back and posting your solution.