404 error after Publishing

so i recently developed code for my website published on git and was unable to publish it on netlify for reasons i dont understand. all my repos didnt work and i kept getting the 404 error when even seems fine in my html folder. the code contains some bootstrap 5, images and icon and i dont know if that could stop it from working

https://poetic-squirrel-814bdb.netlify.app here is the site name. i dont know if it is legal to include my git repo here. please i need help.

Hey @Driscoll

Have you checked out this support guide

If you are still having issues, can you share the repository you are deploying from the the build settings from the Netlify UI?

i have carefully checked out the support guide and non of it applies to the issue i’m having right now. i will share the repo. GitHub - GreenY3z/kasabubu

Hello @Driscoll , sorry you are having a hard time deploying your site.

We attempt to serve only /index.html in case you try to load your site without a path, for example:


Kindly rename the medical.html in your project folder to index.html and then redeploy again.
Hope this helps.

1 Like

thank you it finally worked. turns out i only renamed it in my local file but it didnt commit to my github. thank you.

1 Like

You are welcome @Driscoll. I’m glad you finally got it working.

1 Like