0

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.

  • Do any of these answer your question?: https://stackoverflow.com/q/375710/20170164, https://stackoverflow.com/q/3705083/20170164, https://stackoverflow.com/q/60461930/20170164 – rainbow.gekota Nov 03 '22 at 01:42

0 Answers0