If you use SSL your server needs to have all the certs. use curl to check if you can access the site first (this is a good practice)
3.) The site might have re-directs and if Checkmk is not told to follow them, it won’t. SPORT24 - On top of your game might be re-directed (as an example) to news24.com/sport/index.html
Performing a CURL from the CheckMK Server, it looks like everything works fine (200 OK)
curl -vo /dev/null https://www.news24 .com/sport
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 104.16.251.81:443…
TCP_NODELAY set
Connected to www.news24.com (104.16.251.81) port 443 (#0)
Yes,
Just so anyone else finding this post - The solution is to add the Virtual Host as well. This is a bit confusing (actually most text in English here is confusing for someone who have worked with the web for over 20 years…)
This, i think just means you should send a HTTP/1.1 request where you include the domain name in the request (This was added long time ago in browsers, curl etc that allows the web host to have mutilple domain-namnes on the same IP adress, that was not possible with HTTP/1.0)
And with HTTPS you have the same feature, called SNI. Most CDNs will check both to see if they mach, if not they might refuse the connection like we saw here
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.