Hi I was wondering how do some big sites disable access to their cpanel. like when i type www.mysitename.com/cpanel , it asks for my id-pass to enter the cpanel but when i try to do the same with some other big company sites then they take me to an invalid 404 type page and do not ask for any id-pass. 1.so where do they host their cpanel.. how do the site administrator enter those site's cpanel. 2.Can we host cpanel in some other server and not in the same server in which our site lies. I am also asking this becoz somtimes when in peak times server cpu load goes over 30-40 the cpanel do not open and it takes 1 or 2 hour to get it open, So if we can host the cpanel in different server then i guess we can access it anytime .. plz clarify my this thinking.. 3.also i want to know all kind of security measure we can take to secure the cpanel.
The /cpanel is a redirect in the httpd.conf redirecting to the port 2082 and 2083 which is SSL. The /whm is the same concept but goes to 2086 and 2087 If you have a firewall installed you can prevent this easily but not allowing port 2082,2083,2086,2087 through. Don't forget that not ever site is powered by Cpanel so these ports may not even be available. Cpanel has to run on the server where the sites are located. There are lots of security measures you can take. But the best security is having an admin that is very familiar with Linux/Cpanel/Security! PM me if you need any help.
I have just had a look into those tutorials, those are fully copied form http://www.webhostgear.com You shouldn't copy some simple commands at least: You could try changing them to:
And I've mentioned the name as well, in few pages. I've written few tutorials myself as well, but I'vent yet made them public. Would do that by next 3 days
@Enfinity thanks buddy for the info.. can u tell me practically how to do this.. cpanel protection .. i want to learn " how to make this page : a 404 not found on sitename.com/cpanel" for example : http://www.yahoo.com/cpanel , http://bigadda.com/cpanel .. etc @inworx Thanks frnd . this site is good and the tutorials are also good.. nice for a newbie like me..
Take a look at aliases section in your httpd.conf. You might want to change /cpanel to /anything, so any visit to www.domain.com/cpanel will be directed to 404 page