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..
5 Replies
I have a feeling that somehow the old pages projects that I deleted are causing some caching issues..
404 usually means your output directory is not correct
the output directory is set to /
is that where your html files are?
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 😄