IP addresses are used to identify devices connected to the Internet. URLs are used to locate specific resources which are made available by a specific device, typically a web server. A name server ties the two together: the URL which identifies the resource, and the IP address which identifies the physical device where the resource is located.