My beginner project does not have index.html

I am doing a bootcamp kind of a thing and I was asked to create a file called profile.html instead of index.html so when I try to host that on render.com it always throws me the error file not found with a black background no matter the publish path… Is this an error or it was intended to work this way???

Hi,

I think I’ve responded to a ticket you also opened about this.

If you want a Static Site to respond without an explicit filename, e.g. a_service.onrender.com, the HTML file will need to be named index.html.

Otherwise, you’ll need to reference the filename directly, e.g. a_service.onrender.com/profile.html

Alan

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