Question: When I type in PowerShell

`ping security.stackexchange.com`

...it gives me the following:

`Pinging security.stackexchange.com [151.101.193.69]`

And as far as I understand, this IP address corresponds to domain name security.stackexchange.com . But then I try to connect to the website using IP, it cannot establish connection and gives me an error "Unknown domain". Why?

Answer: 
Because the HTTP protocol does allow multiple web sites to be hosted on one IP address. To identify the domain you want to connect to the HTTP protocol uses an header entry `Host`. If that entry is missing or contains just the IP address the server does not know which domain you are trying to reach and returns `Unknown domain`.

A full http requests that uses the IP address looks like this:

`telnet 151.101.65.69 80`

```
GET http://151.101.65.69/ HTTP/1.1
Host: security.stackexchange.com

```
You can connect using the IP. In reality, the message you are receiving indicates that you successfully connected to `151.101.193.69`:

```
Fastly error: unknown domain: 151.101.193.69. 
    Please check that this domain has been added to a service.

```

This shows that you connected to a [Fastly CDN server](https://docs.fastly.com/en/guides/how-fastlys-cdn-service-works), but without telling which domain you want to access. So the Fastly server at 151.101.193.69 have no idea what you are trying to access and shows you that error.

If the IP wasn't accessible you would receive a "Connection denied" error instead.