how to import full site into hostinger
To import a full website into Hostinger, the method depends on what kind of site you’re importing (static HTML/CSS, WordPress, or a dynamic PHP/MySQL site). Here’s a complete guide for each scenario:
🔹 1. Importing a Static Site (HTML/CSS/JS)
✅ Steps:
- Log in to hPanel → Go to Websites > choose your website.
- Open File Manager (or use FTP).
- Navigate to the
/public_html/
folder. - Upload your HTML, CSS, JS, image files, etc. (drag-and-drop or ZIP).
- If uploading a ZIP, right-click > Extract.
- Ensure your home page is named
index.html
.
🔗 Your site will be live at
https://yourdomain.com
.
🔹 2. Importing a WordPress Site
If you’re moving a WordPress website:
✅ Option A: Use Hostinger’s WordPress Auto Migration Tool
- In hPanel, go to Websites > Select your WordPress site.
- Open the Website Migration tool.
- Enter your old site’s WordPress credentials.
- Hostinger automatically pulls your site files + database and installs them.
✅ Option B: Manual WordPress Migration
- Export files and database from your old host:
- Download all files from
public_html/
- Export MySQL DB using phpMyAdmin
- Download all files from
- Upload files to Hostinger via File Manager or FTP.
- Import the database via Hostinger’s phpMyAdmin.
- Edit
wp-config.php
to update database credentials. - Point your domain’s DNS to Hostinger if needed.
🔹 3. Importing a Dynamic PHP/MySQL Website (Non-WordPress)
✅ Steps:
- Upload all your site files to
/public_html/
. - Create a new MySQL database via hPanel > Databases.
- Import your old
.sql
file via phpMyAdmin. - Update your site’s configuration file (e.g.,
config.php
) with:- New database name
- Username
- Password
- Hostname (usually
localhost
on Hostinger)
🧠Bonus Tips:
- If you’re transferring from another host, use Hostinger’s free migration support — just contact them with your site details.
- You can preview your site on Hostinger using their temporary URL before updating DNS.