How Can We Help?
Print

Domain Setup and DNS Records for your Website

A domain name and a hosting site is very important for your website. If you purchased a custom domain from a third-party provider, you can set up the domain and DNS records by following the instructions provided in the below topics.

Setting up the Domain

To set up the domain name, do the following;

  1. In LeadCenter.AI Store Manager > Website Builder, click Setup Domain.
    The Setup Domain page is displayed.
  2. Enter the domain name "https://......" as shown in the screenshot below
    select-domain-leadcenter
  3. Click Save Domain
    The domain name is saved.
  4. After adding domain name modify the DNS (Domain Name Server) Records.
    1. See Modify DNS Records in GoDaddy.
    2. See Modify DNS Records in Cloudflare.


What is DNS?

DNS (Domain Name System) allows users to connect to the websites using domain names instead of IP addresses. It translates domain names to IP addresses so browsers can load Internet resources.

Configuring DNS Records in GoDaddy

To configure the DNS Records in GoDaddy, do the following;

  1. Go to godaddy.com and login
  2. Click Domains > All Domains (drop-down)
  3. Click on your domain from your domain lists

    The Domain Settings page will be displayed.
  4. Click on Manage DNS 

    The DNS Management page is displayed.
    Make sure to delete any A or CNAME records that will conflict with the new records. It is recommended to take a snapshot of those records before you delete them.
  5. On the DNS Management page, click on the Add button 
  6. Enter the information in the provided blank fields and click Save.
    1. Type: Select "A"
    2. Name/Host: Enter "@" for the root domain
    3. Points: Hosting server IP address (52.213.115.46)
    4. TTL: 1 Hour (do not modify this)
  7. To point www to your root domain. Click on Add again.
  8. Enter the information in the provided blank fields and click Save.
    1. Type: Select "CNAME"
    2. Name/Host: Enter "www"
    3. Points: Enter "@" to point to the root domain
    4. TTL: 1 Hour (do not modify this)

You have successfully modified the DNS records in GoDaddy.

Configuring DNS Records in Cloudflare

As Cloudflare provides extra features like free SSL, caching, firewall, etc. we highly recommend moving your DNS records to Cloudflare. As it is not a domain provider, you need to continue with the same for example; GoDaddy. Cloudflare will act as a proxy for security-related features. If you want to renew your domain you still need to go and renew it from the domain provider for example; GoDaddy.
Please click here for detailed instructions on how to change your domain nameservers to Cloudflare.

SSL/TLS encryption mode
When you create a new account in Cloudflare, it will take up to 48 hours to assign an SSL/TLS certificate to your account. Once a certificate is assigned, click on SSL/TLS in the main menu and change Your SSL/TLS encryption mode to Full.

Once your domain is active on Cloudflare, to modify the DNS records do the following;
You need to create a Cloudflare account.

  1. Log in to Cloudflare and click Add Site + 
  2. Enter the site name and click on Add Site
  3. Select the required plans and click Continue
    A message will be displayed "Scanning for existing DNS records"
  4. In the "Add more DNS records for xxxx.sxx" page click Continue button
  5. Click Confirm in the Add Records Later Dialog box.
  6. Move your nameservers from Cloudflare to your domain provider. See the below screenshot for reference.
  7. On the Cloudflare Quick Start Guide page, click Get Started and do the following;
    1. Automatic HTTPS Rewrites: Enabled and Save it
    2. Auto Minify: Check the check-boxes for JavaScript, CSS, and HTML and Save
    3. Brotli: Enabled (Do not change it) and click Finish.
  8. Click DNS  and click Add Record+
  9. Enter the information in the provided blank fields and click Save.
    1. Type: Select "CNAME"
    2. Name/Host: Enter "@" for the root domain
    3. Target: us-domain.leadcenter.ai
    4. TTL: 1 Hour (do not modify this)
  10. Enter the information in the provided blank fields and click Save.
    1. Type: Select "CNAME"
    2. Name/Host: Enter "www"
    3. Target: Enter "@" to point to the root domain
    4. TTL: 1 Hour (do not modify this)
    5. Proxy Status: Proxied

You have successfully modified the DNS records in Cloudflare.

Additional Page Rules Configuration in Cloudflare

It is recommended to set up the following Page Rules in Cloudflare.

To set up the page rules in Cloudflare, do the following;

  1. Login to Cloudflare
  2. Click on Rules  icon > Create Page Rule
  3. Create the following page rules:
    1. Forwarding URL rule with 301 - Permanent Redirect from http://yourdomain.com/* to https://www.yourdomain.com/
    2. Another Forwarding URL rule with 301 - Permanent Redirect from https://yourdomain.com/* to https://www.yourdomain.com/
    3. Always Use the HTTPS rule. Apply to the URL https://www.yourdomain.com/
      See the below screenshot for reference.
  4. After the changes click Save and Deploy.

Table of Contents
© All Rights Reserved By LeadCenter.AI