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:

  1. Log in to hPanel → Go to Websites > choose your website.
  2. Open File Manager (or use FTP).
  3. Navigate to the /public_html/ folder.
  4. Upload your HTML, CSS, JS, image files, etc. (drag-and-drop or ZIP).
    • If uploading a ZIP, right-click > Extract.
  5. 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

  1. In hPanel, go to Websites > Select your WordPress site.
  2. Open the Website Migration tool.
  3. Enter your old site’s WordPress credentials.
  4. Hostinger automatically pulls your site files + database and installs them.

✅ Option B: Manual WordPress Migration

  1. Export files and database from your old host:
    • Download all files from public_html/
    • Export MySQL DB using phpMyAdmin
  2. Upload files to Hostinger via File Manager or FTP.
  3. Import the database via Hostinger’s phpMyAdmin.
  4. Edit wp-config.php to update database credentials.
  5. Point your domain’s DNS to Hostinger if needed.

🔹 3. Importing a Dynamic PHP/MySQL Website (Non-WordPress)

✅ Steps:

  1. Upload all your site files to /public_html/.
  2. Create a new MySQL database via hPanel > Databases.
  3. Import your old .sql file via phpMyAdmin.
  4. 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.

Previous Post Next Post

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish