Static HTML page not working on Cloudflare Pages

Error 404

forestdean.com

I uploaded a simple index.html to Cloudflare Pages on 12th March, from a GitHub repository. The file was in the root directory.

2023-03-12T19:00:45.224332Z	Cloning repository...
2023-03-12T19:00:47.026951Z	From https://github.com/forestDean/forestDean.com
2023-03-12T19:00:47.027586Z	 * branch            9f2fe43ee6141aea962923cfe74c81024327b3c6 -> FETCH_HEAD
2023-03-12T19:00:47.027766Z	
2023-03-12T19:00:47.17146Z	HEAD is now at 9f2fe43 Update README.md
2023-03-12T19:00:47.172181Z	
2023-03-12T19:00:47.319574Z	
2023-03-12T19:00:47.347049Z	Success: Finished cloning repository files
2023-03-12T19:00:47.903696Z	No build command specified. Skipping build step.
2023-03-12T19:00:47.904162Z	Note: No functions dir at /functions found. Skipping.
2023-03-12T19:00:47.904331Z	Validating asset output directory
2023-03-12T19:00:48.535372Z	Deploying your site to Cloudflare's global network...
2023-03-12T19:00:50.939383Z	 Uploading... (0/41)
2023-03-12T19:00:50.940104Z	
2023-03-12T19:00:50.950198Z	 [2K [1A [2K [1A [2K [GPOST /pages/assets/upload
2023-03-12T19:00:50.950578Z	 Uploading... (0/41)
2023-03-12T19:00:50.950802Z	
2023-03-12T19:00:50.961602Z	 [2K [1A [2K [1A [2K [GPOST /pages/assets/upload
2023-03-12T19:00:50.962082Z	 Uploading... (0/41)
2023-03-12T19:00:50.962343Z	
2023-03-12T19:00:50.998245Z	 [2K [1A [2K [1A [2K [GPOST /pages/assets/upload
2023-03-12T19:00:50.998579Z	 Uploading... (0/41)
2023-03-12T19:00:50.998727Z	
2023-03-12T19:00:52.395195Z	 [2K [1A [2K [1A [2K [Gresult: null
2023-03-12T19:00:52.395577Z	 Uploading... (0/41)
2023-03-12T19:00:52.395854Z	
2023-03-12T19:00:52.397472Z	 [2K [1A [2K [1A [2K [G Uploading... (13/41)
2023-03-12T19:00:52.397703Z	
2023-03-12T19:00:52.905659Z	 [2K [1A [2K [1A [2K [Gresult: null
2023-03-12T19:00:52.905983Z	 Uploading... (13/41)
2023-03-12T19:00:52.906146Z	
2023-03-12T19:00:52.907798Z	 [2K [1A [2K [1A [2K [G Uploading... (27/41)
2023-03-12T19:00:52.908024Z	
2023-03-12T19:00:56.315567Z	 [2K [1A [2K [1A [2K [Gresult: null
2023-03-12T19:00:56.315928Z	 Uploading... (27/41)
2023-03-12T19:00:56.316074Z	
2023-03-12T19:00:56.316605Z	 [2K [1A [2K [1A [2K [G Uploading... (41/41)
2023-03-12T19:00:56.316866Z	
2023-03-12T19:00:56.318968Z	✨ Success! Uploaded 41 files (6.04 sec)
2023-03-12T19:00:56.31917Z	
2023-03-12T19:00:56.746256Z	✨ Upload complete!
2023-03-12T19:00:58.031916Z	Success: Assets published!
2023-03-12T19:00:58.898956Z	Success: Your site was deployed!

I then added a custom domain as per the guidelines…

However, after purging the Cloudflare cache and waiting over a week …we still have an Error 404. As I am on a free plan, I can’t raise a Support Ticket so I have to ask the Community. Advice appreciated.

The repo is private so it’s hard to easily see but it seems like your index.html aren’t at the root of the repo.

Do you have it (and other pages) in a directory?

1 Like

Thanks for looking.

I checked the repo & all looked good. Opened the index.html & added a few characters to force a Pages update …et voila …it works!

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