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'd like to dynamically be able to host client's domains, with just having to provide them instructions like this:

I'm running a pretty typical LAMP stack; any good tutorials for configuring this for Apache, or other server-side configurations I need to be aware of?

share|improve this question
possible duplicate of Dynamic Virtual Hosts In Apache – John Gardeniers May 28 '10 at 5:09

Apache supports virtual host configuration. There is plenty of information on how to set this up available at and Just set this up in Apache with a dedicated IP address, then tell your clients to set their DNS records to point to the IP address in question. Their folder names on the server will need to match their domain name (or other matching criteria per the first link above).

With Tumblr, they likely have a single application running on the specified IP address which determines which site settings to use based on a CGI variable (server_name, usually). If each of your customer sites will be using their own webroot, then the Apache configuration should work for you. If you're hosting an application that they're all using, then you can have Apache listen for all requests on a dedicated IP address and then differentiate them within the application through the CGI variable.

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.