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 Domains outside public_html folder

Discussion in 'General Discussion' started by microcipcip, Dec 21, 2011.

  1. microcipcip

    microcipcip Registered

    Joined:
    Dec 21, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hi,

    I don't like to have my AddOn Domains mixed up with the files of my root website, so I have added the AddOn Domains on "public_html2/websitesample.com".

    Is this solution ok, or there are some drawbacks?
    Is it possible to see "websitesample.com" from the browser without redirecting the DNS there?
    For example is there a way to see it from "www.mymaindomain.com/websitesample.com" ?

    Thanks in advance.
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    11
    Trophy Points:
    168
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    That solution is ok, but because the addon domain does not reside in a subfolder of public_html, you can not see it from "www.mymaindomain.com/websitesample.com".
    in cPanel addon domains are also subdomains of the main domain, so you can see it from "websitesample.mymaindomain.com".
    (The subdomain/FTP username you can set as you like).
     
    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