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
neiljay4w ago
Even I see the same. What have you done to resolve? Any steps taken? Does the mentioned host exist?
WTDawson9
WTDawson94w ago
How is this website set up? Is it a static website?
Oscar
OscarOP4w 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
WTDawson94w ago
Can I take a look at the structure?
Oscar
OscarOP4w ago
I'd love help, but as I'm very new to cloudflare, I need guidance on how to do that
WTDawson9
WTDawson94w 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
OscarOP4w ago
I can send you the html file in dms
WTDawson9
WTDawson94w 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
OscarOP4w ago
I don't... Do I need one?
WTDawson9
WTDawson94w ago
Try creating an empty one and see if it resolves the problem
Oscar
OscarOP4w ago
wdym empty? Just a file with nothing in it called "index.html"? @WTDawson9 that worked. Thank you so much!!!
WTDawson9
WTDawson94w 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
OscarOP4w ago
Will do
Want results from more Discord servers?
Add your server