creating subdomains using PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Mr. Tech
Forum Contributor
Posts: 205
Joined: Tue Feb 11, 2003 4:18 pm
Location: Australia

creating subdomains using PHP

Post by Mr. Tech »

Is it possible to create a subdomain using php? Even if it just uses a frame or something...

Anyone know of some code or a script?

Thanks
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Domains and sub domains aren't really a php thing. However, the creation of a sub domain can be controlled by a php script. Once you understand the process of how the sub domain is created, script that process in PHP.

Cheers,
BDKR
Mr. Tech
Forum Contributor
Posts: 205
Joined: Tue Feb 11, 2003 4:18 pm
Location: Australia

Post by Mr. Tech »

I've worked it out.

You need a wildcard DNS to do it.
Post Reply