Skip to main content

Addon/Subdomain skeleton files

Comments

10 comments

  • cPanelLauren
    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:
    0
  • inteldigital
    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?
    0
  • cPanelLauren
    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 - [QUOTE]You can also place files in the skeleton directory to load a default page for new accounts. For more information, read our Skeleton Directory documentation.
    Skeleton Directory - Version 68 Documentation - cPanel Documentation Thank you,
    0
  • Metro2
    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?
    0
  • cPanelLauren
    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!
    0
  • Metro2
    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!

    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.
    0
  • cPanelLauren
    HI @Metro2 I'm glad to hear that. Someone else brought up a great idea as well today. The use of post addon domain creation hooks to achieve this in the meantime. I'm going to work on getting a walkthrough to doing this created but you're more than welcome to check out our documentation on it as well: Guide to Standardized Hooks - Developer Documentation - cPanel Documentation
    0
  • Metro2
    HI @Metro2 I'm glad to hear that. Someone else brought up a great idea as well today. The use of post addon domain creation hooks to achieve this in the meantime. I'm going to work on getting a walkthrough to doing this created but you're more than welcome to check out our documentation on it as well: 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!
    0
  • loganbibby
    Not to dredge up an old post, but I stumbled across this looking for a solution (assuming it was just hidden somewhere). I dove into the standardized hooks and came up with
    0
  • Metro2
    Thanks for that link and the time you took to put that together! I guess I'm just overly cautious, but I don't think I'm going to attempt those modifications that at this point. Still holding out hope that more people will vote for skeleton directory for addon and sub domains and that cPanel will eventually implement skel for addons and subs.
    0

Please sign in to leave a comment.