- Log into the WHM Server (details are under tso details
- Next we need to make a backup of the new site (the .meltdemo site you have been working on). First go to List Accounts and find your website.
- Click on Cpanel and go into file manager
- Go into “public html” and select all the files. Right click and compress. Save as zip.
- The zip file will download (for me it was called application.zip)
Copying The Database
- We need to go into phpmyadmin from the cpanel
- On the left is a list of all the Databases associated with your website. Click on the one that you created when you first set up the site.
- Then click on Export. A “…”.mysql file will download. (This is the DB backup of the meltdemo site.)
- Then go back into phpmyadmin and import (or drag the downloaded file onto the button)
- Now we need to create a backup of the old site. Repeat steps 2-5. Rename the zip to something like “old-site-backup.zip” so you know the which file is which.
- Then in the file directory of the old site you need to make a new folder and call it “newsite” for example
- Upload a file into the root of the directory… once this is done you should see the zip.
- Extract the zip into the newsite folder
- 14. If you need to change the db name or password you would go into application – config – database.php
Top