Custom domain stuck at Initializing for hours

Hello,
my registrar is Cloudflare and I’ve added Custom Domains, apex and sub, more than 5 hours ago but they are still stuck at initializing. I’ve checked Debugging Pages and everything seems fine at my hands, as far as I can understand.



curl -I https://rawriddims.com/.well-known/acme-challenge/randomstring
HTTP/1.1 404 Not Found
Date: Sun, 07 Jan 2024 12:51:16 GMT
Content-Type: text/html; charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=qdSoLQ5uVBVvCvXGNWNaI67zoFoMfgAwYRCp9QIGKgb%2F5CS3jcN27HnXny6BGH56ihNuIToEO%2BIluRAOqiUBmzsr9j3pL4cUh2HF4NSHLjWwt9bWIgMKpZmB9dCJR3%2BAOA%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Vary: Accept-Encoding
CF-Cache-Status: DYNAMIC
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-Robots-Tag: noindex
Server: cloudflare
CF-RAY: 841c54c89c90baf7-MXP
alt-svc: h3=":443"; ma=86400

You have deleted and re-added too many times that you’re currently rate limited by Let’s Encrypted: Duplicate Certificate Limit - Let's Encrypt

I’ve moved you to GTS, you can re-add now and see what’s happening.

Sorry. With GTS now custom domains are green Active, but my website is pointing to my 404 page. Why is that? I can see DNS already propagated on DNS checker for both A and AAA records, but not for CNAME

It’s hitting your site so it isn’t to do with the domain, this is down to site config now. It looks like all assets are 404ing too so my guess is your output directory is incorrect. Check that and make sure your build command is correct as well

But rawriddims.pages.dev is working properly, and I’ve just ran another build with no problems:

2024-01-07T14:08:30.037096Z	Cloning repository...
2024-01-07T14:08:31.149494Z	From https://github.com/rawriddims/rawriddims.github.io
2024-01-07T14:08:31.150105Z	 * branch            cb67badf089f4c121b5f960d1ef889c56be15ac9 -> FETCH_HEAD
2024-01-07T14:08:31.15026Z	
2024-01-07T14:08:31.22654Z	HEAD is now at cb67bad test
2024-01-07T14:08:31.22714Z	
2024-01-07T14:08:31.33595Z	
2024-01-07T14:08:31.366824Z	Success: Finished cloning repository files
2024-01-07T14:08:31.943277Z	Installing dependencies
2024-01-07T14:08:31.951083Z	Python version set to 2.7
2024-01-07T14:08:35.235606Z	Downloading and installing node v16.13.0...
2024-01-07T14:08:35.611823Z	Downloading https://nodejs.org/dist/v16.13.0/node-v16.13.0-linux-x64.tar.xz...
2024-01-07T14:08:36.352995Z	Computing checksum with sha256sum
2024-01-07T14:08:36.476239Z	Checksums matched!
2024-01-07T14:08:40.513494Z	Now using node v16.13.0 (npm v8.1.0)
2024-01-07T14:08:40.808703Z	Started restoring cached build plugins
2024-01-07T14:08:40.817936Z	Finished restoring cached build plugins
2024-01-07T14:08:41.233839Z	Attempting ruby version 2.7.1, read from environment
2024-01-07T14:08:42.792223Z	Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2024-01-07T14:08:43.753994Z	Using PHP version 5.6
2024-01-07T14:08:43.844535Z	5.2.5 is already installed.
2024-01-07T14:08:43.861844Z	Using Swift version 5.2.5
2024-01-07T14:08:43.86236Z	Started restoring cached node modules
2024-01-07T14:08:43.87666Z	Finished restoring cached node modules
2024-01-07T14:08:44.353562Z	Installing NPM modules using NPM version 8.1.0
2024-01-07T14:08:50.536545Z	
2024-01-07T14:08:50.537065Z	added 243 packages, and audited 244 packages in 5s
2024-01-07T14:08:50.537272Z	
2024-01-07T14:08:50.537402Z	44 packages are looking for funding
2024-01-07T14:08:50.537524Z	  run `npm fund` for details
2024-01-07T14:08:50.540091Z	
2024-01-07T14:08:50.540396Z	3 vulnerabilities (2 moderate, 1 high)
2024-01-07T14:08:50.540554Z	
2024-01-07T14:08:50.540682Z	To address all issues, run:
2024-01-07T14:08:50.540879Z	  npm audit fix
2024-01-07T14:08:50.541008Z	
2024-01-07T14:08:50.541186Z	Run `npm audit` for details.
2024-01-07T14:08:50.554471Z	NPM modules installed
2024-01-07T14:08:50.610326Z	Installing Hugo 0.54.0
2024-01-07T14:08:51.50668Z	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2024-01-07T14:08:51.510612Z	Started restoring cached go cache
2024-01-07T14:08:51.525004Z	Finished restoring cached go cache
2024-01-07T14:08:51.620501Z	go version go1.14.4 linux/amd64
2024-01-07T14:08:51.635594Z	go version go1.14.4 linux/amd64
2024-01-07T14:08:51.641703Z	Installing missing commands
2024-01-07T14:08:51.642124Z	Verify run directory
2024-01-07T14:08:51.642429Z	Executing user command: eleventy
2024-01-07T14:08:52.240867Z	1.0.0
2024-01-07T14:08:53.218837Z	[11ty] Writing _site/feed-atom.xml from ./feed-atom.njk
2024-01-07T14:08:53.219322Z	[11ty] Writing _site/feed-rss.xml from ./feed-rss.njk
2024-01-07T14:08:53.219784Z	[11ty] Writing _site/feed-json.json from ./feed-json.njk
2024-01-07T14:08:53.220034Z	[11ty] Writing _site/service-worker.js from ./service-worker.njk
2024-01-07T14:08:53.220218Z	[11ty] Writing _site/sounds/tags/index.html from ./sounds-tags-index.njk
2024-01-07T14:08:53.220471Z	[11ty] Writing _site/sitemap.xml from ./sitemap.njk
2024-01-07T14:08:53.220703Z	[11ty] Writing _site/sights/tags/index.html from ./sights-tags-index.njk
2024-01-07T14:08:53.220908Z	[11ty] Writing _site/search.json from ./static_search.njk
2024-01-07T14:08:54.116171Z	[11ty] Writing _site/sights/afrofuturism-novels/index.html from ./sights/afrofuturism-novels.njk
2024-01-07T14:08:54.116549Z	[11ty] Writing _site/sights/miles-davis-birth-cool/index.html from ./sights/miles-davis-birth-cool.njk
2024-01-07T14:08:54.116737Z	[11ty] Writing _site/sights/less-mccann-jazzfunk/index.html from ./sights/less-mccann-jazzfunk.njk
2024-01-07T14:08:54.116948Z	[11ty] Writing _site/sights/disco-music-stonewall/index.html from ./sights/disco-music-stonewall.njk
2024-01-07T14:08:54.11713Z	[11ty] Writing _site/sights/parliament-funkadelic/index.html from ./sights/parliament-funkadelic.njk
2024-01-07T14:08:54.1173Z	[11ty] Writing _site/sounds/dubmaster-spillus-dubwise/index.html from ./sounds/dubmaster-spillus-dubwise.njk
2024-01-07T14:08:54.11744Z	[11ty] Writing _site/sights/sun-ra-a-joyful-noise/index.html from ./sights/sun-ra-a-joyful-noise.njk
2024-01-07T14:08:54.117591Z	[11ty] Writing _site/sounds/qbert-back-again/index.html from ./sounds/qbert-back-again.njk
2024-01-07T14:08:54.117754Z	[11ty] Writing _site/sounds/kool-herc-block-parties/index.html from ./sounds/kool-herc-block-parties.njk
2024-01-07T14:08:54.11792Z	[11ty] Writing _site/sounds/rogie-vinyl-sundays-2008/index.html from ./sounds/rogie-vinyl-sundays-2008.njk
2024-01-07T14:08:54.118077Z	[11ty] Writing _site/sounds/roc-raida-one-two/index.html from ./sounds/roc-raida-one-two.njk
2024-01-07T14:08:54.118205Z	[11ty] Writing _site/sounds/trane-the-lost-reel/index.html from ./sounds/trane-the-lost-reel.njk
2024-01-07T14:08:54.118368Z	[11ty] Writing _site/404.html from ./404.html (njk)
2024-01-07T14:08:54.118542Z	[11ty] Writing _site/index.html from ./index.njk
2024-01-07T14:08:54.118708Z	[11ty] Writing _site/sights/tags/afrofuturism/index.html from ./sights_tags.njk
2024-01-07T14:08:54.118871Z	[11ty] Writing _site/sights/tags/disco-music/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119004Z	[11ty] Writing _site/sights/tags/documentary/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119234Z	[11ty] Writing _site/sights/tags/funk/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119387Z	[11ty] Writing _site/sights/tags/funkadelic/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119518Z	[11ty] Writing _site/sights/tags/jazz/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119659Z	[11ty] Writing _site/sights/tags/jazz-funk/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119822Z	[11ty] Writing _site/sights/tags/less-mccann/index.html from ./sights_tags.njk
2024-01-07T14:08:54.119961Z	[11ty] Writing _site/sights/tags/miles-davis/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120093Z	[11ty] Writing _site/sights/tags/novels/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120207Z	[11ty] Writing _site/sights/tags/p-funk/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120321Z	[11ty] Writing _site/sights/tags/politics/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120457Z	[11ty] Writing _site/sights/tags/sci-fi/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120604Z	[11ty] Writing _site/sights/tags/session/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120761Z	[11ty] Writing _site/sights/tags/stonewall/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120877Z	[11ty] Writing _site/sights/tags/sun-ra/index.html from ./sights_tags.njk
2024-01-07T14:08:54.120984Z	[11ty] Writing _site/sounds/tags/breaks/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.121088Z	[11ty] Writing _site/sounds/tags/dub/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.121192Z	[11ty] Writing _site/sounds/tags/hip-hop/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.122188Z	[11ty] Writing _site/sounds/tags/jazz/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.122597Z	[11ty] Writing _site/sounds/tags/jazz-funk/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.123021Z	[11ty] Writing _site/sounds/tags/john-coltrane/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.123285Z	[11ty] Writing _site/sounds/tags/kool-herc/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.123953Z	[11ty] Writing _site/sounds/tags/mixtape/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.124418Z	[11ty] Writing _site/sounds/tags/qbert/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.124603Z	[11ty] Writing _site/sounds/tags/recordings/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.124813Z	[11ty] Writing _site/sounds/tags/roc-raida/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.125005Z	[11ty] Writing _site/sounds/tags/rogie/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.125168Z	[11ty] Writing _site/sounds/tags/spillus/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.125342Z	[11ty] Writing _site/sounds/tags/turntablism/index.html from ./sounds_tags.njk
2024-01-07T14:08:54.12552Z	[11ty] Writing _site/colophon/index.html from ./colophon/index.njk
2024-01-07T14:08:54.125691Z	[11ty] Writing _site/contact/index.html from ./contact/index.njk
2024-01-07T14:08:54.125843Z	[11ty] Writing _site/carbon-footprint/index.html from ./carbon-footprint/index.njk
2024-01-07T14:08:54.126023Z	[11ty] Writing _site/contributors/index.html from ./contributors/index.njk
2024-01-07T14:08:54.126186Z	[11ty] Writing _site/contribute/index.html from ./contribute/index.njk
2024-01-07T14:08:54.126327Z	[11ty] Writing _site/about/index.html from ./about/index.njk
2024-01-07T14:08:54.126656Z	[11ty] Writing _site/contributors/roberto-agus/index.html from ./contributors/roberto-agus.njk
2024-01-07T14:08:54.126872Z	[11ty] Writing _site/contributors/roberto-agus/1/index.html from ./contributors/roberto-agus.njk
2024-01-07T14:08:54.127094Z	[11ty] Writing _site/contributors/stefano-caruso/index.html from ./contributors/stefano-caruso.njk
2024-01-07T14:08:54.127277Z	[11ty] Writing _site/privacy/index.html from ./privacy/index.njk
2024-01-07T14:08:54.127464Z	[11ty] Writing _site/contributors/riccardo-rogazione/index.html from ./contributors/riccardo-rogazione.njk
2024-01-07T14:08:54.1276Z	[11ty] Writing _site/contributors/riccardo-rogazione/1/index.html from ./contributors/riccardo-rogazione.njk
2024-01-07T14:08:54.127732Z	[11ty] Writing _site/contributors/riccardo-rogazione/2/index.html from ./contributors/riccardo-rogazione.njk
2024-01-07T14:08:54.127858Z	[11ty] Writing _site/copyright/index.html from ./copyright/index.njk
2024-01-07T14:08:54.128998Z	[11ty] Writing _site/search/index.html from ./search/index.njk
2024-01-07T14:08:54.129138Z	[11ty] Writing _site/sitemap/index.html from ./sitemap/index.njk
2024-01-07T14:08:54.129254Z	[11ty] Writing _site/service/offline/index.html from ./service/offline/index.njk
2024-01-07T14:08:54.129365Z	[11ty] Writing _site/sights/index.html from ./sights/index.njk
2024-01-07T14:08:54.129471Z	[11ty] Writing _site/sights/1/index.html from ./sights/index.njk
2024-01-07T14:08:54.129589Z	[11ty] Writing _site/sights/2/index.html from ./sights/index.njk
2024-01-07T14:08:54.129701Z	[11ty] Writing _site/sounds/index.html from ./sounds/index.njk
2024-01-07T14:08:54.129831Z	[11ty] Writing _site/sounds/1/index.html from ./sounds/index.njk
2024-01-07T14:08:54.129941Z	[11ty] Writing _site/sounds/2/index.html from ./sounds/index.njk
2024-01-07T14:08:54.142741Z	[11ty] Benchmark    648ms  31%   140× (Configuration) "jsmin" Nunjucks Async Filter
2024-01-07T14:08:54.143302Z	[11ty] Benchmark    301ms  15%    75× (Configuration) "htmlmin" Transform
2024-01-07T14:08:54.143661Z	[11ty] Copied 31 files / Wrote 75 files in 1.84 seconds (24.5ms each, v2.0.0)
2024-01-07T14:08:54.165681Z	Finished
2024-01-07T14:08:54.166358Z	Note: No functions dir at /functions found. Skipping.
2024-01-07T14:08:54.166571Z	Validating asset output directory
2024-01-07T14:08:54.759459Z	Deploying your site to Cloudflare's global network...
2024-01-07T14:08:55.514806Z	Parsed 3 valid header rules.
2024-01-07T14:08:57.447326Z	Uploading... (103/105)
2024-01-07T14:08:58.020099Z	Uploading... (104/105)
2024-01-07T14:08:58.195167Z	Uploading... (105/105)
2024-01-07T14:08:58.195526Z	✨ Success! Uploaded 2 files (103 already uploaded) (1.57 sec)
2024-01-07T14:08:58.195807Z	
2024-01-07T14:08:58.68928Z	✨ Upload complete!
2024-01-07T14:09:00.473684Z	Success: Assets published!
2024-01-07T14:09:01.526904Z	Success: Your site was deployed!

Do you have a Worker or Origin Rule or similar over your rawriddims.com domain?

I do not use any Worker. I do have a Cache Rule disabled, not in use at the moment, and a few Transform Rules which I’m using for images on a B2 Backblaze bucket as explained here

Is this running over this zone and changing the path? If so, that’ll be why this is 404ing.
You can validate 100% it’s a zone level rule issue by disabling the proxy on the CNAME DNS record. That’ll make it hit Pages directly and not run any of your zone config.

My money is on that transform rule though.

Best way to validate it is to run a request through the tracer here: https://dash.cloudflare.com/?to=/:account/trace/search
My guess is you’ll see the Transform Rule being ran

1 Like

For some reason their guide doesn’t limit the rule to a specific domain so unless you did that, this will run on everything.

You can limit to a domain with an expression like so:

1 Like

Ok, so this is the Rewrite URL, and not some of the Modify Response Header? Am I correct?
If so, how can I change this expression I’m currently using?

not starts_with(http.request.uri.path, "/file/rawriddims-img")

I don’t understand what I should use in place of “/file/abc”.

Thank you so much WalshyMVP
I finally understood that it was my B2 bucket name to place in there and now custom domains are properly pointed. Thank you for helping me, I appreciate it.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.