How To Point A Domain or Sub-Domain To WordPress
You may want to use WordPress to integrate with Enrollio. If you are setting up a new WordPress website, migrating over an existing one, or you want to add additional domains, you will need to configure the DNS to point to your WordPress. Follow along to learn just how to set this up:
The first step is to purchase your WordPress subscription under Sites > WordPress, and then create your site. Once you’re done setting up your site name and user details, you will see the dashboard where you’ll get the following options:
Set up a staging environment
WordPress site and admin access (URL)
Manage Domains & Sub-domains
Import your existing WordPress site (using the plugin “All-in-One WP Migration”)
Adding a new Root domain as your Primary Domain
Click on the “Add domain or sub-domain” button
Now enter the domain name that you want to connect with your WordPress site
After entering the root domain, once you hit the ‘Add Domain’ button, it will give you the option to add 2 TXT records
Add these 2 TXT records to your domain’s DNS records.
Now add the A record to your domain’s DNS records.
Please Note:
If you are using CloudFlare, please make sure to disable Cloudflare Proxy and switch the Proxy status to DNS only.
Once done, check the checkbox that reads “I have added the above records in my domain provider's DNS settings” and then click on the “Verify Records” button
Once configured the Domain will be set as your Primary Domain by Default.
Adding the WWW domain
Now to set up the www version of your domain, click on the ‘Add Domain’ button again and add the www domain. The www domain is added by the system when you add the root domain, so it will show you the CNAME record that you need to add to your domain’s DNS records
Once this record is added, the www domain will also start working.
Adding a Sub-Domain
To add a subdomain, you need to follow the same steps as the root domain. However, this time the system will provide you with 2 TXT and 1 CNAME record instead of A record.
For the first domain that you add, you will always get 2 TXT records along with an A/CNAME record. For all the additional domains, you will only need to add a single A/CNAME record.
If you’re adding your subdomain as an additional domain, the system will provide you a record to add like shown below
Once you’ve added this record, your domain will be connected to the system.
How to Change Your Primary Domain
The primary domain is your main domain that every other additional domain points to. For example, if you set rootdomain.com as your primary domain, and add a subdomain go.domain.com as an additional domain, then whenever you type go.domain.com, it will automatically redirect to the primary domain rootdomain.com
Once you’ve added an additional domain, you can set that as your new primary domain if needed. To do that, you just need to click on the three dots right next to the domain and choose the option “Make as Primary Domain” as shown below
Linked Articles for some Domain Registrars
Please Note:
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.