PDA

View Full Version : Server Ip address Ubuntu...Newbie


navop
26th January 2008, 09:41
K followed the following to setup LAMP server

http://www.howtoforge.com/ubuntu_debian_lamp_server

Also installed phpmyadmin, webmin, both work great but my problem is

when i try to access the server i need to enter the ip address not the name

hostname = server1.navop.ca ---> IP = 192.168.23.200

So if i want to log into webmin i need to use the following

https://192.168.23.200:10000 I want to be able to do it using the hostname

my hosts is as follows

127.0.0.1 localhost.localdomain localhost
192.168.23.200 server1.navop.ca server1

# 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


Thanks

topdog
26th January 2008, 11:01
If accessing the server from itself then that will work, if you are accessing from a different machine that machine needs to be configured as well to resolve the name.

navop
26th January 2008, 16:42
I'm trying to access this site from another computer running Windows XP sp 2.

someone told me to look for hosts, under windows and configure it.

Looked for it and never found the file.

Thanks.

navop
26th January 2008, 16:48
Found the host file in windows/system32/driver/etc, did the changes and it worked.