![]() |
Subdomains & PHP ?
Anyone know of a way to create subdomains in PHP?
Or combine PHP with some other language to create subdomains... Any help is appriciated. |
I'd say that has something to do with how your server is set up...
|
Quote:
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. |
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
|
it is possible... i just dont have the slightest clue how :P
|
Quote:
|
You didn't mention wildcard DNS ;)
|
Wildcart DNS is when anything.mydomain.com will get me to the main page right?
Is that how lets say deviantart.com did it? |
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 :)
|
All times are GMT. The time now is 04:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|