How to change your domain name on WordPress?

Changing Your Domain Name on WordPress: A Step-by-Step Guide

Step 1: Prepare Your Old Domain

Before you can change your domain name on WordPress, you’ll need to make sure your old domain is ready for the transition. Here are some things to consider:

  • Check that your old domain is no longer in use by anyone.
  • If you’re using a website builder or a custom domain, make sure you have access to the old domain’s DNS settings.
  • If you’re using a custom domain with a DNS service provider, you may need to change the DNS settings to point to a new domain name.

Step 2: Log In to Your WordPress Admin

Once you’ve prepared your old domain, log in to your WordPress admin dashboard. You can do this by:

  • Typing the domain name of your website into the address bar of your web browser.
  • Clicking on the "Log in" button on the WordPress dashboard.

Step 3: Go to Domains and Set New A Record

Once you’re logged in, you’ll need to go to the "Domains" section on the WordPress dashboard. Here, you can:

  • Click on the "Add a new domain" button.
  • Select the domain name you want to update.
  • Click on the "Set up new A record" button.
  • Choose the DNS provider and the records you want to update.

Step 4: Set Up New A Record

Here’s what you’ll need to do to set up new A records:

  • Domain Name: Enter the old domain name of your website.
  • IP Address: Enter the IP address of your website.
  • Type: Select "A" for Address.
  • Subtype: Select "Custom".
  • Portal: Select the custom domain provider you want to use.
  • Name: Enter the new name for the A record.
  • Email: Enter the email address associated with the A record.

Step 5: Test Your New A Record

Once you’ve set up your new A record, you’ll need to test it to make sure it’s working correctly. Here are some things to check:

  • IP Address: The IP address of your website should be the same as the one you entered.
  • Type: The A record should be a "Address" type.
  • Subtype: The A record should be a "Custom" subtype.
  • Portal: The custom domain provider should be set up correctly.
  • Name: The new name for the A record should be correct.
  • Email: The email address associated with the A record should be correct.

Step 6: Set Up New Zone Files

Once you’ve set up your new A record, you’ll need to set up new zone files to make the changes permanent. Here’s what you’ll need to do:

  • Domain Name: Enter the old domain name of your website.
  • IP Address: Enter the IP address of your website.
  • Type: Select "Zone file" for IP address.
  • Subtype: Select "Custom".
  • Portal: Select the custom domain provider you want to use.
  • Format: Select the format of the zone file (e.g. "MOF" or "TXT").

Step 7: Update the Zone Files

Once you’ve set up your new zone files, you’ll need to update them to reflect the changes you made to your A record. Here’s what you’ll need to do:

  • Domain Name: Enter the old domain name of your website.
  • IP Address: Enter the IP address of your website.
  • Type: Select "Zone file" for IP address.
  • Subtype: Select "Custom".
  • Portal: Select the custom domain provider you want to use.
  • Format: Select the format of the zone file (e.g. "MOF" or "TXT").

Step 8: Upload the Zone Files

Once you’ve updated your zone files, you’ll need to upload them to your WordPress installation. Here’s what you’ll need to do:

  • Domain Name: Enter the old domain name of your website.
  • IP Address: Enter the IP address of your website.
  • Type: Select "Zone file" for IP address.
  • Subtype: Select "Custom".
  • Portal: Select the custom domain provider you want to use.
  • Format: Select the format of the zone file (e.g. "MOF" or "TXT").
  • Path: Enter the path to the zone files (e.g. "/var/www/html/example.com/DomainInfo")

Step 9: Test Your New Zone Files

Once you’ve uploaded your zone files, you’ll need to test them to make sure they’re working correctly. Here are some things to check:

  • IP Address: The IP address of your website should be the same as the one you entered.
  • Type: The A record should be a "Address" type.
  • Subtype: The A record should be a "Custom" subtype.
  • Portal: The custom domain provider should be set up correctly.
  • Name: The new name for the A record should be correct.
  • Email: The email address associated with the A record should be correct.

Step 10: Verify Your New Domain Name

Once you’ve tested your new zone files, you’ll need to verify that your new domain name is working correctly. Here are some things to check:

  • DNS: Make sure that your DNS provider is set up correctly and that your new domain name is being reflected in the DNS.
  • Website: Make sure that your website is accessible by anyone with the new domain name.
  • Email: Make sure that your email address is being sent to the new domain name.

Tips and Best Practices

Here are some additional tips and best practices to keep in mind when changing your domain name on WordPress:

  • Backup Your Data: Before making any changes to your domain name, make sure to backup your website and all of your data.
  • Test Thoroughly: Test your new domain name thoroughly to make sure it’s working correctly.
  • Use a Custom Domain Provider: Consider using a custom domain provider to make changes to your domain name.
  • Keep Your DNS Up to Date: Make sure to keep your DNS up to date to ensure that your new domain name is reflected in the DNS.
  • Use a Static IP Address: Consider using a static IP address to make your website more secure.

Unlock the Future: Watch Our Essential Tech Videos!


Leave a Comment

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

Scroll to Top