Getting 404 on preview website (solved: was a file name issue)

Hi all, first time using pages and I am having trouble getting it to do anything. I have a html and a css file (these work fine locally). I used the direct upload to add them and deployed. The deployment says it is running, but if I follow the preview URL I get a 404. Presumably I am missing some step to make the system work. But I couldn't find any clear examples of this same problem or the solutions. Thanks in advance for the help.
4 Replies
Walshy
Walshy4mo ago
What's your html file called?
InvalidLogin
InvalidLoginOP4mo ago
a.html, does it need to called something in particular?
Walshy
Walshy4mo ago
Are you going to /a? What's the url? To serve on the index (/) it should be named index.html
InvalidLogin
InvalidLoginOP4mo ago
@Walshy | Deploying That worked, thanks. I had not realised it was a file name based routing system.
Want results from more Discord servers?
Add your server