Why working DNS does not guarantee working HTTPS

DNS answers a routing question: where should a browser connect for a domain name? HTTPS answers a different question: can the server prove that it is authorized to present a secure connection for the exact name the browser requested? A domain may resolve to the intended IP address while the server presents an expired certificate, a certificate for another name, or one the browser cannot trust.

Start by recording the exact address and warning rather than treating every certificate error alike. A warning for example.com may have a different cause from one for www.example.com. Note whether the browser mentions a name mismatch, expiration, or an untrusted issuer. Do not enter passwords or other sensitive information on the warning page, and do not make bypassing the warning your troubleshooting step.

Check the name and certificate being presented

Compare the hostname in the address bar with the names shown in the certificate details, which most browsers make available through their connection or warning information. A certificate covering example.com does not necessarily cover www.example.com, and the reverse is also true. A wildcard certificate such as one for *.example.com generally covers names one level below example.com, but not the bare example.com name. Also check whether a redirect sends visitors to a hostname the certificate does not cover.

If the certificate names do not match, inspect the HTTPS configuration at the point that handles the connection. That might be a web server, hosting platform, load balancer, or content delivery network rather than the application itself. On systems hosting multiple sites at one IP address, the correct certificate must be selected for the requested hostname. A default certificate from another site can appear even when the DNS record points to the expected address.

Look for expiration and trust-chain problems

Certificate details can also show whether the certificate is outside its validity period. If it has expired, check the renewal process and confirm that the renewed certificate was installed on every system serving HTTPS. A renewal can succeed without fixing the warning if a proxy or load balancer is still presenting an older certificate. If the certificate appears not yet valid, first check the date and time on the affected device; an incorrect clock can cause misleading warnings.

An untrusted-issuer warning has a different shape. A server may be presenting a certificate from an issuer the browser does not trust, or it may be missing an intermediate certificate needed to build a trusted chain. Avoid assuming that adding a DNS record will repair either condition. Review the certificate installation on the HTTPS endpoint and use the hosting provider’s certificate documentation when the platform manages certificates for you.

Compare the routes visitors can take

A domain can have several DNS answers. Check its A and AAAA records, along with any CNAME used by the affected hostname. If IPv4 and IPv6 lead to different destinations, visitors may reach different HTTPS configurations. The same can happen when a hostname uses multiple addresses or a provider serves traffic from several locations. Testing both example.com and www.example.com, and comparing results from another network or device, can help narrow down an inconsistent warning.

DNS caching matters when records have recently changed. Some visitors may still connect to an earlier destination until cached answers expire, while others reach the new one. Compare the address returned by the affected device with the intended DNS configuration before changing records again. Keep in mind that a correct address only establishes where the connection goes; the certificate served there still needs to be checked.

Separate site-wide failures from local interference

If the warning appears on only one device or network, check that device’s clock, browser updates, and network connection. Public Wi-Fi sign-in pages and some network security tools can interfere with HTTPS connections. A VPN or local proxy may also change the route. Testing on a trusted alternative network can help distinguish a local issue from a site configuration problem. Do not disable security protections just to make a warning disappear.

When asking a hosting provider or administrator for help, send a concise, sanitized report: the affected hostname, the browser’s warning text, whether the problem affects www or the bare domain, and whether it varies by device or network. Certificate names, validity dates, and the returned IP address can also be useful. Never include account passwords, private keys, or DNS-provider credentials. The aim is to identify which HTTPS endpoint serves the warning, then correct its certificate or configuration.

Back to category ↗