Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

host name

  • 20-07-2005 11:26AM
    #1
    Registered Users, Registered Users 2 Posts: 2,015 ✭✭✭


    What's the best way to set up an intranet server's host name? i.e. so we don't have http://192.168.1.xxx/ but instead we have http://intranet/

    I know changing the name of the PC in windows does this without the need for a DNS server, how is this done in unix / linux land?


Comments

  • Closed Accounts Posts: 210 ✭✭deimos


    colm_c wrote:
    What's the best way to set up an intranet server's host name? i.e. so we don't have http://192.168.1.xxx/ but instead we have http://intranet/

    I know changing the name of the PC in windows does this without the need for a DNS server, how is this done in unix / linux land?


    Look in your /etc/hosts file... or do a "man hosts" for details


  • Registered Users, Registered Users 2 Posts: 95 ✭✭fractal


    yah.. /etc/hosts will doit but it will need to be edited for every client that needs to see the hostname...

    You're really much better off in the long run to go with setting up a DNS.... You could even put it on the same box as the webserver and it shouldnt put very much load on it at all for a small intranet..


Advertisement