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 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:
    1
    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:
    10
    Trophy Points:
    18
    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).
     
Loading...

Share This Page