How do you create subdomains using PHP?
Posted by lampinterview on May 7, 2008
–> Create the appropriate web root directory,
for example /home/sites/username/web, and any subdirectories you wish
–> Edit httpd.conf - add a new virtual host section
–> Restart httpd
In a normal Linux server setup, php/Apache does not have the necessary permissions to do all this.
Posted in Apache | Tagged: PHP, subdomains | No Comments »


