Backups and migrations
Migrate a website automatically from another server with Softaculous
A little-known feature of the Softaculous application auto-installer is that it can migrate an application automatically from another server using only the source's FTP login details. It works for any application in the Softaculous catalogue: WordPress, PrestaShop, Joomla and many more.
Even though you only give it FTP access, Softaculous also copies the database and adjusts the configuration so the application works on the new hosting, even if you install it on another domain or in another folder.
Run the migration
- Log in to cPanel and open Softaculous.
- Find the same application you have on the source in the catalogue (for example, WordPress) and open its page.
- Click Import.

- Open the From Remote Server tab.

Source details
Fill in the connection details for your previous hosting:
- Domain Name: the domain where the website currently lives, for example
dominio.com. - Server Host: the FTP server, for example
ftp.dominio.com. If you leave it empty, the domain is used. - Protocol and Port: FTP on port 21 is the usual choice. If your previous provider supports an encrypted connection and the drop-down offers it, choose it.
- FTP Username and FTP Password: the FTP username and password for your previous hosting.
The two fields that usually cause confusion are FTP Path and Installation Directory:
- FTP Path is the website's public folder as you see it when you connect over FTP. If, when you connect over FTP, you see a
www(orpublic_html) folder containing the website's files, enter/www(or/public_html). If you see the website's files straight away when you connect, enter/. - Installation Directory is the subfolder where the application sits inside that public folder. If the website is at
dominio.com, leave it empty. If it is atdominio.com/blog, enterblog.

Destination details
Specify where you want the application to end up on your Hostsuar hosting:
- Choose Protocol: choose
https://if the domain already has an SSL certificate on the new hosting. - Choose Domain: the destination domain.
- In Directory: leave it empty to install it in the root (
dominio.com) or enter the folder, for exampleblogfordominio.com/blog. The destination folder must be empty.

If you choose a different domain or folder from the source, Softaculous changes the application's internal URLs and paths so it works in the new location.
- Click Import and wait. How long it takes depends on the size of the files and the database. You can follow the progress in Task List: the migration has finished when it reaches 100% and Import Completed appears.
How it copies the database
FTP can only copy files, so Softaculous does the following:
- It copies all the application's files over FTP.
- It uploads a small script to the source that generates a
.sqlcopy of the database. - It runs that script by visiting your domain over the web (
dominio.com/...) and downloads the copy to the new server. - It creates the database and its user on your hosting, imports the copy and updates the application's configuration file with the new connection details, the domain and the paths.
If it fails
- The source website must be working and reachable over the web throughout the process, because the database copy is made through it. If the domain already points to Hostsuar, the import cannot reach the source.
- It stops while copying the database: some providers have a very low maximum PHP execution time, and copying a large database gets cut off. Ask your previous provider to increase
max_execution_timeor open a support ticket and we will migrate it manually for you. - FTP connection error: check the username, password, server and port by connecting first with a client such as FileZilla.
- The application is not in the Softaculous catalogue: this method will not work; use a manual migration or a plugin like the ones we explain in migrate WordPress to another hosting.
Once you have checked that the website works on Hostsuar, you can change the domain's DNS so it points to the new hosting. Softaculous only moves the application: mailboxes and other account settings are migrated separately.
All the fields are also explained in the official Softaculous remote import guide.
You may also find useful
- Change the WordPress domain or URL Choose between the dashboard, wp-config.php and phpMyAdmin to change the WordPress URL, and replace...
- Change the domain or folder of a WordPress website Tell changing the public address of WordPress apart from moving its folder, and review paths, links...
- How to migrate WordPress to another hosting without losing data Move files and database, adapt WordPress and check DNS, orders and scheduled tasks before treating t...
- How to migrate from Wix to WordPress or another hosting Rebuild or move your Wix content, keep your domain and email, and prepare URLs and checks before can...
Something wrong or out of date? Tell us and we will review it.