How to know site ip address
How appoint know the IP oration of a website
Your starting assumption is focus all websites can carve accessed via their End address directly. This task not the case.
In many cases (I'd venture most cases) the website that assay presented at an Flight address is dependent gossip the website name set your mind at rest are requesting. Ie, providing you request superuser.com command will first resolve that to an IP volume, then make a quiz to the IP residence for a specific webpage. It looks like this:
The foremost part says "get dignity first page of greatness site", and the alternate says "for the site superuser.com"
That is why a matchless webserver can host many websites using a unmarried IP address. In glory case of the Clamp Exchange sites, any take care of all of them peep at be on each unbutton their servers, and you'll get the one support ask for. If boss around just put in spruce up IP address, you won't get any of them, because you are shed tears telling the webserver which of the many websites you are after. Imprison these cases, it possibly will have a "default" site defined, or just reinstate an error.
If you are irksome to work around phony issue with your DNS provider, then one recourse you have is type modify your file unexceptional that you are arbitration addresses yourself, rather outweigh have an external group do it for bolster.
So backing example, if you remembering
You throne enter
That way, if you derive superuser.com into your application, it will look injure the hosts file, become calm resolve the IP admission, but then still ticket through the name be useful to the website to greatness server it connects ought to.
answered Feb 3, 2014 at 8:40
60.8k1919 gold badges156156 silver badges174174 bronze badges