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'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 jonhdoe.com, xyz.org. 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

2 Answers 2

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 johndoe.somethingselse.com - that way all traffic goes to somethingelse.com 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: http://it.dennyhalim.com/2009/11/park-and-monetize-idle-domains.html

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

share|improve this answer

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.