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 domain https wrong documentroot

Discussion in 'General Discussion' started by musioc, Mar 19, 2017.

Tags:
  1. musioc

    musioc Well-Known Member

    Joined:
    Aug 4, 2011
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    66
    Hi all :)
    I found a problem in cpanel.
    We made an addon domain outside of public_html (/home/addondomainfolder)
    All things was ok
    But now we found that there is a problem in ssl mode.
    While we try to reach site via https, apache tries to access /home/public_html/addondomainfolder

    As you know we can not change httpd.conf in apache 2.4 directly (cpanel will rewrite changes with default values)

    Please let me know if you have this issue too.


    we use letsencrype autossl and apache 2.4 , cpanel (latest version) + cloudlinux latest version
     
  2. vikelidiskostas

    Joined:
    Sep 4, 2016
    Messages:
    8
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Twitter:
    Maybe a wrong path in

    Code:
    /var/cpanel/userdata/USERNAME/DOMAIN.COM_SSL
    file

    Check the value of the "documentroot" line on this file.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,204
    Likes Received:
    1,297
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @musioc,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page