Raised This Month: $166 Target: $400
 41% 

Need help with changing address


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikitos1ck
New Member
Join Date: Feb 2021
Old 02-23-2021 , 16:10   Need help with changing address
Reply With Quote #1

Hi,how do I change server's ip address so that people can connect using
connect deathmatchserver1 , not the ip address?
Thanks in advance
nikitos1ck is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-23-2021 , 18:00   Re: Need help with changing address
Reply With Quote #2

You can point a (sub)domain to an ip address and then use the (sub)domain for connecting.
If the game server is not listen to the default port you will have to include the port.

Here is an example.
Code:
connect deathmatchserver1.YourDomain.com
connect deathmatchserver2.YourDomain.com:27030

Last edited by TomL.; 02-23-2021 at 18:02.
TomL. is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-23-2021 , 18:00   Re: Need help with changing address
Reply With Quote #3

Quote:
Originally Posted by nikitos1ck View Post
Hi,how do I change server's ip address so that people can connect using
connect deathmatchserver1 , not the ip address?
Thanks in advance
You won't be able to do it with "deathmatchserver1" alone...


If you however have a domain for your gaming community, e.g. "example.com", then most domain registries include some sort of basic DNS with the yearly costs of the domain.

Within the domain's DNS settings, you can add "A" records in the DNS settings pointing towards your server's IP address(es), for example:

"deathmatch1.example.com" -> DNS "A" record -> 192.0.2.1
"deathmatch2.example.com" -> DNS "A" record -> 192.0.2.2

then when people use "connect deathmatch1.example.com", they will go to 192.0.2.1, and so on.

By holding "example.com", you can literally choose any name that you wish, to be the label before the ".example.com".


If you already have a domain name (and website) for your gaming community, you should ask support desk there for further assistance on how to add these records.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Ryan2
Member
Join Date: Jul 2020
Old 02-23-2021 , 21:49   Re: Need help with changing address
Reply With Quote #4

Is there any benefit to this besides making the server easier to remember?
Ryan2 is online now
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 02-24-2021 , 06:02   Re: Need help with changing address
Reply With Quote #5

No
TomL. 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 14:19.


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