# Server Domain instead of Server IP

**URL:** <https://community.wowza.com/t/server-domain-instead-of-server-ip/45433>\
**Category:** Wowza Streaming Engine\
**Created:** [April 28, 2016, 8:54am UTC](https://community.wowza.com/t/server-domain-instead-of-server-ip/45433 "2016-04-28T08:54:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohammad\_Assaf](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@Mohammad\_Assaf](https://community.wowza.com/u/Mohammad_Assaf)\
**Post date:** [April 28, 2016, 8:54am UTC](https://community.wowza.com/t/server-domain-instead-of-server-ip/45433/1 "2016-04-28T08:54:57Z")

</div>

Hi there,

Is it possible to connect to Wowza server with server domain and not server IP?

instead of calling:

nc.connect(“rtmp://serverIP:serverPort/”)

nc.connect(“rtmp://serverDomain:serverPort/”)

I tried this call with server domain but didn’t work, I just need to hide my server’s IP address so that it will not be visible in the code in case of SWF decoding.

Thank you,

Mohammad Assaf

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [May 5, 2016, 3:21pm UTC](https://community.wowza.com/t/server-domain-instead-of-server-ip/45433/2 "2016-05-05T15:21:29Z")

</div>

Hello,

You will need to update DNS A host records along with using a syntax like this:

rtmp://mycompany.com/vod/mp4:mycoolvideo.mov

[How to format RTMP URLs](https://www.wowza.com/docs/how-to-format-adobe-flash-rtmp-urls)

Best,

Jason Tuchler

Wowza Media Systems Support
