Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

3 Answers

up vote 1 down vote accepted

One method is to use the NameVirtualHost directive.

There is a howto here : http://www.debian-administration.org/articles/412.

share|improve this answer
add comment

This article should help you.

share|improve this answer
1  
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. –  Stephen Myall Aug 17 '12 at 19:55
add comment

I think you're looking for Virtual host. Check out http://httpd.apache.org/docs/2.2/vhosts/ or search for a how to article.

share|improve this answer
add comment

Your Answer

 
discard

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.