Did you read this guide?
I suggest not.
You need an index.html
file. This file must exists at the root of the directory you are deploying. The build log shows
So what Netlify has done is deploy from there, which means that because the HTML file you wish to deploy is inside a directory called Surprise
and is also called Surprise.html
the site is available at https://stirring-speculoos-1be850.netlify.app/surprise/surprise
.
You need to change Surprise.html
to index.html
(this is covered in the support guide above.) You will also need to set the publish directory to Surpise
as this is where the files you want to deploy exist.
Finally as outlined in this support guide PHP scripts don’t work when deployed—PHP is only available at build time. So the response.php
won’t work (this is also referenced as send-email.php
in the Surprise.html
file.)