Server Ip address Ubuntu...Newbie

Discussion in 'Server Operation' started by navop, Jan 26, 2008.

  1. navop

    navop New Member

    K followed the following to setup 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 = ---> IP =

    So if i want to log into webmin i need to use the following I want to be able to do it using the hostname

    my hosts is as follows localhost.localdomain localhost 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

  2. topdog

    topdog Active Member

    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.
  3. navop

    navop New Member

    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.

  4. navop

    navop New Member

    Found the host file in windows/system32/driver/etc, did the changes and it worked.

Share This Page