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 read somewhere that a linode can be set up without a domain pointing to it, but I was unsure of how to tackle that. I noticed in the getting started guide it has an entry about updating your /etc/hosts file, and when reading about setting up a LAMP stack it also mentions configuring the virtual hosts with a domain. How can I set these up without pointing a domain at the linode?

Linode is running Ubuntu 10.04

share|improve this question
up vote 1 down vote accepted

Those are not really domains, they are just strings that Apache matches against the Host header of the HTTP request. A domain pointing to your IP is merely one way for that to happen. You could add a line to your hosts file saying where is your linode IP and then pointing your browser to that domain will work for you. It won't work for anyone else of course. Or you can just directly set that header, for example curl -H 'Host:'

share|improve this answer

You can just set ANY domain to those places, without having to really point the domain to your linode.

So, it's okay to set to your linode in any way, that's just a sort of "name" :)

share|improve this answer

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.