You can move your website's files from your current host to Hostek to prepare for a migration. This process ensures that all images, scripts, and system files are available on the Hostek server before you point your domain to our infrastructure.
Before you begin
You will need:
Access to your current hosting provider's file manager or FTP account.
Your Hostek account credentials and the IP address or hostname of your new Hostek server.
A local machine with an FTP client (such as FileZilla or WinSCP) or a command-line tool.
Copying website files to the Hostek server
Depending on the size of your site and your technical preference, you can move files using an FTP client or a command1.
Using an FTP client (Recommended)
Open your FTP client and create a new connection to your Hostek server.
Enter your Hostek account credentials and the server's IP address or hostname.
Connect to the server and navigate to the directory where your website will reside (e.g.,
public_htmlorwww).Connect to your old hosting provider's server using the same FTP client.
Select the files on your old server and drag them into the corresponding folder on the Hostek server.
Wait for the transfer to complete.
Using a command-line tool (rsync or scp)
If you have access to a terminal and prefer command-line tools, you can sync the files directly between servers.
Note: Replace user, old-server.com, and new-server.com with your actual credentials and server details.
rsync -avz /path/to/local/files/ [email protected]:/path/to/destination/
Confirm the result
To ensure the files were copied successfully, perform the following checks:
Log in to your Hostek account and use the File Manager to verify that the file count and sizes match your original site.
Check that critical directories (such as
images,css, orjs) are present and populated.Verify that the main index file (e.g.,
index.phporindex.html) is in the root directory.
Limitations
This process only moves the physical files of your website. It does not migrate your database, email accounts, or DNS settings. These must be handled in separate steps as part of the migration process.
