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.

How to access VPS WHM behind firewall

Discussion in 'General Discussion' started by Pham Huy Anh, Dec 3, 2014.

  1. Pham Huy Anh

    Pham Huy Anh Registered

    Joined:
    Nov 21, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hanoi, Vietnam, Vietnam
    cPanel Access Level:
    Root Administrator
    Hello,

    I have googled/studied for the last 4 months before asking...

    My understanding, correct me if i am wrong:
    - First of all, WHM is for the boss of VPS to manage overall server , right ? so WHM usually stick with an IP, not a domain. Domains belong to websites living on that server..

    => I don't know how a sub domain proxy can connect to VPS WHM.
    Assuming that I have 111.222.333.444 for WHM
    111.222.333.555 for mysite1.com
    111.222.333.666 for mysite2.net

    whm.mysite1.com to access WHM of the whole VPS seems weird to me..


    - Most of firewalls only allow 80/8080/443. In my current configuration, port 80/443 is for httpd serving websites. port 8080 is for cpanel (also serving sites). Looks like no option available here..

    Please help
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    When you enable proxy subdomains, VirtualHost entries are added to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy). Could you elaborate on how this is not working on your system? For instance, what is not working as intended?

    Thank you.
     
  3. Pham Huy Anh

    Pham Huy Anh Registered

    Joined:
    Nov 21, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Hanoi, Vietnam, Vietnam
    cPanel Access Level:
    Root Administrator
    Michael,

    I mean I heard about the technic but I couldn't get it. It is confusing to me:
    - My VPS WHM has no domain name , ofcourse, I just need an IP to run WHM
    - I have 2 domains mysite1.com and mysite2.net

    So my understanding is : 1 WHM has n cpanel/website/domain

    But the document here is saying : https://documentation.cpanel.net/di...#TweakSettings-Domains-Proxysubdomaincreation

    cpanel.example.com
    webmail.example.com
    webdisk.example.com
    whm.example.com

    Does it mean whm.mysite1.com and whm.mysite2.net both point to my VPS WHM?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, VirtualHost entries for proxy subdomains should work for all domain names associated with new accounts that you add to your system.

    Thank you.
     
Loading...

Share This Page