Results 1 to 3 of 3

Thread: PuTTY and hostname

  1. #1
    Join Date
    Mar 2006
    Location
    Dallas, TX
    Beans
    367
    Distro
    Ubuntu 12.10 Quantal Quetzal

    PuTTY and hostname

    Hello all, I have a question.. I recently installed and configured and Ubuntu Server to run LAMP. I want to be able to log on to the server using PuTTY. However...I have to type the IP address to access it instead of the host name...is there a way to configure it so I can access it jut by typing the name of the server? Any advice will be appreciated.

    Thanks
    Hello..my name is Nono
    Linux User #415998

  2. #2
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: PuTTY and hostname

    You need some way for your client to resolve the name to an IP. If you have your own DNS server, you can put a record in there. Otherwise, you can make an entry in the hosts file of the client to point it to the machine:

    Code:
    192.168.blah.blah    my_servers_name
    Hosts file on Windows is c:\windows\system32\drivers\etc\hosts

  3. #3
    Join Date
    Mar 2006
    Location
    Dallas, TX
    Beans
    367
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Smile Re: PuTTY and hostname

    Great it worked. Thanks for the advice.
    Hello..my name is Nono
    Linux User #415998

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •