Most of the SaaS companies, some social networking, and blog services (like Wordpress.com and blogger) create a personalized sub-domain for each user, e.g. username.website.com

What is the general practice for doing this. Do most of them really create a sub-domain or do they add some kind of URL redirects/routes for achieving this (assume Apache with mod_rewrite support).


1 Answer 1


It's usually just wild card DNS along with server side programming that checks the hostname.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.