Jump to content

Archived

This topic is now archived and is closed to further replies.

Demonic

forms & creating subdomains via PHP

Recommended Posts

How is it done like creating a subdomain in PHP?
(and if you ask be specific thats specific as i can be sorry its just straight to the point)

Share this post


Link to post
Share on other sites
That's actually still fairly vague in my opinion.

You should create the subdomains through your server configuration not PHP.  It all depends on what type of control panel you use.  It's more then likely Cpanel.  Just look for "sub domains" and the rest is "straight forward"

Share this post


Link to post
Share on other sites
If you do not use a control pannel then it you will have to update the zone file for the domain and ether the httpd.conf or set a new rewrite rule.

So basicly you will need to study up on the [url=http://us3.php.net/manual/en/ref.filesystem.php]file system functions[/url]

Good Luck,
Tom

Share this post


Link to post
Share on other sites
Are you talking about folders inside of folders like
  Folder 1
    Folder 2

Or are you talking about
  www.site.com
  subdomain.site.com

It's not that easy to get what it is you're looking for.  I know sometimes terminology gets mixed up so I'm just trying to figure out what it is you're attempting to do here.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.