Basit mantıkla bir siteye örneğin google a ping atıp eğer cevap yoksa local bir html gösterebilirsiniz