# All goes wrong when I host publicly!

**URL:** https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906
**Category:** support
**Created:** [July 13, 2020, 10:46am UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906 "2020-07-13T10:46:19Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![weeyin83](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/weeyin83/32/11887_2.png) [@weeyin83](https://discourse.gohugo.io/u/weeyin83)
#### Post date: [July 13, 2020, 10:46am UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906/1 "2020-07-13T10:46:19Z")

</div>

So I am trying to build my first Hugo website and having some issues now I am trying to launch it to the world.

I have a basic site on the cupper theme and it renders find when I am running it locally on my Windows machine. However, when I put it on GitHub and publish it to a Azure Static Web App it doesn’t render any of the theme.

I can’t seem to figure out what is going wrong, probably because I’ve been staring at it to long.

The site is located at: [https://ambitious-river-054aa4203.azurestaticapps.net/](https://ambitious-river-054aa4203.azurestaticapps.net/)  
The code is at: [https://github.com/weeyin83/azureusergroup](https://github.com/weeyin83/azureusergroup)

Any pointers?

---

<div class="post-metadata">

### Author: ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)
#### Post date: [July 13, 2020, 12:42pm UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906/2 "2020-07-13T12:42:57Z")

</div>

![image](https://canada1.discourse-cdn.com/flex036/uploads/gohugo/original/2X/f/fc4c2741d133417c393c1ed58d8149550b2f4f75.png)

---

<div class="post-metadata">

### Author: ![satpras](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/satpras/32/11890_2.png) [@satpras](https://discourse.gohugo.io/u/satpras)
#### Post date: [July 13, 2020, 12:49pm UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906/3 "2020-07-13T12:49:26Z")

</div>

just clear your public and docs directory and rebuild  
hugo -d public

you seem to be pointing to a version before you entered baseURL in your config

---

<div class="post-metadata">

### Author: ![weeyin83](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/weeyin83/32/11887_2.png) [@weeyin83](https://discourse.gohugo.io/u/weeyin83)
#### Post date: [July 15, 2020, 7:21am UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906/4 "2020-07-15T07:21:52Z")

</div>

Thanks for the help. Not I just need to figure out why the menu renders locally but not online. Hugo does not seem to want to make things easy for me. lol

---

<div class="post-metadata">

### Author: ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)
#### Post date: [July 17, 2020, 7:21am UTC](https://discourse.gohugo.io/t/all-goes-wrong-when-i-host-publicly/26906/5 "2020-07-17T07:21:57Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
