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

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'm developing a website where users will be able to aggregate their RSS feeds and create custom pages. I want to give each user separate domain name like, I'll be keeping files on single server in one web application (I don't want to replace all the api for all users).

Now the question: How can I make multiple domain names point to single web site?

share|improve this question
up vote 5 down vote accepted

It's easy, if you just create DNS entries for each domain to point to the same server VIP/IP then the request will go there - how you then deal with these differing domain requests comes down to what web-server combo you're using and any router/load-balancer configs you choose to create but it all starts with getting DNS right.

That said you could get into a bit of bother if you have LOTS of users as you'll need to buy (if available) all those domains. It might be better to have - that way all traffic goes to and your servers then map the johndoe bit to your functionality - in fact I'd strongly recommend you do this.

share|improve this answer

i'm using custom setup dns server to answer all queries with single same answer which point to single same server:

so, all i need is setup new domain using my dns and all will point to my server.

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.