# How to know site url? (http\_host)

**URL:** <https://forum.kirupa.com/t/how-to-know-site-url-http-host/281999>\
**Category:** flash\
**Created:** [February 16, 2009, 3:40pm UTC](https://forum.kirupa.com/t/how-to-know-site-url-http-host/281999 "2009-02-16T15:40:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hugot](https://avatars.discourse-cdn.com/v4/letter/h/45deac/32.png) [@hugot](https://forum.kirupa.com/u/hugot)\
**Post date:** [February 16, 2009, 3:40pm UTC](https://forum.kirupa.com/t/how-to-know-site-url-http-host/281999/1 "2009-02-16T15:40:15Z")

</div>

Hi:

I have a hosted site with 2 different domains pointing to it, example: [www.a.com and [URL=“http://www.b.com”]www.b.com](http://www.a.com)

Is there anyway to read the url where the user came from in flash? I could change my flash movie according to the url of the user…

In ASP i use:

```auto
[FONT=Calibri]Request.ServerVariables("HTTP_HOST")[/FONT]

```

Thanks
