BestFromAbove
BestFromAbove

Reputation: 61

aws amplify web app returns 404 with simple website

I have hooked up a simple html into aws amplify and built it. When I click on the production link, it just hits me with a 404 "No webpage was found for the web address". I am not sure what is going on here, the repo only has 1 html that is bare bones. Do I need more than just a html in my repo?

Upvotes: 1

Views: 3718

Answers (1)

BestFromAbove
BestFromAbove

Reputation: 61

The problem was that the main html file has to be called "index.html", if it is called any other name it won't find it and you will get a 404.

Upvotes: 2

Related Questions