Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.