[DNS isse] Error 526

I fixed SSL in My primary site (myezbooking.com), but my subdomain site still showing errors (Error 526) after I add CNAME record for it. Here are some details:
-SSL Mode: Full Strict
-Original Cert: Yes and upload to Host’s CPanel already

Situation: when testing my subside =>https://test2.myezbooking.com it’s always showing error 526, but:
-When I use ClourFlare’s SSL Test Tool (https://www.cloudflare.com/lp/ssl-test), everything shows correct (all greens, Certificate is Valid, Https is enabled, No Client Errors).
-This https://test2.myezbooking.com only showing correctly when I switch SSL Mode to Flexible. But when in Flexible mode, the main site myezbooking.com will become failure to open.

Anyone could help this weird issue?

I’m seeing mixed content errors, though it looks like you’re changing settings as I type. Give https://www.whynopadlock.com a try once you get the 526 straightened out.

https://test2.myezbooking.com/ works for me and does not return error 526 (or any other error). Try in a new session such as Incognito/Private/InPrivate browsing.

However even though the page loads, it loads broken, because you have HTTP elements loaded from within your HTTPS content (a.k.a. “Mixed-Content”). For example the URL http://test2.myezbooking.com/wp-content/themes/twentyseventeen/assets/images/header.jpg is loaded. This would have worked if your link was relative and not full (and the link would be shorter, so less data to transfer). like this: /wp-content/themes/twentyseventeen/assets/images/header.jpg)

Also broken is the design, because all the links to your CSSs are also broken:

<link rel='stylesheet' id='wp-block-library-css' href='[http://test2.myezbooking.com/wp-includes/css/dist/block-library/style.min.css?ver=5.0.3](view-source:http://test2.myezbooking.com/wp-includes/css/dist/block-library/style.min.css?ver=5.0.3)' type='text/css' media='all' /> 
<link rel='stylesheet' id='wp-block-library-theme-css' href='[http://test2.myezbooking.com/wp-includes/css/dist/block-library/theme.min.css?ver=5.0.3](view-source:http://test2.myezbooking.com/wp-includes/css/dist/block-library/theme.min.css?ver=5.0.3)' type='text/css' media='all' /&gt; &lt;link rel='stylesheet' id='twentyseventeen-fonts-css' href='[https://fonts.googleapis.com/css?family=Libre+Franklin%3A300%2C300i%2C400%2C400i%2C600%2C600i%2C800%2C800i&amp;#038;subset=latin%2Clatin-ext](view-source:https://fonts.googleapis.com/css?family=Libre+Franklin%3A300%2C300i%2C400%2C400i%2C600%2C600i%2C800%2C800i&amp;subset=latin%2Clatin-ext)' type='text/css' media='all' > 
<link rel='stylesheet' id='twentyseventeen-style-css' href='[http://test2.myezbooking.com/wp-content/themes/twentyseventeen/style.css?ver=5.0.3](view-source:http://test2.myezbooking.com/wp-content/themes/twentyseventeen/style.css?ver=5.0.3)' type='text/css' media='all' />
<link rel='stylesheet' id='twentyseventeen-block-style-css' href='[http://test2.myezbooking.com/wp-content/themes/twentyseventeen/assets/css/blocks.css?ver=1.1](view-source:http://test2.myezbooking.com/wp-content/themes/twentyseventeen/assets/css/blocks.css?ver=1.1)' type='text/css' media='all' />

If WordPress has been the one generating all these automatically, maybe it’s a good idea to set the base URL in the configuration as https://yoursite instead of http://yoursite

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.