Hugo works on Local Host but not on live server

Hi, I am using the Hugo Goa theme and am able to use the Hugo Server command to see my site on local host. This works perfect. I have a Namecheap domain (using namecheap hosting) (www.danialhussain.com). I use filezilla to drag the Public folder to my root folder (if you go to www.danialhussain.com you will be able to click the public folder). As of now I have copied the Goa theme example (changed a few minor details like author name but otherwise it is the same). The base url I have is https://www.danialhussain.com/public/. You can see the errors I am getting with my site not working if you go to my url. My site on localhost looks and acts exactly like (http://themes.gohugo.io/theme/hugo-goa/)