I built and deployed a basic RemixJS app on netlify for a school project. It works fine when I visit the netlify url, but I get a not found error when I use the subdomain I set on my own domain through CloudFlare.
netlify url: https://fizik-lab.netlify.app/
personal domain: https://fizik.boravarol.com/
CNAME target is set to fizik-lab.netlify.app
perry
May 5, 2022, 4:42pm
2
hi there.
so who is the DNS provider for the domain? is it cloudflare? if yes, then you’d need to speak to cloudflare support about the entries to serve the domain correctly.
Hey @varolbora5
It appears the records fizik.boravarol.com
are not configured as per the Configure external DNS for a custom domain → Configure a subdomain as there are two A, and two AAAA records rather than the CNAME specified in the documentation.
I have a CNAME record pointing to the netlify domain, and it does load the page from netlify but it doesn’t load the page. And are you sure you are checking the correct domain, there is no AAAA records on mine.
I don’t see a CNAME record.
% dig fizik.boravarol.com CNAME +answer +all
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24951
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;fizik.boravarol.com. IN CNAME
;; AUTHORITY SECTION:
boravarol.com. 3600 IN SOA heidi.ns.cloudflare.com. dns.cloudflare.com. 2277153360 10000 2400 604800 3600
;; Query time: 170 msec
;; SERVER: fe80::be30:d9ff:febc:408b%7#53(fe80::be30:d9ff:febc:408b%7)
;; WHEN: Fri May 06 14:58:37 AEST 2022
;; MSG SIZE rcvd: 108
I do however see A records
% dig fizik.boravarol.com A +answer +all
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52264
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;fizik.boravarol.com. IN A
;; ANSWER SECTION:
fizik.boravarol.com. 222 IN A 104.21.90.8
fizik.boravarol.com. 222 IN A 172.67.150.165
;; Query time: 2 msec
;; SERVER: fe80::be30:d9ff:febc:408b%7#53(fe80::be30:d9ff:febc:408b%7)
;; WHEN: Fri May 06 14:59:05 AEST 2022
;; MSG SIZE rcvd: 80
and AAAA records
% dig fizik.boravarol.com AAAA +answer +all
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53213
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;fizik.boravarol.com. IN AAAA
;; ANSWER SECTION:
fizik.boravarol.com. 300 IN AAAA 2606:4700:3032::ac43:96a5
fizik.boravarol.com. 300 IN AAAA 2606:4700:3036::6815:5a08
;; Query time: 65 msec
;; SERVER: fe80::be30:d9ff:febc:408b%7#53(fe80::be30:d9ff:febc:408b%7)
;; WHEN: Fri May 06 14:59:53 AEST 2022
;; MSG SIZE rcvd: 104
that could be because I had it proxied, I turned the proxy off, could you check again now?
Looks right now.
It does not, however, load the site at fizik-lab.netlify.app
. Have you connected it as a custom domain to the site?
I pointed to the netlify domain through cloudflare, the docs does not say anything about adding it as a custom domain
See the following documentation