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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The domain does not exist on this server message

Discussion in 'Security' started by DigitalEssence, May 16, 2018 at 8:08 AM.

  1. DigitalEssence

    Joined:
    May 21, 2014
    Messages:
    24
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi,

    I have two servers with domains spread between them both and am getting a lot of errors in AutoSSL when it runs but the domain is on the other server. The emails are also being sent to customers which is causing me a fair few phone calls.


    WARN Local DCV error (curriesroofingspecialists.co.uk): The system queried for a temporary file at “http://example.com/.well-known/pki-validation/758B3933C841BA1EFD84465C697D0ACF.txt”, but the web server responded with the following error: 404 (Not Found). A DNS (Domain Name System) or web server misconfiguration may exist. The domain “example.com” resolved to an IP address “1.2.3.4” that does not exist on this server.

    I understand why I'm getting the error but not how to stop this when the domain isn't on this server. How do I ensure that AutoSSL only runs for domains on the current server?

    I have searched these forums and read the tutorial but couldn't see any answers that were relevant to my issue.

    Thanks
     
  2. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    906
    Likes Received:
    65
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @DigitalEssence

    For domains that don't resolve to the server, because AutoSSL doesn't have a way to know if they resolve or not when an AutoSSL run for the account is started it would be best to exclude domains through cPanel>>Security>>SSL/TLS Status.

    Alternatively, you can also disable the notification that is sent for this specific issue though they wouldn't get them in the instance there's actually an error as well.
     
  3. DigitalEssence

    Joined:
    May 21, 2014
    Messages:
    24
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hi,

    I have disabled AutoSSL for all of the users who aren't on this server by ticking:

    "Disable AutoSSLOverride the feature list setting and force AutoSSL to be disabled."

    But they are still getting messages advising that the certificates have expired:

    domainname.com SSL certificate expiry date UTC

    domainname.com: The SSL certificate expires on Jul 27, 2017 at 12:00:00 AM UTC. At the time of this notice, the certificate expired “296 days, 1 hour, 31 minutes, and 5 seconds” ago.

    The SSL certificate for “domainname.com” has not been renewed. You must take action to secure this site.
    To upgrade to an EV or OV certificate, navigate to the “SSL/TLS Wizard” interface.
    The following domain names lost SSL coverage when the certificate expired:
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    906
    Likes Received:
    65
    Trophy Points:
    103
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @DigitalEssence

    That specific notification will go out for any SSL (provided by AutoSSL or not) reaching expiry. You can disable this in WHM>>Server Configuration>>Tweak Settings -> Notifications -> Send notifications when certificates approach expiry. (if enabled and an AutoSSL certificate fails to renew it will send a notification in that instance as well.)

    Thanks!
     
Loading...

Share This Page