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!

how to replace old site in public_html/ with new site public_html/new

Discussion in 'General Discussion' started by Morana Barbara, Aug 15, 2014.

  1. Morana Barbara

    Morana Barbara Registered

    Joined:
    Aug 15, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Zagreb, Croatia, Croatia
    cPanel Access Level:
    Website Owner
    hi guys, I have no experience in working with cpanel, so i humbly asking for a little help :eek:

    I have old site, with all of it's folders, in public_html/ on main domain
    I created subdomain new.domain.com and crated new site in folder in public_html/new

    now I want new site to become active on main domain (I don't need subdomain anymore)

    public_html/new -> public_html/

    What are the steps I have to do?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    You could use FTP or File Manager to move the contents of the existing public_html directory to another location, and then move the contents of the "new" directory into the public_html directory.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Morana Barbara

    Morana Barbara Registered

    Joined:
    Aug 15, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Zagreb, Croatia, Croatia
    cPanel Access Level:
    Website Owner
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