# Build site locally

**URL:** <https://zola.discourse.group/t/build-site-locally/1316>\
**Category:** Support\
**Created:** [May 16, 2022, 3:18pm UTC](https://zola.discourse.group/t/build-site-locally/1316 "2022-05-16T15:18:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Petrichor](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/petrichor/32/745_2.png) [@Petrichor](https://zola.discourse.group/u/Petrichor)\
**Post date:** [May 16, 2022, 3:18pm UTC](https://zola.discourse.group/t/build-site-locally/1316/1 "2022-05-16T15:18:52Z")

</div>

Hello,

I am trying to use Zola with the theme ‘Easydocs’ to build a local technical documentation (kind of knowledge management tool).  
I want to built my site to be on my computer (C:).  
I am facing an issue as Zola requires a base\_url parameter that cannot be set to a local folder (only http://…).

Did I miss something and is there a way to build a site locally?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [May 16, 2022, 5:38pm UTC](https://zola.discourse.group/t/build-site-locally/1316/2 "2022-05-16T17:38:16Z")

</div>

You want to use `zola serve` to see the website locally. `zola build` does use the base\_url for the final output.

---

<div class="post-metadata">

**Author:** ![Petrichor](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/petrichor/32/745_2.png) [@Petrichor](https://zola.discourse.group/u/Petrichor)\
**Post date:** [May 17, 2022, 7:11am UTC](https://zola.discourse.group/t/build-site-locally/1316/3 "2022-05-17T07:11:33Z")

</div>

Thanks, for sure it works great.  
But I am looking for a solution where I can have a static HTML site. So if I want to share it, it is just a copy/paste or a link to index.html file.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [May 17, 2022, 7:25am UTC](https://zola.discourse.group/t/build-site-locally/1316/4 "2022-05-17T07:25:24Z")

</div>

Ah, that’s not possible currently to output a local site with all relative links I think.

---

<div class="post-metadata">

**Author:** ![Petrichor](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/petrichor/32/745_2.png) [@Petrichor](https://zola.discourse.group/u/Petrichor)\
**Post date:** [May 17, 2022, 12:26pm UTC](https://zola.discourse.group/t/build-site-locally/1316/5 "2022-05-17T12:26:17Z")

</div>

Thank you anyway!
