# Different statics paths for different domains?

**URL:** <https://community.fly.io/t/different-statics-paths-for-different-domains/5900>\
**Category:** Questions / Help\
**Created:** [July 7, 2022, 1:24pm UTC](https://community.fly.io/t/different-statics-paths-for-different-domains/5900 "2022-07-07T13:24:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmsfbs](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jmsfbs/32/36526_2.png) [@jmsfbs](https://community.fly.io/u/jmsfbs)\
**Post date:** [July 7, 2022, 1:24pm UTC](https://community.fly.io/t/different-statics-paths-for-different-domains/5900/1 "2022-07-07T13:24:17Z")

</div>

Hey, I’m using a single image to host a few different static UIs and act as a gateway to the backend. I wondered if there’s a way to define different statics for domains and subdomains.

Also if you make a request to another service via the private network are statics still activated?

---

<div class="post-metadata">

**Author:** ![kurt](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/kurt/32/43757_2.png) [@kurt](https://community.fly.io/u/kurt)\
**Post date:** [July 14, 2022, 9:23pm UTC](https://community.fly.io/t/different-statics-paths-for-different-domains/5900/2 "2022-07-14T21:23:24Z")

</div>

There’s not! Statics are pretty limited and due an overhaul in a few months. I’m not sure we’ll have domain routing by then, though. If we solve this, it will be with tools to route domains to a specific app (not _just_ statics).

Statics aren’t available over the private network. We do have private load balanced IPs coming, which will give you an address where statics can work.

---

<div class="post-metadata">

**Author:** ![jmsfbs](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/jmsfbs/32/36526_2.png) [@jmsfbs](https://community.fly.io/u/jmsfbs)\
**Post date:** [July 14, 2022, 10:20pm UTC](https://community.fly.io/t/different-statics-paths-for-different-domains/5900/3 "2022-07-14T22:20:41Z")

</div>

Thanks Kurt that’s great to know!
