Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 thinking of running a self-site builder. But was wondering how would I allow customers to use their own domains that they already own.

Is that even possible?

Let's say my site is www.bestsitebuildingwebsite.com and each customer has urls like this

www.bestsitebuildingwebsite.com/frances www.bestsitebuildingwebsite.com/eden www.bestsitebuildingwebsite.com/john

And a customer has a domain called widgets.com

Is it actually possible domain widgets.com to go to my site somehow and have HASHES on the URL still work (my site makes use of hashes for AJAX queries). And their site still have good SEO with Google?

Thanks Scott

share|improve this question

migrated from superuser.com Mar 14 '11 at 7:41

This question came from our site for computer enthusiasts and power users.

It is possible, but your customers would have to update their DNS records.

This is how it works -

  1. Point widgets.com to your IP Address
  2. Modify your code to infer the customer from the host name
  3. AJAX code should post to widgets.com and not to www.bestsitebuildingwebsite.com. Since they are both the same servers, it shouldn't be a problem.
  4. If you set any cookies on www.bestsitebuildingwebsite.com, they will not be available on widgets.com. You will need some kind of federated authentication to solve that problem.
share|improve this answer
This is a great start! I'll do more research into this. If anyone else have more info or have done this before, please let me know. – Scott Yu - Front-End UX Mar 14 '11 at 20:43

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.