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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    618
    Likes Received:
    192
    Trophy Points:
    43
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
  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 Forums Analyst
    Staff Member

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

    I've marked this thread as solved.

    Thank you.
     
Loading...

Share This Page