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!

Need to change Document root

Discussion in 'General Discussion' started by Sarath Kumar R, Apr 16, 2017.

  1. Sarath Kumar R

    Sarath Kumar R Active Member

    Joined:
    Oct 18, 2016
    Messages:
    26
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    I need to change document of a domain to the sub directory present on public_html. In EA3 we were able to make changed through httpd.conf and can do distill to make the the changes permanently. But in Ea4 changes made in httpd.conf is not getting saved permanently and we cannot use the distill.

    Also, I need to comment documentroot and add
    ProxyPass / http://example.com:8080/
    ProxyPassReverse / http://example.com:8080/

    Please let me how I can make the above changes permanently. Is there any other way other than pre_virtual host.conf

    So please let me know the suggestions to fix the issue.
     
    #1 Sarath Kumar R, Apr 16, 2017
    Last edited: Apr 16, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,631
    Likes Received:
    1,787
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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