# Running Static Website with Local

**URL:** <https://community.localwp.com/t/running-static-website-with-local/5561>\
**Category:** Support\
**Created:** [March 8, 2018, 2:43pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561 "2018-03-08T14:43:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fitri](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fitri](https://community.localwp.com/u/fitri)\
**Post date:** [March 8, 2018, 2:43pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/1 "2018-03-08T14:43:12Z")

</div>

Hi,

I remember running a static site using the older version of Local before back in 2017. But right now when I reinstall local I can’t run static site anymore. Is there’s any way to run non-wp sites using Local server?

What I try to do: delete all wp files in /app/public and add index.html but I got 403 error.

Thanks.

---

<div class="post-metadata">

**Author:** ![turtlepod](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/turtlepod/32/5541_2.png) [@turtlepod](https://community.localwp.com/u/turtlepod)\
**Post date:** [March 9, 2018, 6:52pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/2 "2018-03-09T18:52:33Z")

</div>

Works well for me.  
(cmiiw, keep the db you can drop the table, but need to keep the db)

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [March 9, 2018, 10:45pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/3 "2018-03-09T22:45:30Z")

</div>

@fitri,

Are you using the Preferred or Custom environment? If you’re using Custom, what web server do you have selected?

---

<div class="post-metadata">

**Author:** ![fitri](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fitri](https://community.localwp.com/u/fitri)\
**Post date:** [March 11, 2018, 1:56pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/4 "2018-03-11T13:56:06Z")

</div>

I’m using nginx. Preferred env setting

---

<div class="post-metadata">

**Author:** ![fitri](https://avatars.discourse-cdn.com/v4/letter/f/b5ac83/32.png) [@fitri](https://community.localwp.com/u/fitri)\
**Post date:** [March 11, 2018, 1:57pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/5 "2018-03-11T13:57:58Z")

</div>

What do you means by keeping the DB? I

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [August 25, 2020, 6:34pm UTC](https://community.localwp.com/t/running-static-website-with-local/5561/6 "2020-08-25T18:34:01Z")

</div>


