possible to alias a port to a subdomain?

cookiesunshinex

Well-Known Member
Jun 10, 2005
77
0
156
I want to alias a port to a subdomain:

Example:
I want the actual URL and port to be

test.mydomain.com:3001

where test is a subdomain of mydomain.

It points to /home/account/public_html/test/

But I want to make an alias in httpd.conf so that the user doesn't have to type :3001 at the end of the URL in the browser.

In other words, access will go through port 3001, but the URL appears "clean"

test.mydomain.com

Is this possible?