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.

Change IP:PORT for a domain

Discussion in 'General Discussion' started by khorinis, Feb 11, 2011.

  1. khorinis

    khorinis Well-Known Member

    Joined:
    Aug 15, 2010
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Hello,
    how i can change on which IP and Port the domain domain.tld is listening?

    We need to do the following request line:
    Server 1 (nginx, reverse proxy mode) -> Server 2 (nginx admin, reverse proxy mode) -> Server 2 (Apache on port 8081 from nginx admin)
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello khorinis,

    You can change the Apache port in WHM > Tweak Settings > Apache non-SSL IP/port area if you need to change the default Apache port. I'm uncertain about changing the port for just one domain otherwise, since if you are using nginx, you'll need to refer to the documentation on it.

    There are many threads on the forum about nginx and plugins for cPanel to use that will help configure it in WHM. One such thread mentions Nginx Admin - cPanel nginx automated installer Plugin and can be found being discussed at http://forums.cpanel.net/f189/nginx-automated-installer-148109-p38.html#post775221 location.

    Thanks.
     
Loading...

Share This Page