Cloudflare www dns record and redirect setup
Introduction
Section titled “ Introduction”Now my digital garden is running with a custom domain I wanted to make the www subdomain point to the root domain.
How To
Section titled “ How To”Nameservers
Section titled “Nameservers”My domain is not registrered by Cloudflare but by another external hoster so I used the Cloudflare name servers. After Cloudflare took over the DNS records, I deleted the DNS records that still referred to the external hoster.
Cloudflare DNS
Section titled “Cloudflare DNS”-
Add a new CNAME record
Section titled “Add a new CNAME record”- Go to
DNSandRecordsand clickAdd record - Enter
CNAMEasType - Enter
wwwas theName - Enter
fictionbecomesfact.comas theTarget - Leave
Proxy statusonProxiedandTTLonAuto
- Go to
-
Click on
Section titled “Click on Save”Save
Cloudflare Page Rule
Section titled “Cloudflare Page Rule”-
Add a new page rule
Section titled “Add a new page rule”- Go to
RulesandPage Rulesand clickCreate Page Rule - Enter your URL
www.fictionbecomesfact.com/* - Enter these
Settings:Forwarding URL302 - Temporary Redirecthttps://fictionbecomesfact.com/$1
- Go to
-
Click on
Section titled “Click on Save and Deploy Page Rule”Save and Deploy Page Rule
No comments found for this note.
Join the discussion for this note on Github. Comments appear on this page instantly.