Trouble with hugo uploaded and not in root?

You have to view the content of the generated site using a browser. Opening the html file from the filesystem won’t work.

IF you really want a serverless site have a look at Crafting and configuring a "serverless" site