Step-by-Step Domain & Site Migration Guide

How to Change Your Website Address in Hostinger (Step-by-Step)

Updated: June 2026 Verified by SaaSphere Technical TeamSearch Volume: 1600+ Monthly

1. What Does Changing a Website Address Mean?

Changing a website address (or domain migration) is the process of switching your site's public identifier from one URL to another (e.g., from oldsite.com to newsite.com).

This is a comprehensive task that requires more than just buying a new domain. It involves mapping the domain to the server files, updating database strings, updating CMS internal pathings, generating new SSL certificates, routing legacy traffic via wildcard redirects, and informing search crawlers of the change.

Whether you are rebranding, switching to a more popular TLD like .com, or acquiring a better brand name, executing these steps systematically is crucial to protect your brand and organic traffic.

2. Changing a Domain Name in hPanel

Before updating your software settings, your new domain name must be registered and added to your Hostinger web hosting account.

Step-by-Step Domain Addition in hPanel:

  1. Purchase your new domain name under the Domains section in hPanel (or connect a domain registered at a third-party registrar like Namecheap).
  2. Go to the Websites tab and click Create or Migrate a Website (or click Add Website if you want to keep the old files in a separate folder).
  3. If you wish to completely replace the main domain of your active hosting account, search for Change Main Domain in the left hPanel menu.
  4. Enter your new domain name and confirm. Hostinger will re-map your server configurations to the new domain.
[Screenshot Placeholder: Change Main Domain settings panel in Hostinger hPanel dashboard]

3. Changing WordPress Site URL

WordPress stores website address references inside its database. Simply changing your domain in hPanel will result in styling breaks or redirect loops if WordPress is not updated.

Method A: Using wp-config.php (Fastest & Safest)

To force WordPress to load under your new website address, edit your wp-config.php file using Hostinger File Manager:

define('WP_HOME', 'https://newsite.com');
define('WP_SITEURL', 'https://newsite.com');

Method B: Updating phpMyAdmin (Database Level)

If you are locked out of your admin dashboard, you can edit the values directly inside the database options table:

  1. In hPanel, go to Databases -> phpMyAdmin and enter your site's database.
  2. Locate and click the table named wp_options (prefix may vary, e.g., hs_options).
  3. Find the rows named siteurl and home (usually rows 1 and 2).
  4. Double-click the option_value field and replace the old domain with your new domain name (make sure to include https://).

4. Changing URL in Hostinger Builder

If you built your website using the proprietary Hostinger Website Builder (formerly Zyro) rather than WordPress:

  1. Open the builder editor inside hPanel.
  2. Click on the Settings cog icon at the bottom-left of the builder interface.
  3. Navigate to Domain Connection.
  4. Disconnect your old domain and click Connect Domain to select your newly registered domain name.
  5. Click Publish Website to compile your static HTML assets under the new address.

5. Updating DNS Settings

Your new domain name must point to your Hostinger server to load your website files.

If your domain is registered directly at Hostinger, hPanel sets the correct DNS records automatically. However, if your domain is registered at another registrar (like Namecheap, GoDaddy, or Domain.com), you must update its nameservers to point to Hostinger:

ns1.dns-parking.com
ns2.dns-parking.com

*Update nameservers at your registrar panel and wait for DNS propagation (takes 2-24 hours).

7. Updating Google Search Console

To ensure Google transfers your search index rankings to the new domain, you must submit a Change of Address request:

  1. Verify both the old domain and the new domain as separate properties in Google Search Console.
  2. Navigate to the property settings panel for your old domain.
  3. Under the Settings page, locate and click the Change of Address tool.
  4. Select your new domain property from the list, complete the verification checks (which check if 301 redirects are working), and submit.
[Screenshot Placeholder: Google Search Console Change of Address Tool Verification Dashboard]

8. Updating Analytics & Tag Manager

Don't forget to update your analytics tracking to continue capturing traffic data:

  • Google Analytics 4 (GA4): Navigate to Admin → Data Streams → Web Stream and update the stream URL to your new domain name. You do not need to replace your tracking code.
  • Google Tag Manager: If you set up container triggers based on Page Hostname, ensure you update those triggers to match the new domain name.

9. SEO Impact of Domain Migration

Moving a website to a new address is a major event for search engine spiders. While Google is excellent at processing 301 redirects, you should expect a temporary traffic fluctuation of 5% to 10% for the first 2 to 4 weeks.

To minimize the negative impact, keep the old domain registered and its 301 redirects active for at least one year. This gives Google enough time to crawl all legacy URLs and transfer their authority to the new domain.

10. Common Errors & Solutions

Issue: CSS and JS Styling Broken

WordPress is trying to fetch styles from the old domain. Add the wp-config.php force rules or run the Better Search Replace plugin.

Issue: SSL Security Warning (Your Connection is Not Private)

The SSL certificate has not generated for the new domain. Go to hPanel, search for SSL, and click Reinstall to force Let's Encrypt validation.

11. Site Migration Checklist

Backup Website Files: Create a full zip archive of public_html and export the SQL database in hPanel.
Add New Domain to hPanel: Link your new domain name to your hosting account.
Migrate CMS URLs: Update siteurl and home configs in WordPress or builder settings.
Setup 301 Wildcard Redirects: Configure .htaccess redirects to route old URLs to new URLs.
Replace Hardcoded Links: Run Better Search Replace in your database to update image and page links.
Submit GSC Change of Address: Inform Google search spiders of the permanent move.

Guide Quality & Editorial Integrity

SaaSphere maintains a dedicated technical sandbox lab to run active hosting server deployments. This redirect guide is updated for 2026 hPanel layouts and checked against real Apache/LiteSpeed config standards. Written by our in-house systems team.

Frequently Asked Questions (FAQ)

Verified Promo Deal

Need a new hosting tier? Get up to 85% OFF on Hostinger by using our verified promo code at checkout.

SAASPHERE
Claim Deal