dynamic creation of subdomains

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
shaki
Forum Newbie
Posts: 2
Joined: Tue Jul 17, 2007 4:38 am

dynamic creation of subdomains

Post by shaki »

We have one of our web applications developed in .php

What do you suggest to use with .php so we can create subdomains on the fly, check if desired name of subdomain is available, etc.

Thank you for any suggestion.
kaYak
Forum Commoner
Posts: 65
Joined: Mon Feb 02, 2004 2:43 pm
Location: USA

Post by kaYak »

This blog post may be of some use, except probably not to use the redirect option:

http://photomatt.net/2003/10/10/wildcar ... b-domains/
shaki
Forum Newbie
Posts: 2
Joined: Tue Jul 17, 2007 4:38 am

Post by shaki »

kaYak wrote:This blog post may be of some use, except probably not to use the redirect option:

http://photomatt.net/2003/10/10/wildcar ... b-domains/
thanks for your 2 cents ;)

We did enable wildcard subdomains on our server. I was hopping to hear from somebody who had an experience with dynamic creation of subdomains and possibly sample of working script.
kaYak
Forum Commoner
Posts: 65
Joined: Mon Feb 02, 2004 2:43 pm
Location: USA

Post by kaYak »

I just setup the site I'm working on now so that users can have a subdomain for their dynamically created website. mod_rewrite in the public_html directory responds if the host name is not www and it sends the subdomain requested and the filename requested to a php script.
Post Reply