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

My Ubuntu machine is on the network accessible at \\linux-server I have Apache2 installed and if I go to http://linux-server it takes me to /var/www as the root directory.

Is it possible on the same machine to set it up so that http://jisaacks points to /var/www-jisaacks

share|improve this question
up vote 1 down vote accepted

One method is to use the NameVirtualHost directive.

There is a howto here :

share|improve this answer

This article should help you.

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – stephenmyall Aug 17 '12 at 19:55

I think you're looking for Virtual host. Check out or search for a how to article.

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.