404 error when I try to open my website

Whenever I click "visit" in my Cloudflare dashboard, instead of showing my coded website, I receive this screen. How can I fix this?
No description
13 Replies
neiljay
neiljay2mo ago
Even I see the same. What have you done to resolve? Any steps taken? Does the mentioned host exist?
WTDawson9
WTDawson92mo ago
How is this website set up? Is it a static website?
Oscar
OscarOP2mo ago
Yep, it’s a static website. I haven’t done anything to resolve it because I’m unsure of how to fix it
WTDawson9
WTDawson92mo ago
Can I take a look at the structure?
Oscar
OscarOP2mo ago
I'd love help, but as I'm very new to cloudflare, I need guidance on how to do that
WTDawson9
WTDawson92mo ago
Of your static website, I'm assuming it's some kind of HTML or React website, can I take a look at the file structure 404 indicates that the server cannot find the correct resource for what you are requesting
Oscar
OscarOP2mo ago
I can send you the html file in dms
WTDawson9
WTDawson92mo ago
@Oscar Welton-Rosie So, where this static site is supposed to be, at the root of this, do you have an index.html file?
Oscar
OscarOP2mo ago
I don't... Do I need one?
WTDawson9
WTDawson92mo ago
Try creating an empty one and see if it resolves the problem
Oscar
OscarOP2mo ago
wdym empty? Just a file with nothing in it called "index.html"? @WTDawson9 that worked. Thank you so much!!!
WTDawson9
WTDawson92mo ago
Alright, you may want to set up a redirect in your index.html page to go to what ever your main page is
Oscar
OscarOP2mo ago
Will do
Want results from more Discord servers?
Add your server