Skip to main content

Allow custom virtual hosts to shared accounts

Comments

5 comments

  • cPanelMichael
    Is there some way to allow users to map ports in the background?

    Hello, Could you provide a specific example of the command they would run, or how the setup would work? Is there a specific application you are attempting to use? Thank you.
    0
  • reygoch
    Well, they would start their nodejs server or what ever server that would listen on port `8080` for example. To access such web application visitor would have to go to `mydomain.com:8080` instead of just `mydomain.com` (which is port 80). What I want is that all traffic from `mydomain.com` is forwarded to my app on port `8080` in the background. Basically a reverse proxy.
    0
  • cPanelMichael
    Hello, This isn't natively supported, but I encourage you to vote and add feedback to the existing feature request for this at: nodejs Hosting Additionally, you can review the comments on this request to see how other users have implemented workarounds. Thank you.
    0
  • reygoch
    Hello, This isn't natively supported, but I encourage you to vote and add feedback to the existing feature request for this at: nodejs Hosting Additionally, you can review the comments on this request to see how other users have implemented workarounds. Thank you.

    Honestly, I don't see why there would have to be a dedicated nodejs hosting feature. Nodejs works just fine as it is, except that I can't really map custom ports to port 80. I don't want to do this for just nodejs but for python, haskell and c++ (or what ever language) servers as well.
    0
  • cPanelMichael
    I'm not aware of a supported method that would work for this type of setup. You may want to consult with a qualified system administrator for help with this type of configuration: System Administration Services | cPanel Forums Or, you may find more user-feedback on this type of configuration from websites such as StackOverflow. Thank you.
    0

Please sign in to leave a comment.