Setting Up a Custom Domain With Wordpress

This article goes over the process of setting up a custom domain with Wordpress. This requires 5 steps: purchasing a domain name, adding your domain to your school, changing your domain's nameservers, creating CNAME records, and making your domain your primary school domain. Note that these steps must be done sequentially.

Purchasing a Domain Name

In order to set up a custom domain, you'll first have to purchase one. If you've already purchased a custom domain name, you can skip this step. To purchase a domain name through Wordpress:

  1. Go to Wordpress.
  2. Click Get Started.
    wordpress_get_started.png
  3. In the subsequent page, choose any random layout. Since you are using you Teachable school with this domain, the layout choice has no significance.
  4. In the Choose a theme page, click Skip for now.
  5. The following page is the domain name search. Use the search bar to look for the desired domain.
    wordpress_domain_name_search.png
  6. Once you find and select the domain name you would like to use with your Teachable school, go through Wordpress' checkout process to finalize.

Adding Your Domain to Your Teachable School

Once you've purchased your desired domain name, you'll have to add it to your Teachable School. To do so:

  1. Log into your Teachable account.
  2. Select Site from the admin sidebar.
  3. Choose Domains from the submenu.
  4. If you have not yet verified your original Teachable subdomain, you'll see this screen, where you can confirm the standard subdomain or add the custom domain instead. (We recommend that you confirm the standard free .teachable.com subdomain first and then add a custom domain using the process in steps 5-7, as you'll need a Teachable subdomain to connect certain programs like Zapier.)
    admin-site-domains-custom_domain.png
  5. Otherwise, if you have already verified your original subdomain, click the New Domain button.
    admin_site_domains__new.png
  6. In the Domain Name text box, enter the url of the desired custom domain INCLUDING "www." Click Add Domain.Domains___Admin.png
  7. Similarly, also enter the url of the desired custom domain WITHOUT "www." Click Add Domain.
    Domains___Admin.png

Changing Your Custom Domain's Nameservers

After adding your custom domain name to your Teachable school, you'll have to change your custom domain's nameservers. This step requires the use of Cloudflare.

  1. Go to http://cloudflare.com and click the Sign Up link. sign up for cloudflare
  2. Enter the domain name that you want to use for your Teachable school without "www".
  3. Click the Scan DNS Records button. scan DNS records
  4. Click the Continue button.
  5. After you've reviewed your DNS records, click Continue.
  6. Choose the Free plan, leave the other settings the same, and click Continue. free website cloudflare plan
  7. Copy the names of the two nameservers listed. copy nameservers from cloudflare
  8. Log into Wordpress.
  9. Click My Site.
    wordpress_mysite.png
  10. In the lefthand sidebar, scroll down and click Domains.
    wordpress_domains.png
  11. Click on the URL you are planning to use with your Teachable school.
  12. In the domain settings page, click Name Servers and DNS.
    wordpress_nameservers_DNS.png
  13. In the name servers and DNS page, toggle off Use Wordpress.com Name Servers.
    wordpress_new_nameservers.gif
  14. Enter the 2 nameservers you got from Cloudflare in the text boxes.
  15. Click Save Custom Name Servers.

Creating CNAME Records

After you change your custom domain's nameservers, you'll have to create CNAME records that point your custom domain to your Teachable school. This also requires the use of Cloudflare.

  1. Log into your Cloudflare account.
  2. In the menu, click DNS
    cloudflare_DNS.png
  3. Change the record type to "CNAME".
    A_to_CNAME.gif
  4. When setting up a custom domain, “www.” is not included in the URL. This is due to the “www.” domain and the custom domain being two separate entities. To use both domains, you'll have to create 2 CNAME records  — one that reflects your custom domain with "www", and one that reflects your custom domain without "www".
    • In the Name field, enter "www". In the Domain name field, enter your Teachable domain (i.e. school.teachable.com). Click Add Record. This will create CNAME record that reflects your custom domain with "www." included. 
      cname_with_www.png
    • In the Name field, enter your custom domain without "www" (i.e. teachabletest.com), In the Domain name field, enter your Teachable domain (i.e. school.teachable.com). Click Add Record. This will create a CNAME record that reflects your custom domain without "www".
      cname_without_www.png

Making Your Custom Domain the Primary Domain

  1. Log into your Teachable account.
  2. Select Site from the admin sidebar.
  3. Choose Domains from the submenu.
  4. Verify that the new domain names work by clicking the Check Domain button. If they work, you will see a Verified message next to your domain.

    CAUTION: Do not set your new domain as Primary in Teachable until you know the transfer is complete. If you have set your new domain as the Primary too early, you will be unable to log into your school.

  5. Next to the domain you would like to make your primary domain, click Make Primary.
    domain_make_primary.png

thanks_illustration

Can't find what you're looking for?

Contact us
thanks_illustration