# Default URL to Custom Domain

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667%3E%5C
**Category:** Beginners\
**Created:** [August 6, 2023, 10:55am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667 "2023-08-06T10:55:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjviswha](https://avatars.discourse-cdn.com/v4/letter/r/ed8c4c/32.png) [@rjviswha](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Frjviswha)%5C
**Post date:** [August 6, 2023, 10:55am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667%2F1 "2023-08-06T10:55:40Z")

</div>

Hello everyone,

I’m wondering if there’s a way to run the space on my custom domain or route the default URL to my custom domain. Any assistance or suggestions would be greatly appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![ThatOneCoder](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/thatonecoder/32/27196_2.png) [@ThatOneCoder](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FThatOneCoder)%5C
**Post date:** [February 21, 2024, 3:38pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667%2F2 "2024-02-21T15:38:27Z")

</div>

+1 for this.

---

<div class="post-metadata">

**Author:** ![stonechao](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@stonechao](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstonechao)%5C
**Post date:** [July 19, 2024, 7:55am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667%2F3 "2024-07-19T07:55:39Z")

</div>

Hi!  
Is there any update?  
I try to use Nginx for routing requests from my custom domain to my HF space. It return http code 502.

---

<div class="post-metadata">

**Author:** ![meganariley](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/meganariley/32/56966_2.png) [@meganariley](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmeganariley)%5C
**Post date:** [September 17, 2025, 3:57pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdefault-url-to-custom-domain%2F49667%2F4 "2025-09-17T15:57:39Z")

</div>

Hi all, you can now host your Space under a **custom domain** 🔥 This feature is available to all subscribed to [PRO, Team or Enterprise](https://huggingface.co/pricing?from=support)!

Read more about [getting started with a custom domain](https://huggingface.co/docs/hub/spaces-custom-domain) 🚀 You can also check out the latest updates on the Hugging Face Hub in our [changelog](https://huggingface.co/changelog), and let us know how it goes!🙂
