Checking if site is reachable by domain name

I created a new wordpress site for the parkour venue we’re starting in Stavanger, and after I purchased the domain I couldn’t reach the site. I had no clue what the IP was, so my only option was to wait for the site to be reachable by domain name. Instead of waiting and testing every few minutes, I decided to make a short python script to do it for me. I didn’t want to keep looking at my terminal either, so I got the script to give a notification when it was done using freedesktops D-Bus notification system.

Here’s a link to the github repo:


Leave a comment

Your email address will not be published. Required fields are marked *