+ 1

Difference between domain and url

2nd Dec 2016, 9:50 AM
srujana
2 Answers
+ 2
- Domain name is a name linked to an ip adresss using DNS - URL : "Uniform Resource Locator" is the standarized way for locating resources on the web it is made by : * scheme : protocol to be used (ex : https) * host : ex www.google.com * port : optional , if u didn't specify a protocol I think * path : the file that u want from the server (ex : /files/dir/epic.html) * query string : a collection of arguments to the file that u requested , it my be empty it's has this format : scheme://host:port/path?query
2nd Dec 2016, 10:09 AM
mekacher anis
mekacher anis - avatar
+ 1
URL is the whole instructionto get any resource it has several parts domain is one of them URL in normal have protocol domain path. http://www .google. com/index.html domain
2nd Dec 2016, 10:36 AM
Sandeep Chatterjee