Configure your domain settings to point your domain name to your Membership Hub
🧰 What You Will Need
-
A Domain
-
A free Cloudflare account to manage your domain
-
A Membership Hub to use with your domain
What can I use this for?
Connecting a custom domain to your Hub is essential for enhancing your brand’s visibility and professionalism using a personalized web address. This process ensures that your Hub is easily recognizable and accessible to your audience.
NOTE: This process involves pointing your nameservers (changing your domain name's NS records) to Cloudflare. If you have a Wix site/domain, you won't be able to change your nameservers as stated in their public documentation. If you would like more information, you can contact Wix.
Step 1 - Enter your purchased Domain in Cloudflare
NOTE: We used "yourdomain.com" in these examples to represent the domain name. You will have to replace this with your domain name.
Inside your Cloudflare account, click + Add site and enter the existing domain (or register a new domain) to connect to your Hub.
Choose how your DNS configuration option (Quick scan recommended) and click Continue.
Step 2 - Select the free plan and wait for the quick scan
Select the Free plan and click Continue.
You'll be shown an overview of how to update the NS records. What follows is a quick scan for any existing DNS records for your domain and migrate them over. This quick scan is particularly useful if you have previously utilized this domain for a different website.
After the scan, click Continue. On the "Review your DNS records" page that follows, click Continue to Activation.
Step 3 - Review your DNS records and change nameservers
After the quick scan, click Continue to Activation at the bottom of the Review your DNS records page.
Next, you’ll see instructions on logging in to your DNS console and changing your nameservers based on your domain provider. Follow the instructions outlined on this page and then click Continue once you have updated the nameservers.
Step 4 - Check the nameserver update status on Cloudflare
Registrars take up to 24 hours to process changes in the nameservers, but Cloudflare will periodically check for nameserver updates.
You can check the nameserver update status from time to time on your Cloudflare dashboard.
To initiate a nameserver check, click your domain/website to open the settings, and then click Check nameservers now.
A message will show that Cloudflare is now checking the nameservers.
You will receive a confirmation that your website is now secure and protected by Cloudflare once the nameservers have been updated correctly.
Here's a snapshot of the security and performance dashboard once you have successfully added your domain/website:
Step 5 - Using a root domain or subdomain
REMINDER: yourdomain.com is the domain used in these examples. You will have to replace this with your actual domain name.
Decide whether you want to point the root domain “yourdomain.com” to your Hub directly or to use a subdomain “hub.yourdomain.com”.
Using the root domain
On your DNS settings, click + Add Record, type in the following, and hit Save afterward:
- Type: CNAME
- Name: yourdomain.com
- Target: ingress.membership.io
Click + Add Record to add another record and type in the following before clicking Save:
- Type: CNAME
- Name: www
- Target: ingress.membership.io
Your DNS records should have these two:
Adding a subdomain
NOTE: Using a subdomain, your audience will not be able to access your Hub by putting "www." at the start of it. "hub." replaces the "www." prefix in your URL.
Click + Add Record to add another record and type in the following before clicking Save:- Type: CNAME
- Name: hub (or subdomain name of your choice)
- Target: ingress.membership.io
Step 6 - Add page rule to redirect subdomain "www"
Membership.io only allows one domain to be assigned to your Hub. This means if you access "www.yourdomain.com", it needs to be redirected to yourdomain.com to view the Hub.
-
Go to Rules > Page Rules and then click on Create Page Rule.
-
Type/Choose the following:
URL: www.yourdomain.com/*
Setting: Forwarding URL
Status Code: 301 - Permanent Redirect
Destination URL: https://yourdomain.com/$1
Step 7 - Set the SSL/TLS encryption mode to Full
Go to the SSL/TLS page and click Configure. Make sure that the "Full" encryption mode is selected. This is a default setting so you might not need to set anything else here.
Step 8 - Add your domain to your Hub
If using a root domain, you will enter the root domain only (without "www") and hit Save.
If using a subdomain, enter the full domain (e.g. hub.yourdomain.com) and hit Save.
Hooray! Test your Hub now with your new domain! 🎉
📚 Up Next