How do I copy a website to another domain within the same hosting package?
Do you have two domains in one hosting package and want to copy the website from one domain to the other? You can do this in DirectAdmin using File Manager.
- Log in to DirectAdmin via My WebOké: go to My Products, choose your package, and click Go to DirectAdmin.
- In the menu under System Info & Files, click File Manager.
- Open the
domainsfolder, then the folder of the domain with the website, and thenpublic_html. - Select all files and folders using the checkbox at the top of the list.
- Click Copy and choose the
domains/otherdomain.com/public_htmlfolder of the other domain as the destination. Empty that folder first if there's still an old site in it.
Please note: this only copies the files. If your website uses a database, such as WordPress, the copy will keep using that database and will still point to the old address. So copy a site like this using Clone in Installatron: this way, the copy gets its own database, and the addresses in it are updated.
Detailed instructions with screenshots: Opening File Manager: the directories in your package and Cloning and creating a staging environment in the DirectAdmin manual.
