# Godot 4 Client - Using Domain Name Instead of IP Address

**URL:** <https://forum.heroiclabs.com/t/godot-4-client-using-domain-name-instead-of-ip-address/4671>\
**Category:** Client Libraries\
**Created:** [November 30, 2023, 3:35pm UTC](https://forum.heroiclabs.com/t/godot-4-client-using-domain-name-instead-of-ip-address/4671 "2023-11-30T15:35:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrevorHarron](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/trevorharron/32/1923_2.png) [@TrevorHarron](https://forum.heroiclabs.com/u/TrevorHarron)\
**Post date:** [November 30, 2023, 3:35pm UTC](https://forum.heroiclabs.com/t/godot-4-client-using-domain-name-instead-of-ip-address/4671/1 "2023-11-30T15:35:29Z")

</div>

So I have been working on a turn based multiplayer game using Nakama for WebRTC multiplayer and have been able to make a connection to my testing server with its IP address. I am looking for a way to connect to this server via a domain name (that I have and forwards to the prev mentioned IP) instead of the IP address.

Currently I have searched through the forums for Godot, Nakama, gone through the documentation and code, and tutorials and have asked if there is a way to do this.

Is there a way to connect to a server via its url instead of its IP?

Thank you!

Using the Godot 4 Client Library

---

<div class="post-metadata">

**Author:** ![lugehorsam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/lugehorsam/32/314_2.png) [@lugehorsam](https://forum.heroiclabs.com/u/lugehorsam)\
**Post date:** [December 1, 2023, 12:48am UTC](https://forum.heroiclabs.com/t/godot-4-client-using-domain-name-instead-of-ip-address/4671/2 "2023-12-01T00:48:52Z")

</div>

Hey @TrevorHarron this requires you to setup DNS resolution on your own infrastructure. We can’t really help with custom infrastructure setups unfortunately. Nakama is a game server that is agnostic to how its hosted. We offer Heroic Cloud for users who need out-of-the-box DNS, Load Balancing, etc.

We do have a guide on deploying to Digital Ocean as a toy solution: [Heroic Labs Documentation | Deploy on Digital Ocean](https://heroiclabs.com/docs/nakama/guides/deployment/digital-ocean/).
