Raised This Month: $51 Target: $400
 12% 

mask server ip with domain


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Watermelonnable
Member
Join Date: Feb 2017
Old 12-01-2019 , 21:44   mask server ip with domain
Reply With Quote #1

is there a way to mask a server ip with a domain? I mean, instead of giving an ip address give the players something like server1.mydomain.com??
Watermelonnable is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 12-01-2019 , 23:15   Re: mask server ip with domain
Reply With Quote #2

No. The domain name won't work unless you resolve lookups against it. That is how DNS works; this limitation has nothing to do with HLDS.

You can totally use a domain name to connect, and give that out, but it's impossible to "mask" your IP.
__________________

Last edited by ddhoward; 12-01-2019 at 23:15.
ddhoward is offline
Watermelonnable
Member
Join Date: Feb 2017
Old 12-02-2019 , 00:02   Re: mask server ip with domain
Reply With Quote #3

Quote:
Originally Posted by ddhoward View Post
No. The domain name won't work unless you resolve lookups against it. That is how DNS works; this limitation has nothing to do with HLDS.

You can totally use a domain name to connect, and give that out, but it's impossible to "mask" your IP.
Sorry, that was a bad use of words by my side. I just want to give the domain as a ip address so users can connect easier. Not mask. Can you give me some orientation to achieve this?
Watermelonnable is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 12-02-2019 , 01:46   Re: mask server ip with domain
Reply With Quote #4

Purchase a domain name, then point that domain to the IP address of your server.

How you go about this depends on a lot of things, particularly the company that you choose to purchase your domain name from.
__________________
ddhoward is offline
Watermelonnable
Member
Join Date: Feb 2017
Old 12-03-2019 , 10:04   Re: mask server ip with domain
Reply With Quote #5

Quote:
Originally Posted by ddhoward View Post
Purchase a domain name, then point that domain to the IP address of your server.

How you go about this depends on a lot of things, particularly the company that you choose to purchase your domain name from.
But in the end it will be something like "sub.mydomain.com:port"? or is there a way to configure it so it has the port implicit?

Also, once the domain is resolved in the game, it will save it as an IP address, right? or does it updates if I change the domain server?
Watermelonnable is offline
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 12-03-2019 , 14:15   Re: mask server ip with domain
Reply With Quote #6

A records pointing to your game server IP will automatically connect to the 27015 port if not specified, like with any IP.

Code:
] connect hldm.domain.org
will connect to hldm.domain.org:27015

There's no way to use a subdomain to point to another port, unless you do an overly complicated process of getting another ip, create an A record to that IP, then tunnel the data to the 27015 port to the desired port.
__________________
Gabe Iggy is offline
Watermelonnable
Member
Join Date: Feb 2017
Old 12-03-2019 , 22:14   Re: mask server ip with domain
Reply With Quote #7

Quote:
Originally Posted by Gabe Iggy View Post
A records pointing to your game server IP will automatically connect to the 27015 port if not specified, like with any IP.

Code:
] connect hldm.domain.org
will connect to hldm.domain.org:27015

There's no way to use a subdomain to point to another port, unless you do an overly complicated process of getting another ip, create an A record to that IP, then tunnel the data to the 27015 port to the desired port.
Thank you. This was helpful
Watermelonnable is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:36.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode