-2

I read the following :

Technically, online searches would stop looking for URLs 
(the Uniform Resource Locator) and start looking for URIs
(Uniform Resource Identifiers).

and I am wondering, what does that mean ? I understand the difference between URL and URI but I don't get this. How can I reach a server by just using URI ?

saplingPro
  • 20,769
  • 53
  • 137
  • 195

1 Answers1

1

That's simple but yet confusing. In simple words, "every URL is a URI but not every URL is URL". When you specify a protocol or connection format with URI, it becomes URL e.g

example.com is a uri http://example.com is a url ame is for ftp://, mailto: etc

So practically, you can't us just the uri to access the server because you need to specify what type of connection you want unless you enter the address directly in the browser which uses http:// by default

Regarding the questions about searches, so that's true, when ever you make a request, the dns first finds the URI regardless of the connection type then that's your browser which will try to make a connection to the server using a required protocol. So its like this:

Browser ---> Sends URI to DNS SERVER Browser <--- DNS server Sends back an IP Browser ---> adds a protocol, making the url from uri and try to connect to server

Metabolic
  • 2,808
  • 3
  • 27
  • 41
  • `example.com` is not an URI. And there are URIs with protocols that are not URLs. – unor Nov 02 '13 at 01:57
  • It was example. You have to add a extensions or specific path to the it. And protocol counts a lot in URI and URL – Metabolic Nov 02 '13 at 06:12