I was wondering, given a bunch of base domains, Apache of course can have as many subdomains as you want. No problem. Simply add more and more vhosts.
So given a web form and a simply box, and some code why not store the subdomains in MySQL? Then the code can generate a new httpd.conf file when a new sub-domain is added.
The database idea could be used for redirected sites where Apache does simple redirects to another IP address.
so fields I can think of include the subdomain, domain, and IP
managing subdomains
Moderator: General Moderators
managing subdomains
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
-
Peter Kelly
- Forum Contributor
- Posts: 143
- Joined: Fri Jan 14, 2011 5:33 pm
- Location: England
- Contact:
Re: managing subdomains
I'm no wizz on this stuff but surely there is more to a subdomain than just adding it to httpd.conf?
Re: managing subdomains
I was thinking I should also feed it to BIND so that it will findable on the internet.
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP