Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set up an Ubuntu 10.04 LAMP server. I am going to set up multiple domains so that they will point to this server's IP. How to configure the server so, that it will serve a specific site (placed in a specific folder) according to a domain name which was used in the request?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

use name-based virtual hosts, http://httpd.apache.org/docs/2.2/vhosts/name-based.html

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.