Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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).

share|improve this question

migrated from stackoverflow.com Jan 17 '12 at 14:06

This question came from our site for professional and enthusiast programmers.

1 Answer 1

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.