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.

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:
    25
    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:
    37,204
    Likes Received:
    1,296
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page