# Space Static website template not working

**URL:** <https://discuss.huggingface.co/t/space-static-website-template-not-working/32024>\
**Category:** Spaces\
**Created:** [February 19, 2023, 2:17pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024 "2023-02-19T14:17:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![giswqs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/giswqs/32/23677_2.png) [@giswqs](https://discuss.huggingface.co/u/giswqs)\
**Post date:** [February 19, 2023, 2:17pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/1 "2023-02-19T14:17:12Z")

</div>

I created a static website using the Space Static template without making any changes. While the Space URL ([Website - a Hugging Face Space by giswqs](https://huggingface.co/spaces/giswqs/website)) is working fine, the direct URL ([https://giswqs-website.hf.space/](https://giswqs-website.hf.space/)) returns a 404 error.

---

<div class="post-metadata">

**Author:** ![iamrobotbear](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/iamrobotbear/32/14097_2.png) [@iamrobotbear](https://discuss.huggingface.co/u/iamrobotbear)\
**Post date:** [February 19, 2023, 3:06pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/2 "2023-02-19T15:06:55Z")

</div>

Hmm, I think this might be an issue with spaces for the Static Static website template.

Try duplicating this space and seeing if it works for you. [Hotdog Gradio - a Hugging Face Space by NimaBoscarino](https://huggingface.co/spaces/NimaBoscarino/hotdog-gradio)

The space works using the shared spaces URL. [https://nimaboscarino-hotdog-gradio.hf.space/](https://nimaboscarino-hotdog-gradio.hf.space/)

---

<div class="post-metadata">

**Author:** ![giswqs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/giswqs/32/23677_2.png) [@giswqs](https://discuss.huggingface.co/u/giswqs)\
**Post date:** [February 20, 2023, 12:24am UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/3 "2023-02-20T00:24:06Z")

</div>

The example you provided is not a static website. You can try creating a new app using the Static website template. The direct URL to an HF static website does not work.

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](https://discuss.huggingface.co/u/julien-c)\
**Post date:** [February 20, 2023, 5:53pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/4 "2023-02-20T17:53:33Z")

</div>

Hi, this is a known issue, will try to get this solved asap

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](https://discuss.huggingface.co/u/julien-c)\
**Post date:** [February 23, 2023, 4:00pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/5 "2023-02-23T16:00:33Z")

</div>

should be fixed!

Let us know if it works now

---

<div class="post-metadata">

**Author:** ![giswqs](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/giswqs/32/23677_2.png) [@giswqs](https://discuss.huggingface.co/u/giswqs)\
**Post date:** [February 23, 2023, 4:13pm UTC](https://discuss.huggingface.co/t/space-static-website-template-not-working/32024/6 "2023-02-23T16:13:55Z")

</div>

It works now! Thank you very much for fixing it.
