Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

host name

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


    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