AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   how can i create a domain IP for servers?? (https://forums.alliedmods.net/showthread.php?t=281769)

JerryJerryAdios 04-20-2016 06:23

how can i create a domain IP for servers??
 
for example: www.????.com:27015 i want to get it for convenient..help.. and thanks!:3

The Gaming Guy 04-20-2016 06:32

Re: how can i create a domain IP for servers??
 
Try no-ip for the server. Create an account . Set it up. Download the client on the server . And run it and you are good to go. It will automatically update your ip to itd server and assign it to the dns (domain name) you have selected.

JerryJerryAdios 04-20-2016 06:52

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by The Gaming Guy (Post 2412580)
Try no-ip for the server. Create an account . Set it up. Download the client on the server . And run it and you are good to go. It will automatically update your ip to itd server and assign it to the dns (domain name) you have selected.

im sorry i dont want to try this way, i have my own domain...:):)

Rirre 04-20-2016 08:08

Re: how can i create a domain IP for servers??
 
Dynamic DNS makes a dynamic IP address act as though it's static.

The Gaming Guy 04-20-2016 09:00

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by JerryJerryAdios (Post 2412584)
im sorry i dont want to try this way, i have my own domain...:):)

Then you gotta pay for it. Self domains aren't free. Subdomains are.

fysiks 04-20-2016 09:04

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by The Gaming Guy (Post 2412599)
Then you gotta pay for it. Self domains aren't free. Subdomains are.

If he has a domain, he can create a subdomain that points to the server's IP. No need to use "no-ip" (which is for the issue of dynamic IP which, as far as the OP is concerned, it not the issue).

joropito 04-20-2016 09:20

Re: how can i create a domain IP for servers??
 
Do you have a dynamic or static ip?

For dinamic ip:
.- Use no-ip or any other alternative to manage de dynamic change
.- Point on your own dns domain your custom name to your no-ip name (you have to use CNAME register type on dns)

For static ip:
.- Just point your custom name to your static ip using A type register


Your dns server is where you manage all your domain entries.

Your custom name is for example: hl.yourdomain.com

You CAN'T point a port number to your server using dns. you have to use a dedicated name for your server and another name for your www (as an example).

Carbonzxc 04-20-2016 10:22

Re: how can i create a domain IP for servers??
 
Create a A record recording to servers ip (like blabla.hl.com) then use port (27015 etc.)

rx1983 04-21-2016 17:52

Re: how can i create a domain IP for servers??
 
hlds does not write letter (servegame.com:27015) only numbers. (189.123.12.23:27015)
if your IP is dynamic and you try to redirect to a number.
your clients will take the trouble to write this name every time get into your server.

It is something that should have been fixed many years ago, however the developers do not care.:down:

joropito 04-22-2016 07:44

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by rx1983 (Post 2413000)
hlds does not write letter (servegame.com:27015) only numbers. (189.123.12.23:27015)
if your IP is dynamic and you try to redirect to a number.
your clients will take the trouble to write this name every time get into your server.

It is something that should have been fixed many years ago, however the developers do not care.:down:

You're wrong. Don't confuse people.

On HL you can use hostnames or ip address to connect to. Also can be used in favourites.

rx1983 04-22-2016 09:00

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by joropito (Post 2413127)
You're wrong. Don't confuse people.

On HL you can use hostnames or ip address to connect to. Also can be used in favourites.

cs not record name, only ip fixed, in brasil ip dinamic noip, when the IP changes and the name remains the same is not possible to connect ... it's useless

fysiks 04-22-2016 09:01

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by joropito (Post 2413127)
Also can be used in favourites.

Unless they changed it recently, the favorites list uses IP only. The only exception that I'm aware of is CS:GO which uses the server registration to keep track of the server.

joropito 04-22-2016 11:25

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by fysiks (Post 2413147)
Unless they changed it recently, the favorites list uses IP only. The only exception that I'm aware of is CS:GO which uses the server registration to keep track of the server.

When you "save" as favourite, yes.

I don't remember well but I guess if you edit manually the file, you can put there names.

fysiks 04-23-2016 00:36

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by joropito (Post 2413175)
When you "save" as favourite, yes.

I don't remember well but I guess if you edit manually the file, you can put there names.

The last time that I explored the file that stores favorites, I noticed that they seemed to obfuscate the IP (not beyond recognition but obfuscated nonetheless).

Carbonzxc 04-24-2016 02:44

Re: how can i create a domain IP for servers??
 
sv.yourdomain.com:27015 (port whatever.) ?

JerryJerryAdios 04-24-2016 07:31

Re: how can i create a domain IP for servers??
 
ohhhhhhhhhh i get it! i get it! thank you guys!!! thank you so much!

Chillblaze 05-04-2016 07:40

Re: how can i create a domain IP for servers??
 
I tried to do this recently and had someone set it up for me.
This thread looks confusing for newbies such as me :)

You can connect using domain or sub-domain.

You need to set this redirection in the dns A records (record type A) - with dns manager (advanced zone editor) if you have cpanel with your hosting.

Set the IP without port. Wait between 1/24 hours for dns to mitigate.
Then you can type in console connect with domain.com:27015 or sub.domain:27015 (whatever your port is)

I may got this wrong but to work with top domain you need to type @ in name host name.

Here is a screenshot using with top domain:
http://i68.tinypic.com/9uaptv.jpg

This one is using sub-domain:
http://i65.tinypic.com/aw8fh0.jpg

p.s Somebody told me that it is also possible to connect with domain only without port (which will be even shorter) if the default port is 27015 .
But somewhere in the forums was mentioned that cs won`t connect without port.

joropito 05-04-2016 09:32

Re: how can i create a domain IP for servers??
 
Add these records:

cs.domain.com IN A x.x.x.x
domain.com IN A x.x.x.x // I guess you use @ as name in your panel

Your panel should allow you to set A record on a domain.

gabuch2 05-04-2016 10:21

Re: how can i create a domain IP for servers??
 
Quote:

Originally Posted by Chillblaze (Post 2416500)
p.s Somebody told me that it is also possible to connect with domain only without port (which will be even shorter) if the default port is 27015 .
But somewhere in the forums was mentioned that cs won`t connect without port.

Default port is 27015, so the game will automatically use that port if none is specified. This also means the connection will fail if no server is hosted on the port 27015, even if there are servers on other ports.

bikkser 11-28-2020 11:08

Re: how can i create a domain IP for servers??
 
Then what would the record be if I got two servers with a different port?

Below you’ll find my address and the domain that I want to assign
- 88.208.52.26:27015 - s1.gr8.gg
- 88.208.52.26:27017 - s2.gr8.gg

DeteCT0R 11-29-2020 06:15

Re: how can i create a domain IP for servers??
 
Use with port s2.gr8.gg:27017 or get a second IP and use 27015 port then you can use s2.gr8.gg.

bikkser 11-29-2020 14:55

Re: how can i create a domain IP for servers??
 
Okay so to achieve addresses without a port, I need a unique IP for each server, right?

And where do i configure this?

DeteCT0R 12-03-2020 07:33

Re: how can i create a domain IP for servers??
 
Yup. You need unique ip for every server if you want use the domain.
The best way is to contact your hosting where you gameserver is running.

bikkser 12-03-2020 15:59

Re: how can i create a domain IP for servers??
 
I got a second IP now and added it (sudo ip addr add ...). Both are listed on "sudo ip address show" while the newest doesn't have a brd (broadcast?) IP. I am not sure if that is normal.

Server1 is already running fine and can be reached on s1.gr8.gg. Although I now have server2 running too on the new IP address (can be found using the whole new IP), I cannot find the server using s2.gr8.gg.

In the DNS records of gr8.gg I have two lines;
- A / s1.gr8.gg / original IP
- A / s2.gr8.gg / new IP

In the instance cfg I already tried to change the port to 27015 (thought it would help if both where on 27015 since they have different IP's) but this is also not working.

When checking the details of the running CSGO server, the server seem to be working fine. It is ONLINE, master server is listed. The only thing I find weird is that the Server IP is the new IP address but the next line (Internet IP) shows the original address. Server1 is running on 27015, in this case (server2) the Internet IP (that's is showing the original address) has port 27016.

Any idea what I am doing wrong?

bikkser 12-03-2020 16:24

Re: how can i create a domain IP for servers??
 
Correction; after reboot (the first time after adding the new IP address (addr add), server1 is still running but server2 it not anymore. Not listed, offline etc. Ports are unique for both servers. No idea what I am doing wrong.

unfortunately https://docs.linuxgsm.com/configuration/ip-address is also somewhat minimalistic.

bikkser 12-05-2020 04:15

Re: how can i create a domain IP for servers??
 
I CREATED A THREAD FOR THIS ISSUE SINCE I AM SURE MORE PEOPLE ARE INTERESTED AND THIS IS NOT HLDS RELATED. CHECK; https://forums.alliedmods.net/showth...50#post2727550


So, here is a detailed explanation;

I got some CSGO servers up and running using LGSM. I am trying to assign a sub domain (s1, s2, s3 etc.) to each gameserver but only s1.domain.com can be found in the Serverlist.

To achieve this each gameserver should have a unique IP address so s2 already has a different IP address in the lgsm instance cfg.

The (dedicated) server was originally configured on the IP address of s1 (aaa.bbb.ccc.ddd) and also the domain DNS settings is using this one. So in the DNS I already configured an A record with the value s1 assigning to aaa.bbb.ccc.ddd. This is working fine but now I need to add a second. As far as I understand it is not possible to add a second A record with the value s2 pointing to the other unique IP address.

----------------------

S1 LGSM instance config
s1.domain.com = THIS ONE DOES WORK
gslt="UNRELEVANT"
ip="aaa.bbb.ccc.ddd"
port="27015"
clientport="27005"
sourcetvport="27025"
gamemode="2"
gametype="1"

S1 LGSM instance details
Server IP: aaa.bbb.ccc.ddd:27016
Master server: Listed
Status: ONLINE

----------------------

S2 LGSM instance config
s2.domain.com
gslt="UNRELEVANT"
ip="www.xxx.yyy.zzz"
port="27016"
clientport="27006"
sourcetvport="27026"
gamemode="2"
gametype="1"

S2 instance details
Server IP: www.xxx.yyy.zzz:27016
Internet IP: aaa.bbb.ccc.ddd:27016
Master server: not listed
Status: ONLINE

----------------------

I also find it weird that s2 has an Internet IP. Is this the issue? Does this also explain why the master server is NOT LISTED? When I change the IP address to the original one (aaa.bbb.ccc.ddd) with port 27016 (instead of s1's 27015) the server WILL BE listed and can be found

So, how can I configure that s1.domain.com will find server aaa.bbb.ccc.ddd and s2.domain.com www.xxx.yyy.zzz.


All times are GMT -4. The time now is 19:21.

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