# Running voila on private server

**URL:** <https://discourse.jupyter.org/t/running-voila-on-private-server/11639>\
**Category:** JupyterLab\
**Created:** [November 12, 2021, 11:26am UTC](https://discourse.jupyter.org/t/running-voila-on-private-server/11639 "2021-11-12T11:26:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcmaclach](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mcmaclach](https://discourse.jupyter.org/u/mcmaclach)\
**Post date:** [November 12, 2021, 11:26am UTC](https://discourse.jupyter.org/t/running-voila-on-private-server/11639/1 "2021-11-12T11:26:23Z")

</div>

Hi! I’m still having trouble getting the configuration correct to run voila with apache, and I was wondering if in order for voila to work correctly (and find all the static files) it’s location has to be on the root of the server. Does anyone know about this?

---

<div class="post-metadata">

**Author:** ![markperri](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/markperri/32/2187_2.png) [@markperri](https://discourse.jupyter.org/u/markperri)\
**Post date:** [November 17, 2021, 6:32pm UTC](https://discourse.jupyter.org/t/running-voila-on-private-server/11639/2 "2021-11-17T18:32:04Z")

</div>

No, you can use the config file to set the base path  
c.JupyterHub.base\_url = ‘/voila’

I gave up on apache a long time ago, I prefer nginx and running everything in Docker.

Thanks,  
Mark

---

<div class="post-metadata">

**Author:** ![mcmaclach](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@mcmaclach](https://discourse.jupyter.org/u/mcmaclach)\
**Post date:** [November 18, 2021, 1:58pm UTC](https://discourse.jupyter.org/t/running-voila-on-private-server/11639/3 "2021-11-18T13:58:33Z")

</div>

Thanks very much for your help Mark! I can understand why you switched to nginx and Docker. I’ve since discovered that I can probably use a local JupyterHub and can forget about apache as well 🙂

Best,

Mary

---

<div class="post-metadata">

**Author:** ![markperri](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/markperri/32/2187_2.png) [@markperri](https://discourse.jupyter.org/u/markperri)\
**Post date:** [November 18, 2021, 10:14pm UTC](https://discourse.jupyter.org/t/running-voila-on-private-server/11639/4 "2021-11-18T22:14:43Z")

</div>

Yes, if you’re just running it locally you can even run voila from Jupyter, after you install voila into your Jupyter environment there is a button to switch to Viola with your current notebook.

Thanks,  
Mark
