How to Point your Domains or Subdomains to your WordPress Site

You will need to configure your domain's DNS to point to your WordPress instance if you are setting up a new WordPress website, migrating an existing one, or just adding additional domains. We will be sharing some best practices with you in this article to help you with the setup.

Setting up a New WordPress Site

If you are creating a new WordPress site, the following two use cases will be relevant for you. 

Setting up New WordPress as a Blog

In this most likely you plan to use your WordPress site on a subdomain like blog.mydomain.com or updates.mydomain.com. In this case, once you are on this screen, pick "I want to create a new website"

Then login to your domain provider (like CloudFlare, GoDaddy, BigRock, NameCheap, etc.) and add a CNAME record for blog.mydomain.com pointing to wp.msgsndr.com. An example of this using BigRock domain provider is shown below.

info icon
Some domain providers take 24 - 48 hours to propagate DNS changes while others are instant. You can use tools like https://dnschecker.org/ to check if your DNS changes are propagated or not.

Once your DNS changes are propagated, you can come back to the following screen and verify that your domain is correctly pointed.

If your domain is not pointed correctly, you will get an error like the example below.

This Can Happen Due to a Few Reasons

  1. There is a typo in your domain name [like in the example above]
    In this scenario fixing the typo will resolve your issue

  2. Your DNS changes haven't propagated yet
    In this case you need to wait longer and try again after a few hours or the next day to see if it works

  3. Your DNS configuration is not setup correctly
    Please reach out to your Domain Provider and discuss the errors with their support team

  4. Maybe you have conflicting records for the same subdomain [for example if blog.mydomain.com has a CNAME record pointing to wp.msgsndr.com but it also has an A record pointing to some other provider] In such cases removing the other duplicate record will fix your issue.

info icon
In most cases with your DNS setup, our support teams will not be able to assist you and you may need to reach out to your domain provider.

Setting Up New WordPress as your Main Site

If you wish to use your WordPress site as your main site you will most likely use it on mydomain.com and www.mydomain.com.

In such a scenario the steps would remain similar as above, but you will need to point an A record for you root domain (mydomain.com) to 34.149.157.183 and a CNAME for your subdomain (www.mydomain.com) to wp.msgsndr.com. An example of such a setup is given below.

A record for mydomain.com 

CNAME for www.mydomain.com

Migration of an Existing Website

If you already have an existing WordPress site that has live traffic that you are trying to migrate to our servers, you will need to change DNS twice. We do this 2 step process to ensure that your live site does not have a downtime during the migration process. This ensures that your (or your client's) website visitors have a consistent experience during the time of migration process.

At the Beginning of Migration

When you start your migration you will be asked to enter a dummy CNAME & to point it to a randomly generate value to verify your domain. This step will look like this:

This helps us verify the domain which is the origin of your backup file. 

After Successful Migration

Once your migration is completed, you will be issues a temporary domain that looks like wp-my-domain-com.msgsndr.com which will allow you to preview your migrated website, login to wp-admin portal and test out all your customizations. Once you have checked your migration, you can prepare to divert traffic from your old website to the newly migrated website. 

To do this you will need to point your live traffic domains like

  • domain.com (root domain to 34.149.157.183via A Record)

  • www.domain.com (subdomain to wp.msgsndr.com via CNAME)

  • blog.domain.com (subdomain to wp.msgsndr.com via CNAME)

Once your domain changes have propagated, you will need to go to location "View" > "Sites" > "WordPress" and add them as additional domains.

Then you can log-in to wp-admin -> dashboard -> settings in left menu -> general and change the Site URL and WordPress URL as shown below.


FAQ's

Q: I'm unable to add the same domain to my other location?

A: Same domain / subdomain can't be used in 2 locations.

Q: Why can't I update my primary domain?

A: Additional domains can be deleted and used elsewhere but Primary domains can't be recycled as of now.

Q: I've added the A / CNAME record but the domain is still not being added?

A: This can happen due to a few reasons.

  1. There is a typo in your domain name [like in the example above]
    In this scenario fixing the typo will resolve your issue.

  2. Your DNS changes haven't propagated yet.
    In this case you need to wait longer and try again after a few hours or the next day to see if it works.

  3. Your DNS configuration is not setup correctly.
    Please reach out to your Domain Provider and discuss the errors with their support team.

  4. Maybe you have conflicting (multiple) records for the same subdomain [for example if blog.mydomain.com has a CNAME record pointing to wp.msgsndr.com but it also has an A record pointing to some other provider] In such cases removing the other duplicate record will fix your issue.

Q: I can't connect my root domain?

A: Please make sure there are no additional AAA, TXT, records etc. if you plan to use that slug / root domain for WordPress.

Did this answer your question?
😞
😐
😁