Pages deployment is not accessible - HTTP 404

Hello! I am deploying Astro webpage using the CloudFlare pages and the deployment worked perfectly on pages.dev. Yesterday I tried to create new project as I wanted to start from scratch and connect my new domain. The new pages project that I created is not deploying the page anymore even though the build is successful and results with HTTP 404... Any ideas on what might be causing this? Only thing I did was buy custom domain in the meantime and tested it on the older projects..
18:14:38.867 ✨ Upload complete!
18:14:41.775 Success: Assets published!
18:14:43.501 Success: Your site was deployed!
18:14:38.867 ✨ Upload complete!
18:14:41.775 Success: Assets published!
18:14:43.501 Success: Your site was deployed!
5 Replies
vgagaleski
vgagaleskiOP2mo ago
I have a feeling that somehow the old pages projects that I deleted are causing some caching issues..
Walshy
Walshy2mo ago
404 usually means your output directory is not correct
vgagaleski
vgagaleskiOP2mo ago
the output directory is set to /
Walshy
Walshy2mo ago
is that where your html files are?
vgagaleski
vgagaleskiOP2mo ago
hmm that is a good point, they are in /dist let me update this and retry damn, that was a really naive and dumb mistake 😄

Did you find this page helpful?