Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

i am using WHM and cPanel on website

when i goto mywebsite.com:2082 in browser address bar it shows the cpanel window

and mywebsite.com:2087 it shows the WHM login window.

is there any way to disable this from domainname??

share|improve this question

closed as off-topic by HopelessN00b Jan 14 at 0:26

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
are you on shared hosting? –  Abhishek Anand Amralkar May 23 '13 at 10:02
    
no on dedicated server –  Badal Surana May 23 '13 at 10:36
    
you want it to access via IP ADDRESS but not from Domain name? –  Abhishek Anand Amralkar May 23 '13 at 12:03
    
yes... is it possible?? –  Badal Surana May 23 '13 at 18:18
    
This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. –  HopelessN00b Jan 14 at 0:26

1 Answer 1

You can not disable the cPanel/WHM login when accessing them from domain.com:port because you are directly connecting to the port of the ip address that the domain name resolves to. cpsrvd (the cPanel interface web server and control process) always displays the login page on those ports.

The only way you could disable this is by setting up a reseller with a shared ip and moving your sites to this second ip address. Then you can use a firewall like ConfigServer Security and Firewall to firewall off these ports on the second ip so they are not accessible on the ip that the domain name resolves to.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.