Hi,
I am trying to set to custom domain in netlify. There are some questions posted in this forum as well but that does not solve my issue. here is what I did:
- Added custom domain: www.thenewspaper.tech
( Note: I added thenewspaper.tech but netlify suggested to use www as primary domain. - In my Custom Domain Panel in Netlify, I see three rows:
(a) Default subdomain : one that is issued withmydomain.netlify.com
(b) www.thenewspaper.tech as Primary domain : Here I see Check DNS Configuration Button clicking on which I see a pop up saying “point www CNAME record” and the step is to addwww CNAME mydomain.netlify.com.
I have already done this in Cloudflare in DNS Tab
© thenewspaper.tech - Redirects automatically to primary domain : Here I see Check DNS Configuration Button clicking on which I see a pop up saying "There are two options. Recommended is point ANAME or ALIAS record tomydomain.netlify.com
" and the step is to addthenewspaper.tech ALIAS mydomain.netlify.com..
Now, How do I set up the Step 2© in Cloudflare DNS tab. I don’t want to use Netlify CDN for now at least. Here are my CF crypto and page rules setting:
Page rule setting is:
Rule1:
www.thenewspaper.tech/*
The settings are : Forwarding URL 301 Permanent Redirect: https://thenewspaper.tech/$1
Rule 2: /thenewspaper.tech/* Cache Level: Cache Everything, Edge Cache TTL 14 Days.
Can someone please help me here.
Thanks,
Ajeet