Page 1 of 1

How to create subdomains with PHP code????? Plz help.

Posted: Tue Jun 25, 2002 11:19 am
by ashzepp
Hi everybody,
Can anyone tell me how to create a subdomain on the server on the fly with PHP code. I doubt it's possible or not. But in the past I've been allways wrong when doubting capablities of PHP. So if u have a solution or suggestion please respond. Your help is really really appreciated.
Regards
Ashzepp

Posted: Tue Jun 25, 2002 11:24 am
by protokol
Creating a sub-domain is a process that is done by editing your server's configuration file. Depending on what server is used, this can be done quite differently.

If you use Apache, visit http://www.cfdev.com/apache/virtualhosts.cfm to learn how to edit httpd.conf to do what you want.

Posted: Sun Jun 30, 2002 10:49 pm
by FireyIce01
How about subdomains with IIS? 8)