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!

Change Landing Directory ?

Discussion in 'General Discussion' started by timo31, Dec 7, 2018.

  1. timo31

    timo31 Registered

    Joined:
    Dec 7, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austria
    cPanel Access Level:
    Root Administrator
    Hello,

    I have order a dedicated Server with WHM/cPanel. I have created a cPanel with "List accounts".. but how i can change the standard landing directory /var/www/html to /home/timo/public_html ?

    Thanks for help.

    Friendly Regards
    timo​
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,877
    Likes Received:
    482
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure what you mean by this exactly, but it sounds to me like you're going about it incorrectly. The docs should be useful to you:
    Create a New Account - Version 76 Documentation - cPanel Documentation

    When you create an account properly, it's created where you're asking here for it to be placed.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,125
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello,

    I just want to clarify:
    The default documentroot for cPanel accounts is:
    Code:
    /home/$user/public_html 
    You shouldn't need to modify anything to use this documentroot.
     
    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