Publishing hugo website to the server

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.

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

But where is index.html file?

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

See the example on

1 Like

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