Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I had it working, but then installed LAMP and a few other things to set up a webserver, now PUTTY only allows connection via IP, which works, and Webmin worked with hostname as well, until now... I checked the hostname on the server

# hostname

This returned the correct name that I gave it in the /etc/hosts file.       localhost    dlna2

Also, now that the MySql and PHPadmin are installed, along with Apache2, how do I make webpages, then get it online ? Do I use DynDNS ?


share|improve this question
Please ask only one question at a time. – jdthood Jan 4 '13 at 20:24

For remote machines to be able to access your Ubuntu machine by name, those remote machines have to be able to look up the name in question in DNS. The DNS nameserver is generally not the Ubuntu machine but some other machine, e.g., your home modem-router-DHCP-DNS-server. Investigate how the latter is configured.

share|improve this answer
hmmmm Ok, will do, but remember, it DID indeed work by name before I installed LAMP, Apache2, etc.... – MikeM24 Jan 4 '13 at 22:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.