# Deploying Hugo on S3 using wercker

**URL:** <https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733>\
**Category:** support\
**Created:** [March 8, 2017, 2:28am UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733 "2017-03-08T02:28:39Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 9, 2017, 9:56pm UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/22 "2017-03-09T21:56:08Z")

</div>

Also, put the partial in the original place I mentioned and _not_ in the theme. Otherwise, you’re going to hit issues in the future with maintaining compatibility with the upstream…

That is…

- `layouts/partials/footer.html`

And **_not_** overwriting or modifying `/themes/beautifulhugo/layouts/partials/footer.html`

---

<div class="post-metadata">

**Author:** ![senthil\_thyagarajan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/senthil_thyagarajan/32/2772_2.png) [@senthil\_thyagarajan](https://discourse.gohugo.io/u/senthil_thyagarajan)\
**Post date:** [March 9, 2017, 10:29pm UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/23 "2017-03-09T22:29:56Z")

</div>

@rdwatters I did create the S3 bucket initially and was using for static html page I used to upload. I modified the baseurl in config file. Got the footer.html outside as the path mentioned by me and not kep the original one as it was.  
It still goes as [www.stencilled.me/stencilled.me/css/main.css](http://www.stencilled.me/stencilled.me/css/main.css)

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 9, 2017, 10:32pm UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/24 "2017-03-09T22:32:37Z")

</div>

I’m getting more confident then that this is S3 and not Hugo.

Are you using Route 53? What are you using for your custom domain? What do you have set as your URL within the bucket?

Also, have you tried connecting with Amazon’s customer service? 😄

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 9, 2017, 10:49pm UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/26 "2017-03-09T22:49:03Z")

</div>

> [@senthil\_thyagarajan](#):
>
> Sorry if I am being too naive on this. T

Don’t worry about it 😄

Sorry, but I don’t think me helping you configure your bucket through screenshots is going to be as effective as you just going directly to an expert in this product. That means either Amazon or just their docs. I would [start here](http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html).

---

<div class="post-metadata">

**Author:** ![senthil\_thyagarajan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/senthil_thyagarajan/32/2772_2.png) [@senthil\_thyagarajan](https://discourse.gohugo.io/u/senthil_thyagarajan)\
**Post date:** [March 10, 2017, 1:11am UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/27 "2017-03-10T01:11:28Z")

</div>

@rdwatters I will then go ahead and delete my current bucket and start working from scratch

---

<div class="post-metadata">

**Author:** ![rdwatters](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rdwatters/32/2848_2.png) [@rdwatters](https://discourse.gohugo.io/u/rdwatters)\
**Post date:** [March 10, 2017, 1:51am UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/28 "2017-03-10T01:51:31Z")

</div>

FWIW @senthil_thyagarajan If you are not fully obligated to using S3 and you’re already using GitHub…and you don’t anticipate a huge amount of traffic on this site, I usually recommend to my friends to just use [Netlify](https://netlify.com) to build sites for both Hugo and Jekyll. It’s crazy _easy_ to get up and running so that you can focus your energy content.

That said, I have a an internal-only site on S3 here at work that’s pretty damn solid. HTH.

---

<div class="post-metadata">

**Author:** ![senthil\_thyagarajan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/senthil_thyagarajan/32/2772_2.png) [@senthil\_thyagarajan](https://discourse.gohugo.io/u/senthil_thyagarajan)\
**Post date:** [March 10, 2017, 2:58am UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/29 "2017-03-10T02:58:07Z")

</div>

@rdwatters I cant thank you more 🙂

presenting a rough draft of the website with css and incomplete content

[http://www.stencilled.me/](http://www.stencilled.me/)

---

<div class="post-metadata">

**Author:** ![senthil\_thyagarajan](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/senthil_thyagarajan/32/2772_2.png) [@senthil\_thyagarajan](https://discourse.gohugo.io/u/senthil_thyagarajan)\
**Post date:** [March 10, 2017, 2:59am UTC](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733/30 "2017-03-10T02:59:44Z")

</div>

@rdwatters I updated the hugo build and switched to a different theme. I might go back to the old theme just to test it.

[Previous page](https://discourse.gohugo.io/t/deploying-hugo-on-s3-using-wercker/5733.md?page=1)
