# Geo-based stream redirect

**URL:** <https://community.wowza.com/t/geo-based-stream-redirect/42183>\
**Category:** Wowza Streaming Engine\
**Created:** [March 1, 2014, 2:52pm UTC](https://community.wowza.com/t/geo-based-stream-redirect/42183 "2014-03-01T14:52:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Kozlakowski](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Mike\_Kozlakowski](https://community.wowza.com/u/Mike_Kozlakowski)\
**Post date:** [March 1, 2014, 2:52pm UTC](https://community.wowza.com/t/geo-based-stream-redirect/42183/1 "2014-03-01T14:52:05Z")

</div>

Hi,

I have a web property with distinct live streams for different markets, let’s call them XYZ Canada and XYZ USA. Both streams originate on the same wowza server. I would like to use a single URL through my CDN for both live streams (eg: [live.xyz.com/playlist.m3u8](http://live.xyz.com/playlist.m3u8)). Is there a way on Wowza or through an add-on to do redirects based on the end user’s ip? I would like to redirect my US viewers to the US stream and Canadian viewers to the Canadian stream.

Thanks,

Mike

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [March 3, 2014, 8:09pm UTC](https://community.wowza.com/t/geo-based-stream-redirect/42183/2 "2014-03-03T20:09:08Z")

</div>

Hi,

Yes, it’s possible to have a load-balancer which supports HTTP clients and redirects based on IP address.

The redirect application would be the same every time but the location of the redirect would be based on the IP address.

Jason

---

<div class="post-metadata">

**Author:** ![Mike\_Kozlakowski](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@Mike\_Kozlakowski](https://community.wowza.com/u/Mike_Kozlakowski)\
**Post date:** [March 4, 2014, 9:29am UTC](https://community.wowza.com/t/geo-based-stream-redirect/42183/3 "2014-03-04T09:29:31Z")

</div>

Thanks Jason. We will do this upstream at the website level.

Mike
