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:
    38
    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
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,356
    Likes Received:
    91
    Trophy Points:
    103
    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:
    38
    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
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    1,356
    Likes Received:
    91
    Trophy Points:
    103
    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...
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