I have a webpage with an iframe to another webserver that I run. However, this other webserver is not always up, and I would like to make it so I can display some custom HTML when the iframe couldn’t connect. The webpage in question is http://map.junglehornet.com (A work in progress, not very pretty). Does anyone know how to do this? By the way, I am using NGINX for the front-end webpage, and the secondary webserver is running off of a Minecraft server.
I haven’t tried anything yet, as I don’t where to start or what to do. I expect that when the IFrame can’t connect to the second webserver, i will be able to replace the IFrame with custom HTML.