Thank you, I actually had a different problem.
When naming, I named the whole file "index.html", while in reality, the file only needed to be called "index", as the ".html" comes from the file itself, not the name. Now it works, thank you for the help.