The ERR_SSL_UNRECOGNIZED_NAME_ALERT error occurs when the browser tries to make an HTTPS (SSL-secured) connection, but the server doesn’t have a valid SSL configuration for that particular domain or temporary URL.
This is often the case when using a staging or temporary domain that is not covered by an SSL certificate.
This problem usually arises out of:
SSL (HTTPS) is not supported by the temporary URL
The staging domain does not have the SSL certificate issued
The browser is enforcing HTTPS automatically
The temporary URL is configured to use HTTPS rather than HTTP in WordPress
To solve this problem, ensure that the temporary URL loads via HTTP, not HTTPS.
Check the WordPress settings and change the site URL and home URL to use:
http://example-co-uk.staging.comRather than:
https://example-co-uk.staging.com/Make sure both of the following are set to update:
WordPress Address (URL)
Site Address (URL)
Temp or staging domains should use http://
SSL will only function when:
A connected proper domain
The domain has valid SSL certificate installed
The site is not using a temporary or staging address
Once the domain is set up correctly with SSL, HTTPS will work without any errors.
The ERR_SSL_UNRECOGNIZED_NAME_ALERT error happens because the temporary URL doesn’t support SSL over HTTPS. You can switch the site to HTTP and make sure the WordPress URLs are set correctly and that should fix it until you get a proper domain with SSL configured.