Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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
    
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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