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!

Copying a site to a subdomain

Discussion in 'General Discussion' started by Khiss, Jul 15, 2009.

  1. Khiss

    Khiss Registered

    Joined:
    Jul 15, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I would like to do some modifications to my site and for that I created a beta subdomain.

    What I would like to do is to copy everything to that subdomain so I can make tweaks without endangering the main site.

    Is there an easy way to do that, copy everything including the sql databases to the subdomain so I can work on it?


    I'm opened to work-a-rounds as well.

    Thank you
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    166
    You can copy the public_html files to the folder /home/user/public_html/subfolder and edit the files from there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Khiss

    Khiss Registered

    Joined:
    Jul 15, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Well yes, that's simple and obvious, but the site is based on a CMS, which means a huge number of SQL databases, which I also need copied
     
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