Wait, so can you access a website using another ip address if the domain’s DNS is down? Like, if you have the IP but the domain isn’t resolving?
Technically yes, but many sites use virtual hosts, so the server won’t serve the right content without the domain name. Some CDNs like Cloudflare might still block direct IP access too.
For testing, you could try curl with the Host header, like:
`curl -H "Host: example.com" http://1.2.3.4`
Technically yes, but many sites use virtual hosts, so the server won’t serve the right content without the domain name. Some CDNs like Cloudflare might still block direct IP access too.
For testing, you could try curl with the Host header, like:
`curl -H "Host: example.com" http://1.2.3.4`
