# Space Static website template not working

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%3E%5C
**Category:** Spaces\
**Created:** [February 19, 2023, 2:17pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgiswqs)%5C
**Post date:** [February 19, 2023, 2:17pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fiamrobotbear)%5C
**Post date:** [February 19, 2023, 3:06pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgiswqs)%5C
**Post date:** [February 20, 2023, 12:24am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F3 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulien-c)%5C
**Post date:** [February 20, 2023, 5:53pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F4 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulien-c)%5C
**Post date:** [February 23, 2023, 4:00pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F5 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fgiswqs)%5C
**Post date:** [February 23, 2023, 4:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fspace-static-website-template-not-working%2F32024%2F6 "2023-02-23T16:13:55Z")

</div>

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