Skip to main content

Subdomain to different port

Comments

4 comments

  • Ameya Barwe
    You will need to allow incoming/outgoing connection to port 8090 in the firewall of the server. :)
    0
  • cPanelMichael
    Hello :) Could you elaborate more on the service you are redirecting the subdomain to? Is this a service running on your cPanel server, or are you attempting to forward the request to a remote server? Thank you.
    0
  • Zaheer Ahmad Khan
    Hello, yes this is cPanel/WHM server & i am trying to redirect on the same server but different port. Actually Odoo is installed on the server & i want this subdomain to open odoo. I can open Odoo by visiting 1.2.3.4:8090 & also i can open it by sub.site2.com:8090 I simply want to that when i type/visit sub.site2.com it should opened sub.site2.com:8090 instead of sub.site2.com:80
    0
  • cPanelMichael
    Hello :) The following thread shows an example of how someone else implemented this: Jira mod_proxy subdomain These documents will help you with editing the Apache configuration: Modify Virtualhost Containers With Include Files - EasyApache - cPanel Documentation Advanced Apache Configuration - EasyApache - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.