How to point your domains or subdomains to your WordPress Site

Created by Stefan Perchinkov, Modified on Wed, 9 Oct at 1:19 PM by Stefan Perchinkov


TABLE OF CONTENTS



If you are setting up a new WordPress website, migrating & existing one or just adding additional domains, you will need to configure your domain's DNS to point to your WordPress instance. This article will help you in the setup and also share some best practices with you.


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.



Linked Articles for other Domain Registrars

  1. How to add a CNAME Record in CloudFlare
  2. How to add a CNAME Record in Domain.com
  3. How to add a CNAME Record in BlueHost
  4. How to add a CNAME Record in HostGator
  5. How to add a CNAME Record in GoDaddy
  6. How to add a CNAME Record in NameCheap


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

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


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.




FAQs

Q1: I'm unable to add the same domain to my other subaccount / location:

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


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

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


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

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


Q4: I can't connect my root domain (ex. mydomain.com)

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

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article