Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Redirect subdomain to IP and port, while masking redirect

Discussion in 'Bind/DNS/Nameserver' started by ohjohnsen, Nov 22, 2017.

  1. ohjohnsen

    ohjohnsen Registered

    Nov 19, 2017
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner

    I want to point a subdomain on my domain to a fixed IP address and port number, while keeping the original URL in the address field.

    In short, URL '' points to '' while keeping '' in the address field.

    I've added an A record pointing the 'confluence' subdomain to the static IP address, but I still have to add the port number. Is there any way around this, so I don't have to use the port number?

    As I am an end user, I believe my registrar might have blocked access to Apache server .conf files that I'm seeing references here on the forum to. So it would be very handy if this could be done by e.g. adding confluence as a subdomain rather than an A record, and add entries to e.g. a .htaccess file to redirect to the static IP and port while masking the redirect.

    Thank you for any assistance.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You'd need root access to the server to accomplish this using a solution like the one on the following thread:

    Jira mod_proxy subdomain

    I recommend checking with your hosting provider to see if they can help set it up.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice