Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Addon/Subdomain skeleton files

Discussion in 'General Discussion' started by inteldigital, Apr 5, 2018.

  1. inteldigital

    inteldigital Active Member

    Joined:
    Apr 5, 2018
    Messages:
    39
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    I resell quite a few domain names. I've tried to figure this out, but cannot. Is there a way I can automatically provision skeleton files for addon domains/subdomains.

    For example, I'd like to create a landing page for domains for sale, if I addon a domain - the skeleton files would be provisioned to include this landing page, so anyone visiting the domain would see it. I understand that a new cPanel account is provisioned this way, however, I don't intend to create a new cPanel account for each domain, this would be ridiculous.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    222
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @inteldigital

    I believe what you're looking for is the Web Template Editor. You can create placeholder pages for domains which have no site created.

    Our documentation on this can be found here:

    Web Template Editor

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. inteldigital

    inteldigital Active Member

    Joined:
    Apr 5, 2018
    Messages:
    39
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    England
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi Lauren,

    I'm not sure. For example, when I addon a domain into my account, if I go to it (with no files in the directory) it shows the directory listing ie.
    /
    /cgi-bin

    and I can click into the directories. How do I make this stop and show a 404 page or some sort of default page?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    222
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    If you attempt to use the skeleton directory for this does the same behavior continue? This is noted in the Web Template Editor documentation -

    Skeleton Directory - Version 68 Documentation - cPanel Documentation

    Thank you,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    408
    Likes Received:
    20
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    I was tempted to start a new thread on this, but I found this one and figured maybe start here....

    This Feature Request has been sitting for 5 years - skeleton directory for addon and sub domains

    I simply want my custom skel files from /root/cpanel3-skel (I have a set including custom index.html , blank robots.txt , generic favicons, and my custom 400.shtml thru 500.shtml files) to be automatically populated into any Addon Domains that user's create, just like it does for the public_html when I create a new hosting account. Will this ever become possible cPanel?
     
  6. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    222
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Metro2

    Right now it looks like there isn't much movement on this. For the feature request, the best advice I can give you would be to vote on it and become a part of the discussion. The more interest there is in a request the more it's on our radar.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    408
    Likes Received:
    20
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Thank you @cPanelLauren , and I did add my vote / joined the discussion at skeleton directory for addon and sub domains before posting here. Hoping to gain some momentum from other members of the community who need this feature as much as the 18 of us who have voted for it so far.
     
  8. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,137
    Likes Received:
    222
    Trophy Points:
    173
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Metro2

    Metro2 Well-Known Member

    Joined:
    May 24, 2006
    Messages:
    408
    Likes Received:
    20
    Trophy Points:
    168
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    Thank you. And yes I have read through those docs several times, including the required Guide to Standardized Hooks - Hook Action Code - Developer Documentation - cPanel Documentation section, and it's just not straight-forward enough for me. If it were easy and straight-forward enough for some of us, there wouldn't be a 5 year old feature request still active for it ;-)

    Many thanks for your replies!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice