1

can an azure web site be a single index.html file?

I keep getting The page cannot be displayed because an internal server error has occurred.

and when I look at wwwroot my that file keeps disappearing.

I'm deploy using ftp-simple through visual studio code into /site/wwwroot/

Hell.Bent
  • 1,667
  • 9
  • 38
  • 73

1 Answers1

2

Yes, an Azure Web App can be a single index.html. Try creating a clean new site, and dropping an index.html in d:\home\site\wwwroot via Kudu Console (or FTP), and you will be able to request it.

David Ebbo
  • 42,443
  • 8
  • 103
  • 117
  • This helps but I think there is more to it. https://stackoverflow.com/questions/47877650/how-do-i-host-a-public-static-site-as-a-web-app – Kirsten Dec 19 '17 at 00:22