# Adding CORS with multiple domains

**URL:** <https://community.wowza.com/t/adding-cors-with-multiple-domains/45115>\
**Category:** Wowza Streaming Engine\
**Created:** [July 13, 2015, 5:55pm UTC](https://community.wowza.com/t/adding-cors-with-multiple-domains/45115 "2015-07-13T17:55:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [July 13, 2015, 5:55pm UTC](https://community.wowza.com/t/adding-cors-with-multiple-domains/45115/1 "2015-07-13T17:55:33Z")

</div>

I got this from the Internet

cupertinoUserHTTPHeaders

Access-Control-Allow-Origin: \*

If I have 3 domains, I want Wowza to open to. How do I do that? Thank you.

I got the answer from here: It is not cupertino but the syntax for listing multiple domains is similar

www.wowza.com/forums/content.php?644-How-to-access-documentation-for-Wowza-Streaming-Engine-REST-APIs#restUserHTTPHeaders\_config

However, now back to the standard simple case , the \* case , Firebug still reports error as I mention in the following post: Reason: CORS header ‘Access-Control-Allow-Origin’ missing). I changed all XML files (use cupertinoUserHTTPHeaders ) and restarted server. Why ?

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [July 13, 2015, 6:39pm UTC](https://community.wowza.com/t/adding-cors-with-multiple-domains/45115/2 "2015-07-13T18:39:04Z")

</div>

The weird thing is that even I put that \* configuration in my files. My Firebug still reports error : Reason: CORS header ‘Access-Control-Allow-Origin’ missing). It looks like there is no CORS header there.

Am I lacking anything here ? I changed all the Application.xml files in the conf folder and also in the conf/app folder and restarted the server.

andrew\_k from Wowza Media Systems said that “As long as you are using Wowza 3.5 or above then you can add a property in your Application.xml by …”

at [WowzaStreamingEngine needs CORS header sent on playlist.m3u8](http://community.wowza.com/t/-/42748)

Does that mean if Wowza server version is below 3.5 , this method does not work ??

I tried to look at crossdomain.xml, and it already showed allow \* and all.

---

<div class="post-metadata">

**Author:** ![Michelle\_B](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/michelle_b/32/394_2.png) [@Michelle\_B](https://community.wowza.com/u/Michelle_B)\
**Post date:** [November 4, 2015, 1:58pm UTC](https://community.wowza.com/t/adding-cors-with-multiple-domains/45115/3 "2015-11-04T13:58:51Z")

</div>

Hi,

For other users’ reference, we do recommend that you [update your Wowza server](https://www.wowza.com/docs/wowza-media-server-3-6-2-release-notes) in order to use the above properties.

Michelle

---

<div class="post-metadata">

**Author:** ![todafuture\_todafutur](https://avatars.discourse-cdn.com/v4/letter/t/ea666f/32.png) [@todafuture\_todafutur](https://community.wowza.com/u/todafuture_todafutur)\
**Post date:** [August 5, 2015, 3:56am UTC](https://community.wowza.com/t/adding-cors-with-multiple-domains/45115/4 "2015-08-05T03:56:07Z")

</div>

Is there any way for Wowza Server \< 3.5?

This setting does not work

cupertinoUserHTTPHeaders

Access-Control-Allow-Origin: \*

CORS header ‘Access-Control-Allow-Origin’ missing
