The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Manually Add Subdomain

Discussion in 'General Discussion' started by dkz, Oct 9, 2005.

  1. dkz

    dkz Well-Known Member

    Joined:
    Sep 10, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    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.
     
  3. dkz

    dkz Well-Known Member

    Joined:
    Sep 10, 2004
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    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!
     
Loading...

Share This Page