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

The company I work for is close to being finished with our first web app and we recently made the decision to offer hosting for our smaller customers. (We provide software to lending companies and our larger customers are required to buy redundant servers to host their application). What we are trying to work out right now is how to create user generated subdomains that will hold a new instance of the software.

So a user will be able to sign up and say that the company name is XYZ Credit once they click on the create account button a url of xyzcredit.ourcompanyname.com is created and the user is redirected to it.

The servers that we want to use are running CentOS 5.5 and Virtualmin 3.83.

Thank you for your help, Nick

share|improve this question

migrated from webapps.stackexchange.com Feb 10 '11 at 5:22

This question came from our site for power users of web applications.

Take a look at Matt Mullenweg's suggested way of doing this: http://ma.tt/2003/10/wildcard-dns-and-sub-domains/

share|improve this answer

Your Answer


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