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!

AutoSSL not applying to addon domains

Discussion in 'Security' started by Nikhil Kumar, Jun 6, 2018.

Tags:
  1. Nikhil Kumar

    Nikhil Kumar Registered

    Joined:
    Jun 5, 2018
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Noida
    cPanel Access Level:
    Website Owner
    Hello Everyone,
    I am using google cloud as hosting and i have installed cpanel on it. We are a a blogging platform and we provide free subdomains to user. We have purchased SSL certificate comodo from the SSL/Wizard in cpanel. This SSL certificate securing my main domain and their wildcard subdomains automatically.

    Now here comes a feature in which we provide custom domain to user if he wants to upgrade from the subdomain to own custom domain. It is all working with the help of Cpanel Addon Domains.

    So We point custom domain to the directory of subdomain that works perfect but now here comes the issue with SSL certificate which does not apply on the custom domain.

    As discussed with one member of Cpanel suggested us to use AutoSSL feature of cpanel which will solve our problem but unfortunately that didn't work for us.

    Below is the log file generated:
    Code:
    The system queried for a temporary file at “http://domain.com/.well-known/pki-validation/18E1324AB139465868E2140514105BBA.txt”,
    but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist.
    
    Some of geeks suggested to change .htaccess file as there could some redirection that creating the cause but We tried with the htaccess and removed https force redirection but again that not worked for us.

    So if anyone have a better and working solution then please help us. looking forward to see your response,thanks.
     
    #1 Nikhil Kumar, Jun 6, 2018
    Last edited by a moderator: Jun 6, 2018
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,303
    Likes Received:
    1,847
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @Nikhil Kumar,

    Can you review "Step 3" on the following resource and let us know if that helps to determine why AutoSSL is unable to resolve the domain name to an IP address?

    Tutorial - AutoSSL Troubleshooting Steps

    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