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

I am working on a small project in which people create an account and they are given a sub-domain like username.mydomain.com

However, while this address is shown in the address bar of the browser, the page actually exists at something like mydomain.com/?profile=12345.

This would all be automatic.

Is this possible with a standard Bluehost account running cPanel?

share|improve this question

2 Answers 2

Here is part of their helpdesk articles:

Yes! Bluehost does support the creation of Wildcard DNS/Subdomains. You are welcome to create these from your cPanel -> Domains -> Subdomains section. https://my.bluehost.com/cgi/help/527

And for subbdomains: https://my.bluehost.com/cgi/help/search?sort=&search=addon&x=0&y=0&search_all=1&search_kb=1&search_video=1&search_started=1

share|improve this answer

It can be done using Apache URL rewriting (something similar was asked about here: http://stackoverflow.com/questions/49500/apache-rewrite-based-on-subdomain).

share|improve this answer
    
I don't believe most hosts allow users to set up wildcard subdomains. –  Lèse majesté Dec 19 '11 at 23:07

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.