# Policy files and subdomains?

**URL:** <https://forum.kirupa.com/t/policy-files-and-subdomains/253736>\
**Category:** flash\
**Created:** [March 4, 2008, 5:19pm UTC](https://forum.kirupa.com/t/policy-files-and-subdomains/253736 "2008-03-04T17:19:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZenBlender](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@ZenBlender](https://forum.kirupa.com/u/ZenBlender)\
**Post date:** [March 4, 2008, 5:19pm UTC](https://forum.kirupa.com/t/policy-files-and-subdomains/253736/1 "2008-03-04T17:19:25Z")

</div>

I’m having a lot of trouble with policy files served from the same server and port as an XMLSocket connection I am trying to make. Can someone tell me:

If I have two subdomains, [www.myserver.com](http://www.myserver.com) and [xmlsocket.myserver.com](http://xmlsocket.myserver.com), where the www subdomain is an apache server on one IP address and the xmlsocket subdomain is the server I am planning to connect an XMLSocket to, but it is on a _ **different** _ IP address, can I serve the policy file from [www.myserver.com](http://www.myserver.com) and have it allow the connections to [xmlsocket.myserver.com](http://xmlsocket.myserver.com)?

Thanks for any help!!!
