Pinging a website

Hi, I'm currently doing a project using IFTTT and I've created a webhook that I'm trying to access with a Lolin D1 mini board. All I need to do is ping a website and the webhook will trigger an sms message for me, but I keep getting a connection failed message. I've gone through the ESP8266 manual and looked at different people's webclient codes but none seem to work. Any help would be appreciated thank you!

Board: LOLIN(WEMOS) D1 R2 & mini
Upload Speed: 115200
CPU Frequency: 80 MHz
Flash Size: 4MB (FS:1MB OTA:~1019KB)
Debug port: Disabled
Debug Level: None
IwIP Variant: v2 Lower Memory

Code:

#include <ESP8266WiFi.h>

const char* ssid = "Wifi";
const char* password = "12345678";

const char* host = "https://maker.ifttt.com/trigger/Seizure/with/key/tp0UwFywzMGnbqqkdk2okIfVp5gwWULXXXXXXX";

void setup()
{
Serial.begin(115200);
Serial.println();

Serial.printf("Connecting to %s ", ssid);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(500);
Serial.print(".");
}
Serial.println(" connected");
}

void loop()
{
WiFiClient client;

Serial.printf("\n[Connecting to %s ... ", host);
if (client.connect(host, 80))
{
Serial.println("connected]");

Serial.println("[Sending a request]");
client.print(String("GET /") + " HTTP/1.1\r\n" +
"Host: " + host + "\r\n" +
"Connection: close\r\n" +
"\r\n"
);

Serial.println("[Response:]");
while (client.connected() || client.available())
{
if (client.available())
{
String line = client.readStringUntil('\n');
Serial.println(line);
}
}
client.stop();
Serial.println("\n[Disconnected]");
}
else
{
Serial.println("connection failed!]");
client.stop();
}
delay(5000);
}

First: edit your post and insert code tags!

Your code does not ping the webhost but simply requests a webpage (which then might trigger anything else). The term ping is used for something completely different in the networking world!

const char* host = "https://maker.ifttt.com/trigger/Seizure/with/key/tp0UwFywzMGnbqqkdk2okIfVp5gwWULXXXXXXX";

That's not a hostname, that's a URL. The hostname is just "maker.ifttt.com".

 if (client.connect(host, 80))

In your URL you have https but on port 80 is http, https is on port 443. I strongly suggest to use the ESP8266HTTPClient library, as it includes all the stuff you need and there you can specify a URL directly.