dynamic subdomains

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm not sure if this is possible or not (new to apache).

Anyway, I would like my new users to have their own sub-domain.

Bob would get:  http://bob.example.com

However, I would like "bob" to map to:  http://example.com/users/bob

So, http://bob.example.com would actually point to http://example.com /

Is this possible with .htaccess?  What do I need to ask from my host?

Thanks for any help!


Re: dynamic subdomains

Quoted text here. Click to load it

With mod_rewrite, yes. I am quite sure this example is in the mod_rewrite

John    Need help with SEO? Get started with a SEO report of your site:

    --> http://johnbokma.com/websitedesign/seo-expert-help.html

Site Timeline