CloudFlare

This guide will describe how to point your existing custom domain to your PageCloud site, using CloudFlare - a free service to help with DNS (Domain Name System) management.

 First, go to https://cloudflare.com and set up a free account.

Next, enter your custom domain and click "Scan DNS Records". For this example, we will be using the custom domain 'pagecloudtest.com'

Once that's done, hit Continue Setup

You will then get to a screen where you'll want to verify that your DNS records are setup properly. CloudFlare automatically loads all of your current DNS records (those that are setup with your domain registrar). You can then adjust those settings , or add new records so that you have the following two records as per the example below:

It is quite possible that you'll have other records as well, but you can typically ignore them for this process.

It's important to make sure that you have a CNAME record with the following information. To add this, you can select CNAME from the drop down and fill in the following information then click 'Add Record'

Name: yourcustomdomain.com (example, pagecloudtest.com)
Value: proxy2.pagecloud.com

And another CNAME record with the following:

Name: www
Value: proxy2.pagecloud.com

Make sure you click the orange cloud icon beside the CNAME records so that the domain is properly routed through the CloudFlare CDN (content distribution) network.

Hit Continue and you'll be brought to the CloudFlare Plan selection screen.  You can select 'Free Website' and hit Continue.  Note that for additional security, SSL can be obtained even with a free account.   Depending on what you require, there are also other plans available.   For typical PageCloud users, the free plan will suffice.   

In the next step, Cloudflare provides your "Nameserver" addresses.  You will need to log into your domain name registrar (e.g. GoDaddy.com) and in their DNS administration panels, you will be able to enter your Cloudflare Nameserver addresses.   Your registrar can provide assistance with this step as required.   

Once those have been set up, you should receive an email from CloudFlare (after it's had time to process your request) to let you know that your domain has been successfully set up.  Now you are able to manage your DNS setup through CloudFlare.  You should see a screen like the following once Cloudflare is ready to accept your DNS configuration records to point your domain name to PageCloud.

The last step in setting up your domain to properly point to your PageCloud address will involves setting up two "Page Rules" in Cloudflare.

Click on the 'Page Rules' tab at the top and press 'Create Page Rule'

In the next screen, you will need to type in your custom domain followed by /* in the 'If the URL matches' field. It should look like the following:

Then, click on ' + Add a Setting' and select ' Forwarding URL from the drop down' .

Change the Status Code to '301 Redirect' and then enter the destination URL as follows: https://www.yourdomain.com/$1 , replacing yourdomain.com with your actual domain.

Now hit 'Save and Deploy'

Congratulations! Your custom domain name is now setup to be pointing to your new PageCloud site. These settings can often take about 2 hours to propagate, but in rare cases, can sometimes take up to 48 hours. 

If you have not already added the custom domain within your PageCloud Dashboard, you can do so now.

In your PageCloud dashboard, click on the PageCloud site you want to connect to your custom domain to which will bring you into your Site Dashboard

Click on the 'Custom Domain' tab

Now enter the name of your custom domain within the 'I already have a domain' field and then click Connect

Congratulations!  You have now told PageCloud to watch for incoming traffic for your domain and route it to your PageCloud site.

Once both of these steps are done, you will just need to wait for your DNS settings to propagate around the world. This process can typically take around 2 hours, however it might take up to 48 hours for your changes to be active.

In practice it can take some time for all the DNS changes to propagate through the entire public Internet, so if your domain name does not appear to be working, you may have to be patient.  

Once the settings have propagated, you will be able to navigate to your website through your custom domain.

Thank you! Your comment has been submitted for approval.

Was this article helpful?
Thank you for your feedback!