Server Fault is a question and answer site for system and network administrators. 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'm a bit of a server-newb here. I have a LAMP/Apache server in my home running Ubuntu Server OS, which I use for personal and small-scale projects. When I want to access the site on the server from another computer, I must go to 65.206.[---].[---]/FolderOnServer/index.php. How can I register the IP of my server to have an actual name, so that I can go to, for example, Is there any free way to do this? If not, are there any recommendations for good services that can do this?

share|improve this question

migrated from Aug 7 '11 at 4:29

This question came from our site for professional and enthusiast programmers.

That is not a programming question! Google for "domain name registration" and you will find many ads for business that will register domain names for you. It costs money, but not very much. – Henning Makholm Aug 7 '11 at 3:30
It's hard to tell if he's asking if there is a way to do this on his local machine, or if he's asking for a tutorial on how to register a domain name. – puk Nov 8 '11 at 0:27

As for free domain registration options, you might check out the following:


These are just a few, some with a mix of free and paid services.

share|improve this answer

You have to use a domain register to have DNS work from anywhere. This also requires your computer to have a static IP.

However if your concern is only to have your local machine or other machines you work access the site you can modify the 'hosts' file in your system. In Linux the file is located typically in /etch/hosts in Windows it varies but this is a good article on both its location and fixing it if necessary:

A typical hosts entery looks something like: mydomainname.local

By using this file you can change the lookup of anything on the local machine.

share|improve this answer

You go to a domain registrar, pick a name that's not used, pay your few bucks to register it (it's probably worth also paying them for DNS service, as you're clearly in no position to handle that yourself), then point the necessary names at your IP address. Don't forget to configure your webserver to handle the domain name you use, otherwise it won't work (see ).

share|improve this answer

Your Answer


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