Hi guys, we've got some software that needs to be able to install domains on our linux servers without using a control panel. It needs to be able to edit the dns files and httpd.config etc. Anyone seen anything like this floating around? I'm sire we aren't the first ones to need such a script.
Thanks, i'll look into that. The only other problem is to edit the httpd.conf and setup the virtual host section. We can't seem to do it through php. perl would probably do it, but my programmer doesn't use perl.
Why don't you do what I do -- have a separate directory for all your individula entries, then just add that entire directory as a wildcard include? Should work as you expect; each time you need to add a domain, just add a file in that directory.
In order to understand recursion, one must first understand recursion.
If you feel like it, you can read my blog
Signal > Noise
We were able to go into our virtual host section in the httpd.config and point all of our domains to a single index file. Our software determines the domains and page to display off of that. Is there a way to do a wildcard dns setup for domains instead of sub domains? Can you wildcard the virtualhost section of the httpd.config?