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!

SOLVED Changing the root directory for main domain

Discussion in 'General Discussion' started by vinceliu, Feb 11, 2018.

  1. vinceliu

    vinceliu Registered

    Joined:
    Feb 11, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Website Owner
    Hi there, I am new to this forum and I am not a web developer, so pls help me in simple English.

    My current website has WordPress installed in the public_html root directory. I built a new WordPress website in a subfolder (public_html/new) and would like to make my main domain point to this folder. I don't know where and how I can do this. Other threads have more complicated matters that I don't are applicable to my case. Do I do this in WordPress settings or through cPanel? Thanks.

    Existing WP directory: public_html/
    New WP directory: public_html/new

    Temporary Domain: www.example.com/new -> Domain: www.example.com
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    819
    Likes Received:
    298
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. vinceliu

    vinceliu Registered

    Joined:
    Feb 11, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Toronto
    cPanel Access Level:
    Website Owner
    Thanks very much, rpvw. It works!!!
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    I've marked this thread as solved.

    Thank you.
     
    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