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 am working on a site which can have user portfolios.

The url we want to use is

We want to give users to be able to purchase a domain name from us (we can integrate our system with domain reselling api).

My question is, how we can map the user domains like to our site

Thanks, Ankur

share|improve this question

Do you have separate Apache virtual hosts for each I assume yes.

You can edit the virtual host configuration file, e.g., and add:


And of course add a DNS A record.

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.