Skip to main content

How to Change DNS to Complete a Hosting Migration

Changing your DNS records to point to Hostek's servers is the final step in a hosting migration. This process updates the internet's "address book" so that visitors are directed to your new hosting environment instead of your old one.

Important: Before changing your DNS, ensure you have completed a full migration of your website files and database, and have verified the site's functionality on the Hostek server using a temporary "hosts" file or a temporary URL.

Before you begin

You will need:

  • Access to your domain registrar's management portal or your current DNS hosting provider's dashboard.

  • Your Hostek nameservers or the specific IP addresses provided by Hostek for your migration.

  • A completed migration of all website files and databases to the Hostek environment.

Update your DNS records

Depending on your current setup, you will perform one of the following two actions to complete your migration.

Changing your nameservers delegates the management of your DNS records to Hostek. This is the most common method for a full migration.

  1. Log in to your account with your domain registrar (e.g., GoDaddy, Namecheap, or a specialized registrar).

  2. Locate the DNS Management or Nameservers section for your specific domain.

  3. Select the option to use Custom Nameservers.

  4. Replace the existing nameservers with the ones provided by Hostek.

  5. Save the changes.

Option 2: Update your A Records

If you prefer to keep your current DNS provider but want to point your traffic to Hostek, you must update the IP addresses for your website.

  1. Log in to your current DNS management portal.

  2. Locate the DNS Records or Zone Editor section.

  3. Find the A Record for your root domain (e.g., example.com).

  4. Update the IP address to the one provided by Hostek.

  5. Find the CNAME or A Record for your www subdomain (e.g., www.example.com).

  6. Update the record to point to the same Hostek IP address or the correct hostname.

  7. Save the changes.

Confirm the result

Once you have updated your records, the internet must update its cache. This process is known as propagation.

  • Verify Propagation: Use a tool like whatsmydns.net to check that your domain is resolving to the new Hostek IP address across different global locations.

  • Check Website Accessibility: Visit your website in a private or "Incognito" browser window to ensure it loads correctly from the new server.

  • Verify Email Flow: Send a test email to your domain to ensure that mail continues to arrive at your mailboxes.

Limitations

  • Propagation Time: DNS changes are not instantaneous. While often occurring within minutes, it can take up to 48 hours for the changes to propagate globally.

  • Caching: Some local devices or ISPs may cache old DNS information. If you do not see the changes immediately, clear your local DNS cache or wait for the TTL (Time to Live) to expire.

  • Scope: This procedure only updates the direction of web traffic; it does not move your data or files.

Did this answer your question?