Cloudflare can improve the performance of your landing page and speed up loading times by using multiple data centers. Some domain providers require Cloudflare to set the DNS records and connect domains or subdomains with landing pages created with Smartpages.

This guide will show you how to add A and CNAME records in Cloudflare. When adding or editing records, you must temporarily disable the proxy for the domain.

Add a new domain to Cloudflare

  1. Add your domain to your Smartpages account. Follow this guide.
  2. You need to set up a free account to add a domain to Cloudflare and change DNS records. You can sign up here.
  1. Enter your domain and click on Add site.
  1. Select the Free plan.
  1. Once the quick scan has been completed, you can add DNS records.
  1. Add new records.

Remember to disable Cloudflare (proxy) after adding new value for each record and then save changes. An active proxy will make it impossible to install the SSL certificate in Smartpages.

– Add two new DNS records (CNAME and A) if you want to redirect a root domain.

Type A

Name: @

IPv4 address: 174.129.25.170

Type CNAME

Name: www

Target: cname.smartpages.com

– Add one CNAME record if you want to redirect a subdomain.

Type CNAME
Name: www
Target: cname.Smartpages.com

7. Save changes. Cloudflare will indicate the nameserves that you should remove and add to your domain provider’s account.

8. Changes can take up to 24 hours.

Changing DNS records to Smartpages– I already have my domain in Cloudflare

  1. If you have a domain added to Cloudflare and you want to redirect it to Smartpages, you need to switch off Cloudflare (proxy) for some time. Click on Proxied to turn it off.
  1. Now you can add your domain to Smartpages. When you see your domain active on the list, click on DNS only to switch on Cloudflare cloud again.

Add SSL in Cloudflare

  1. Make sure that your domain has been installed correctly in Smartpages.
  2. Go to the SSL/TLS tab in your Cloudflare panel and find SSL options. Chose Full (strict) SSL.

Full (strict) SSL option in Cloudflare

To guarantee the highest security of your landing page, you should use the Full SSL (strict) in Cloudflare. It requires a secure connection between your visitor and Cloudflare along with the secure, authenticated connection between Cloudflare and the server, where the landing page is hosted (in this case, in our Smartpagesserver).

REMEMBER:

Active Cloudflare CDN acts as a proxy, so our system cannot verify the CNAME points to Smartpages servers correctly. We are not able to install the Let’s Encrypt SSL for the domain in this case, because our system relies on verifying the CNAME. Once the SSL certificate has been successfully added in Smartpages, you can enable the Cloudflare proxy again.

Was this article helpful to you?

admin

Comments are closed.