A guide to connecting a domain to Keitaro via Cloudflare with automatic HTTPS. Suitable for domains purchased on Namecheap, Porkbun, or other registrars. We will also use the Cloudflare Free plan.
Requirements to connect a domain
> A purchased domain
> A Cloudflare account (Free)
> A Keitaro account
Step 1. Buy a domain
Register an account with a registrar (Namecheap or Porkbun)
Domain name selection, payment, and activation
Step 2. Add the domain to Cloudflare
Add a site
Cloudflare → Add a site
Enter the domain name → choose the Free plan.
Configure DNS records
Delete all existing DNS records.
Add two A records:
[Name @ Content 195.111.11.111]
[Name www Content 195.111.11.111]
Step 3. Add NS records at the registrar
Get Cloudflare nameservers
Copy the NS records provided by Cloudflare.
Update NS at the registrar
In the domain control panel (Namecheap / Porkbun), replace the current NS with Cloudflare NS and save the changes.
Step 4. Add the domain to Keitaro
Add a domain
Keitaro → Domains → Add domain
Enter the domain name and save.
Step 5. Check HTTPS
Verify SSL works
Open the domain in a browser via HTTPS and make sure there are no errors.
Result of connecting Cloudflare and Keitaro
Cloudflare connects your domain to Keitaro and provides a free SSL certificate without additional configuration.