For example, if I host a website in the U.K. but the site IP is from France, which country would the website be "located" in? I am asking this question: a) from a legal point of view b) from a search engines point of view (SEO)
How the website hosted in UK based web hosting can have IP range from France? The IP will follow the location of your server. If your server is in UK then your website will have IP based in UK and not France. Got it? Again if you still want the answer here is mine a) It is legal. Why different IP from the real location could be any legal issue? (If you can do it) b) Your website will be defined as based in France and not in UK. Your website should have a better ranking in Google.fr over Google.co.uk or Google.com.
Thanks for your input. Sorry for the mess up, but my question turned out to be based on a software error. Yesterday I was looking up the details of a website and got confused because the site was hosted in the U.K., but it's IP was located in another country. However, I checked again now and it seems as if the IP was incorrectly displayed and should be in the UK indeed.
It isn't always that case because it depends on routing. For instance, we have servers on the same IP range that are in different UK datacenters, and we work with a company who have servers in various UK datacentres as well as datacentres in Africa, Australia, and USA but some of these servers are sharing IPs on their allocated range. In most cases the IP address will be a direct reflection of the actual location of the server, but not always. Since the routing is internal, the connection may pass into the owned network at a UK location, but the location of the server after that is entirely dependant upon the routing policies and private networks
Interesting post, RonBrown! So basically it IS possible to have an IP address in a different country than the location of the server. Routing is the magic keyword.
This has nothing to do with routing. Each IP/netblock that is assigned is listed geographically according to how it is listed in the WHOIS database. How this is listed depends both on the IP authority granting the space and the location of the provider that IP swip'd to.