Forum Moderators: phranque

Message Too Old, No Replies

dynamic subdomain

         

hedon

8:36 am on Jul 4, 2006 (gmt 0)

10+ Year Member



Hi there! Is it posible to create a dynamic subdomain only with mod_rerwite / .htaccess? If so, can you please tell me how? If it was written before here, please just give me a link.

What I want to do is take anysubdomain like: [whateverImaythink.domain.com...] to go to [domain.com....]

Anything I found didn't work and because I donno too many things about htaccess, I'm asking you. Thanks for an eventual answer.

jdMorgan

4:45 pm on Jul 4, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



> What I want to do is take anysubdomain like: [whateverImaythink.domain.com...] to go to [domain.com...]

This is the default behaviour, assuming that:
A) you have defined 'wild-card DNS' in your DNS zone file
B) your server is configured (in httpd.conf) to point all subdomains to the same filepath.

The site search link at the top of this (and every page) may prove useful.

Jim