Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    102

    Default Disable whm. subdomains but leave cpanel. subdomains in place

    I am having a lot of trouble with Brute Force attacks against my servers. Worst of all WHM's brute force protection is locking root access not only via WHM but also via SSH leaving the sysadmin unable to access the server until the brute force database is resetting itself. (Of course from a security point of view this is a good thing)

    Now to prevent this from happening the WHM ports (2086/2087) have been restricted to our own IP addresses. However, hackers are using the whm. subdomains to circumvene the firewall block on 2086/2087.

    Disabling proxy subdomains altogether is not an option as many customers need their cpanel. and webmail. addresses. What we want to do is disable the whm. subdomains but leave the cpanel. and webmail. subdomains in place.

    Changing httpd.conf has only temporarily resolved the problem as WHM is undoing these changes.

    Is it possible to disable whm. subdomains while leaving cpanel. and webmail. subdomains in place ?

    If not, please consider this a feature request.

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Disable whm. subdomains but leave cpanel. subdomains in place

    Hello driverC,

    You could follow similar directions to those I have at this location:

    http://forums.cpanel.net/f5/you-can-...tml#post801711

    Basically, rather than removing the webmail entry, you would remove the whm entry and hard-code the other entries into the zone file templates. If you have any questions or issues doing this, please let me know.

    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    102

    Default Re: Disable whm. subdomains but leave cpanel. subdomains in place

    Hi Tristan,

    thank you for your response...but wouldn't this only remove the DNS entries for the proxy subdomains ? Just asking because in this case a hacker could still access the subdomains by creating an entry in his computer's hosts file.

Similar Threads & Tags
Similar threads

  1. Adding CPanel to Subdomains using WHM
    By Wesslayneb in forum New User Questions
    Replies: 3
    Last Post: 04-05-2010, 01:46 PM
  2. wildcard subdomains and normal subdomains at the same time
    By mojoinst in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-09-2009, 07:53 PM
  3. Disable ability to set up email on subdomains...
    By 4u123 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-27-2009, 05:07 AM
  4. New Update: Disable webmail subdomains!
    By skina in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-30-2008, 07:52 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube