At the bottom of the page https://www.cloudflare.com/distributed-web-gateway/ there are instructions for “Connecting Your Website”.
I believe I have followed them correctly, but when I go to the CNAME address the server responds 404 page not found:
[email protected]:~$ wget https://gun.warehouseman.com/
--2019-08-27 22:16:57-- https://gun.warehouseman.com/
Resolving gun.warehouseman.com (gun.warehouseman.com)... 104.18.253.167, 104.18.254.167, 104.18.252.167, ...
Connecting to gun.warehouseman.com (gun.warehouseman.com)|104.18.253.167|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-08-27 22:16:58 ERROR 404: Not Found.
[email protected]:~$
The direct IPFS link through CloudFlare works:
[email protected]:$ wget https://cloudflare-ipfs.com/ipfs/Qmd7vRT8t3ggSLSEMq9NLd2dg2bnNwGbBaiUP4viSQCbtz/
--2019-08-27 22:21:15-- https://cloudflare-ipfs.com/ipfs/Qmd7vRT8t3ggSLSEMq9NLd2dg2bnNwGbBaiUP4viSQCbtz/
Resolving cloudflare-ipfs.com (cloudflare-ipfs.com)... 104.18.254.167, 104.18.64.168, 104.18.255.167, ...
Connecting to cloudflare-ipfs.com (cloudflare-ipfs.com)|104.18.254.167|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 181 --.-KB/s in 0s
2019-08-27 22:21:15 (1.36 MB/s) - ‘index.html’ saved [181]
[email protected]:$
My DNS settings seem correct from my reading of the instructions:
[email protected]:~$ dig -t txt _dnslink.warehouseman.com
: : : : :
;; ANSWER SECTION:
_dnslink.warehouseman.com. 299 IN TXT "dnslink=/ipfs/Qmd7vRT8t3ggSLSEMq9NLd2dg2bnNwGbBaiUP4viSQCbtz"
: : : : :
[email protected]:~$ dig gun.warehouseman.com
: : : : :
;; ANSWER SECTION:
gun.warehouseman.com. 299 IN CNAME cloudflare-ipfs.com.
cloudflare-ipfs.com. 299 IN A 104.18.64.168
cloudflare-ipfs.com. 299 IN A 104.18.255.167
: : : : :
[email protected]:~$
If someone could spot my mistake here I would be very grateful.
Thanks!