The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Anyone know of a way to create subdomains in PHP?
Or combine PHP with some other language to create subdomains... Any help is appriciated. |
|
#2
|
||||
|
||||
|
I'd say that has something to do with how your server is set up...
|
|
#3
|
|||
|
|||
|
Quote:
lol.If your trying to do what i think your trying to do? Which is user.yourdomain.com or something else that dynamic you can use: mod_rewrite function and a little bit of editing on your zones is needed. Otherwise use the control panel you have. |
|
#4
|
||||
|
||||
|
PHP can't do this, it's entirely server-side
You need to use a combination of wildcard DNS and mod_rewrite to accomplish user-subdomains
|
|
#5
|
||||
|
||||
|
it is possible... i just dont have the slightest clue how :P
|
|
#6
|
|||
|
|||
|
Quote:
|
|
#7
|
||||
|
||||
|
You didn't mention wildcard DNS
|
|
#8
|
|||
|
|||
|
Wildcart DNS is when anything.mydomain.com will get me to the main page right?
Is that how lets say deviantart.com did it? |
|
#9
|
||||
|
||||
|
Yep that's how they did it, you'll need to contact your host about that as I don't believe you can control it through your control panel
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|