Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How To Remove Proxy Subdomains for AutoSSL

Discussion in 'Security' started by kylejlarson, Dec 14, 2017.

  1. kylejlarson

    kylejlarson Registered

    Joined:
    Dec 14, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Minneapolis, MN
    cPanel Access Level:
    Root Administrator
    AutoSSL tried to renew it's certificates on my server but failed for a number of domains because of 404s on the Proxy Subdomains (whm.domain.com, cpanel.domain.com, etc) when trying to find the temporary files it creates.

    I don't really need those proxy subdomains, so I disabled them in WHM. The AutoSSL errors still exist for those subdomains. I've found that if I manually remove the domains from cPanel and re-add them the issue is resolved (as I assume those subdomains are no longer recreated).

    I'd like to find a way, if possible, to remove the subdomains without having to manually remove/add all my domains. I tried SSHing into the server & running "/scripts/proxydomains remove" which executed and said no changes needed for all domains. So that didn't solve the issue.

    Is there any other way to make sure the proxy subdomains no longer exist and the AutoSSL script doesn't look for them?
     
  2. kylejlarson

    kylejlarson Registered

    Joined:
    Dec 14, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Minneapolis, MN
    cPanel Access Level:
    Root Administrator
    Appears to have resolved itself after about 48hrs.
     
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,720
    Likes Received:
    1,883
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    If you don't want to use proxy subdomains at all on your system, then you'd need to first disable the "Proxy Subdomains" option under the "Domains" tab in "WHM >> Tweak Settings". You'd then use the following command to remove any proxy subdomain DNS records on your existing accounts:

    Code:
    /scripts/proxydomains remove
    Note that if the proxy subdomain DNS records exist during the initial AutoSSL attempt, then you may still see the AutoSSL error messages for a brief period until the AutoSSL feature runs a new check.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice