AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Need help with changing address (https://forums.alliedmods.net/showthread.php?t=330845)

nikitos1ck 02-23-2021 15:10

Need help with changing address
 
Hi,how do I change server's ip address so that people can connect using
connect deathmatchserver1 , not the ip address?
Thanks in advance

TomL. 02-23-2021 17:00

Re: Need help with changing address
 
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


DarkDeviL 02-23-2021 17:00

Re: Need help with changing address
 
Quote:

Originally Posted by nikitos1ck (Post 2737994)
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.

Ryan2 02-23-2021 20:49

Re: Need help with changing address
 
Is there any benefit to this besides making the server easier to remember?

TomL. 02-24-2021 05:02

Re: Need help with changing address
 
No


All times are GMT -4. The time now is 01:04.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.