Say I have an URL or an IP for a website.
Is there a way to tell who is hosting that site? Rackspace, Azure, Amazon etc?
Say I have an URL or an IP for a website.
Is there a way to tell who is hosting that site? Rackspace, Azure, Amazon etc?
If you only have the IP address, you can do some investigation as follows. I will use I will use 23.226.227.64 (gwhois.org) and my suite of tools at GWhois.org for the examples.
Do a Whois lookup for the IP address: https://gwhois.org/23.226.227.64
We can see that this IP address is registered to Ramnode.

Also, on the whois details we may find the company's website, for example.

Do a Reverse DNS lookup for the IP address: https://gwhois.org/rdns/23.226.227.64
The IP address has a PTR (pointer) record for gwhois.org.

If a domain name is found in the Reverse DNS lookup, then you can do a Whois lookup for the domain name itself: https://gwhois.org/gwhois.org

So in the very least, you can find out who the IP address is registered to and reach out to that company for more information. If the IP address has a PTR record, then you can do also Whois lookup for that domain and reach out to the the owner for more info as well.
Generally, the theory of this is that the DNS name of the website resolves to an IP.
That IP will be one of a bank of addresses used by a webhost.
Alternatively, you can view the full whois information which will normally contain a record for the webmaster. Failing that, you can lookup the DNS records of a website and see who the nameservers are registered to or similar.