How to connect HTTPS to a domain bought elsewhere
This guide is only for domains registered with a company other than Mozello. If your domain is registered with Mozello, click here.
Mozello users can link a non-Mozello domain they own to the Cloudflare service for setting up a secure HTTPS connection and improving the website's compliance with modern security and browser requirements.
1. Create an account on the Cloudflare website.
2. Under Websites, click Add Site.
3. Enter your domain name, for example, yourdomain.com. We often use the aivars.me domain in our illustrations.
4. Once you enter the domain, a window will open for you to select your plan. Choose a free plan.
5. Cloudflare will attempt to copy the DNS entries after your selecting the plan, but this process may fail or be incomplete. All A, AAAA, and CNAME entries where Name is www or the same as your domain, and at the same time these do not meet the requirements of Step 6, must be removed by clicking Delete. Leave the rest of entries, especially the MX and TXT entries, if any.
For example, in the figure below, all A and AAAA entries should be deleted as they do not meet the conditions of Step 6, but if there were also MX or TXT entries, they should have been left untouched.
6. Make sure the correct entries are added. Mozello requires the following two entries:
- The A entry where Name is yourdomain.lv and Content is 184.108.40.206
- The CNAME entry where Name is www and Content is web.mozello.com
If any of them are missing or the Name/Content value is different, add them manually by clicking the Add record button.
The A entry must be added exactly as follows (use @ next to Name as shown in the figure)
The CNAME entry must be added exactly as follows (enter www next to Name as shown in the figure)
The final result should look like this. There must be no other A, AAAA, or CNAME entries with the same Name
7. In the SSL/TLS section, change SSL/TLS encryption mode to Flexible.
8. Under the DNS records in the DNS section, there is a Cloudflare Nameservers section. Copy or write down the entries shown here, as you will need to enter them in your domain management panel.
9. The next step is to log in to your domain management panel and change Nameservers. You can find this panel where you bought your domain. Alternatively, you can contact the customer service of the company with which you registered the domain and ask them to do it for you.
10. Then wait for Cloudflare to determine that the Nameservers are correct. The waiting time can be 24 - 48 hours, but it usually takes a few hours. HTTPS will start automatically. As soon as the page is accessible with an https connection, without errors, you will know that everything is working properly.
11. Under SSL/TLS -> Edge Certificates, enable Always Use HTTPS so that your website always automatically redirects from an insecure to a secure connection.
What if it doesn't work?
If anything goes wrong, please contact our customer service and tell us exactly what is wrong so that we can help.« Back