Ask coding questions

← Back to all posts
Why will my site not load?
TaylorHEvans

Whenever I try and load this html site it refuses to load saying it could not find it? Does anyone know why this is? Sorry if I seem dumb.

Comments
hotnewtop
ionX

Oh and index.html the Anchor tags need to have href="Home.html" inside the attribute area. eg:
<a href="Main.html"></a>

ionX

The name of the file is index.html.html look carefully. and having so many html files on the host site could be confusing your browser which one to execute.
if you want to extra create html files try putting them in a folder(not index.html).
If still not executing type https://hostname-of-site/index.html.

CosmicBear

You don't have the file index.html. Replit needs that file to load your website.

ch1ck3n

rename Home.html to index.html

TaylorHEvans

@ch1ck3n It seems that will still not work, sadly.

ch1ck3n

@TaylorHEvans no capitalisation

TaylorHEvans

@ch1ck3n Still wont work after de-capitalizing

ch1ck3n

@TaylorHEvans you have an extra .html

TaylorHEvans

Also, i have only coded the home page so far, that's not the problem, i figured.