The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

possible to alias a port to a subdomain?

Discussion in 'General Discussion' started by cookiesunshinex, Oct 3, 2006.

  1. cookiesunshinex

    cookiesunshinex Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    6
    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?
     
  2. cookiesunshinex

    cookiesunshinex Well-Known Member

    Joined:
    Jun 10, 2005
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    6
Loading...

Share This Page