Welcome to WebmasterWorld Guest from 54.159.214.250

Forum Moderators: Ocean10000 & incrediBILL & phranque

How to create virtual subdomain on the fly?

variables pass subdomain

   
10:48 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



How can I rewrite rules to create virtual subdomains on the fly that are only used to pass variables to a PHP file?

For instance people access:

steel.suppliers.com

And the servers executes:

[suppliers.com...]

I don't pretend creating actual subdomains. It would only be a shortcut for visitors. There is going to be hundreds or thousands of names, and it's impossible to create subdomains by hand...

Is there a way to do it?
Thanks,

Calande.

9:54 pm on Jun 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi calande,

Please, try using a major SE and this search: creating sub domains Apache site:webmasterworld.com

You should find a number of helpful threads, then if you can't get it to work, you can give us an idea of what you are trying, so we can help you find the right answer... We try not to 'code on demand' because that demand would quickly overwhelm the relatively small number of posters here.

Justin

 

Featured Threads

Hot Threads This Week

Hot Threads This Month