Publishing hugo website to the server


#1

Hello, I’m new on hugo and just created a website but I feel lost now because I just don’t get it how should I put it on my server. Where should be the index.html file? What other files should I add? Thanks in advance.


#2

Everything in the public/ folder should be copied up to your server.


#3

But where is index.html file?


Hugo site locally has no index.html in public folder yet works on Netlify
#4

If you run hugo without the --server option, it will create the file public/index.html.

See the example on http://gohugo.io/overview/usage/


#5

A post was split to a new topic: Please explain to me how the public folder and index.html works