How To Upload Hugo Website on Php Hosting / Live Server

Hi i want to upload my hugo website on my hosting…how to upload and see the changes…i am doing these steps but dosen’t show any thing…

  1. First of All i compress all files and folders of Hugo in .zip and extract on my public html folder…
    2.Extract All things and run but show nothing like this…
    here is the link of my hosting and folders…
    http://hugo.githuc.com/Hugo/
    3.I am using my subdomain but please tell me the procedure only for domains.Thanks in advance

You don’t have to compress the whole source for you website. Furthermore, there’s usually no need to copy the Hugo binary as well.

Instead, go to the root folder of your Hugo website in the console and execute the Hugo command. Now, Hugo has taken all source files and turned them into a website, i.e. in HTML, CSS, JS… files. They have been saved into a new subfolder called “public”.

Just copy public on your server and you’re done.

ok sir i understand but what command i type and execute in root folder of hugo…