Cloudflare is one of the leading Content Delivery Network (CDN) providers on the Internet. In addition to its CDN services, Cloudflare offers a compre

Deploy a Hugo website to Cloudflare

submited by
Style Pass
2024-10-13 20:00:05

Cloudflare is one of the leading Content Delivery Network (CDN) providers on the Internet. In addition to its CDN services, Cloudflare offers a comprehensive suite of solutions, including cloud cybersecurity, DDoS mitigation, Wide Area Network (WAN) services, and Domain Name System (DNS) management.

First, we need to purchase or rent a domain name for our site. I highly recommend using Namecheap due to their affordable prices and excellent customer support (note: I have no affiliation with them).

Cloudflare assigns unique nameservers to each website. In my case, the nameservers are coraline.ns.cloudflare.com and kareem.ns.cloudflare.com.

If you purchased your domain through a different DNS provider, refer to the instructions from both your provider and Cloudflare. In this guide, we’ll be following the steps for Namecheap.

In the Domain List section, select your domain and navigate to Nameservers. Change the setting to Custom DNS, then enter the Cloudflare nameservers assigned to you.

Leave a Comment