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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon/Subdomain skeleton files

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

  1. inteldigital

    inteldigital Registered

    Joined:
    Apr 5, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England
    cPanel Access Level:
    Root Administrator
    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.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    372
    Likes Received:
    20
    Trophy Points:
    93
    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,
     
  3. inteldigital

    inteldigital Registered

    Joined:
    Apr 5, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    England
    cPanel Access Level:
    Root Administrator
    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?
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    372
    Likes Received:
    20
    Trophy Points:
    93
    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,
     
Loading...

Share This Page