dkz

Well-Known Member
Sep 10, 2004
100
0
166
Hello,

This is not really related to a problem with cPanel/WHM but a custom script that I am working on. I need to manually be able to add subdomains but I don't know what entries need to be made and where. Obviously I need to add something to the httpd config and the named config but what else. Also, I would like to use an Include line so the entries can be seprate. I know the httpd config accepts that but does the named config accept that?

Thanks for any help!
 

fwwebs

Well-Known Member
Feb 16, 2004
328
0
166
If the subdomains are going to be of the same directory structure and so forth, as a cPanel created subdomain, consider writing your script to use cPanel to add the subdomain.
 

dkz

Well-Known Member
Sep 10, 2004
100
0
166
They are going to be in the same directory structure but I have no idea where to start. Where is the script that creates the subdomains (/scripts/ or is it encrypted?) Thanks for the help!