Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Jonnyswboy

Two Servers same domain, different port.

Recommended Posts

Posted · Original PosterOP

Hi, I am trying to run two game servers on the same IP, I want to use a domain like csgo.mywebsite.com and csgo2.mywebsite.com. I currently have a DNS A record pointing to my IP and it works fine for the server using the default port, but the second server obviously needs a different port. So I need a way to make a subdomain point to an IP with a port. The problem is when I try to add a subdomain in CPanel on my host, it doesn't allow me to make one. Do I need a subdomain to do this? Because when I just use an SRV record with the IP and port, when I connect to it in console it says bad server address.

 

Thanks, I am kind of bad at explaining so let me know if you need clarification. 


CPU: i7-6700k | Cooling: NZXT Kraken x61 (Pull) | Mobo: MSI Z170A Krait Gaming
RAM: G.Skill Ripjaws 4 16GB DDR4-3000 | GPU: Zotac 1080 Amp! Extreme
SSD: Samsung 850 Pro 256GB | HDD: WD 2TB Black | Case: NZXT H440 White | PSU: EVGA 850 G2

 

 

Link to post
Share on other sites

You need to have several things in place for this to work:

 

1. An "A" record for csgo2.mywebsite.com - this is what stores the IP address, the SRV record can only store a hostname and not an IP address, similar to an MX record

2. A program that understands how to use SRV records, such as SIP or XMPP. Most games do not know to go look at SRV records to get the port of the server, and you have to specify the port in the game itself when you give itvthe hostname.


Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×