direct a subdomain to an ip:port

sde

Verified User
Joined
Sep 11, 2004
Messages
214
Location
Temecula, CA
I have a client who has a counter-strike game server. With his past hosting company, he was able to have the direct a sub-domain to an ip:port .. for example:

a.domain.com -> 1.2.3.4:27015

i thought i could add an A record to his domain, but it would not allow for the port.

anyone know how i can do this?
________
Kawasaki ZN1300A
 
Last edited:
DNS has no knowledge of ports.

The only way to do it is through a redirect.

Jeff
 
thanks. i'm realizing that the reason it worked last time is because counter-strike defaults on port 27015. so when a client request comes to that ip, it automatically assumes it is 27015.

thanks for the reply.
________
vaporizer affiliate
 
Last edited:
Generically you can set up alternate ports in httpd.conf, but you can't do it in DirectAdmin as DirectAdmin has no place to specify an alternate port, and will rewrite the httpd.conf file for the domain each time you make changes.

Jeff
 
Back
Top