What is URL? How it Works?

If you have ever used the Internet, which you have probably done considering that you are reading this blog right now, you have almost certainly typed in a Uniform Resource Locator or URL to get where you are going online, but while some are simple like “Suratnow.com” or “pmindia.gov.in”.

Full length URLs can look awfully confusing. Why do we need HTTP in there and what are all those ampersands, question marks and hash signs doing? It is a good question. Let’s demystify the ingredients of your typical web address, starting with the beginning of the scheme the most familiar will probably be HTTP.

HTTP stands for HyperText Transfer Protocol. The set of commands that handles the transmission of webpages. But there are other Schemes as well. If you have ever clicked on an email address, you might notice that the link starts with “mailto:” scheme. That tells the browser to open up your email clients, you can fire off a message.



There is also FTP or you can say File Transfer Protocol. Which is used to send files, as the name suggests and from remote servers and even IRC or Internet Relay Chat, which allows to connect directly to a chat-room.

The next part of a typical URL is usually a domain name. The name of a website like “Suratnow.com” or “Google.com”. The “.com”, “.org” and “.net” at the end is called top level domain or TLD.

Which you can think of as the main categories that sort every websites on the Internet and help route requests through a certain group of servers to get you to the correct website.

Typically “.com” will indicate a commercial website of some sort, “.org” indicates a non-profit organization and there are plenty of TLDs that indicates sites associated with a certain country like “.in”, “.us” or “.uk”.

Recently country based TLDs have been used in so called domain hacks like “Youtu.be”. Which allows links to YouTube videos to be shorter. This doesn’t mean however that these site has anything to with Kingdom of Belgium.

Much of the rest of the URL, the part that is separated by slashes, indicates the path or the specific location of paeg or other piece of content on the specific website. Each slash indicates another sub folder, link of like how files on your computer storage drive are organized.

As for question marks, these make a URL hard to read, but their existence actually makes a lot of sense. They indicate a query defined by the user.

For example, if you type a search into Google, you will see your string in the results page URL after the question mark symbol. Which tells the server to execute that search if a URL has multiple queries.

These will be separated by Ampersands showing that the browser is relaying multiple pieces of information to the website, such as what kind of browser you are using or whether you were referred to a page from a certain site.

As you have ever clicked a link just to have it send you somewhere else on the same page that was probably done through a fragment indicated by a hash sign. Fragments can mark specific spots on a webpage but can also indicate other things like the folder you are looking at in Gmail.

URLs can also incorporate a few rarely seen variations. For Example, If you are trying to access a website that requires a login and password, some sites will allow you to just enter the username and password in the URL directly. Logging you in automatically.



Convenient, if you need to quickly share a link to a protected site, but not the best thing for security as your browser history will show your password in plain text.

And if you have ever visited a site based in a country that doesn’t use Latin characters like Greece or China, you might see a really weird domain name that includes “xn--” this means that the original characters were converted into a domain name compatible with DNS. So, computers can worldwide can view these pages.

But if the path after the domain name contains special characters, you will probably see these displayed with percent-encoding. Which is also sometimes used for other symbols. For Example “%24” corresponds to “$”. or “%20” corresponds to Blank space.

So, I hope this helped you unpack the mystifying stuff, you see in web addresses. There are top level domains “.ninja” or “.meme” but some unscrupulous people disagree. Comment me what do you think about this blog or information about URL.

Latest

Google Pixel 2: All the Rights and Wrongs at one Place.

Google recently announced their new Google Pixel Smartphones. With a more modern design, a larger screen, and battery and an exclusive paint job. What could…..

Should I turn off PC without Shutting Down?

When you consider about turning something off, it is just as simple as pressing switch. You can just flick the switch, rotate the key for…..

How to disable Auto Update in Windows 10?

For some people, Auto update in Windows OS is very annoying. Especially, when you got a limited data connection. So, you have to turn Auto update…..

How To increase maximum file upload size in php or in wordpress?

Sometime, you require files larger than 2 MB to upload on your PHP websites, which it does not let you do by default. Showing it…..

Data Breaching and Hacking Preventions

Recently,  number of cases of getting Credit card or bank account hacked has grown too much. So, probably this is a great time to talk…..

What is the largest possible Size of a Single File?

Kids from 2000s, you may not remember a time before a 120 GB hard drives were the bare minimum, but other of you from 90s…..

File Systems: What is FAT and NTFS? Which one is better?

You probably know someone, who is always miss placing stuff, I do personally. Whether they can not find their keys in the morning, they leave…..

App Review: MoveIt – transfer Media Files Automatically

From the title of the blog, you will think that, what is new in that? But well, there are some features in this you will…..

Status Forever: Android App to get Status for every mood

Are you looking for new Status to put on your Social media account? Whether you are feeling sad or true love, you will get all…..

Vivo Y69: Review and Specifications

The Chinese smartphone manufacturer Vivo always try to give you good and better Camera. Which is boring in a way. You just don’t get any…..

Apple iPhone X: Top 5 Features, Dream Project of Apple

If you have followed Apple at all, you have probably heard the old cliche that it does things better, instead of doing them first. Nowhere…..

How AHCI or IDE Modes can affect the Drive Performance?

When you finally decide to address a huge bottleneck in your computer by upgrading to an SSD for your Boot drive. But when you finally…..

Technical Terms that you don’t have an Idea of being Misused

Using the word Bacteria to refer to a single germ, which should be bacterium instead, mixing up Discrete and discreet and saying my Facebook got…..

How Important System32 Folder is for Windows OS?

Warning! Deleting this file can cause damage to Windows or another Program. Odds are pretty high that you have seen a message like that, if…..

Samsung Galaxy Note 8 First Impression: Do Bigger Things

Last year’s Galaxy Note 7 was perhaps “the most famous Samsung smartphone in history”, for all the wrong reasons. The company kicked off its recovery…..

Top 6 Upcoming Smartphones of 2017

2017 has been an incredibly exciting year, when it comes to smartphone launches. But that doesn’t mean, it will not get even better. So, Let’s…..

Mobile Networks: Evolution from 1G to 4G Explained

Most of us uses smartphone with 3G or 4G mobile networks, well mostly 4G after Jio Storm. But do you ever think what does it…..

Lenovo K8 Note: New Killer Note is ready to Kill the Ordinary

Chinese Mobile manufacturer Lenovo made a great success with their Lenovo K series. Especially with Lenovo K3 Note, Lenovo K6 Power and Lenovo K6 Note……

Moto’s Flagship Moto Z2 Force: Review and Specifications

Motorola’s best smartphone for 2017 is a thin, classy-looking handheld with a long-lasting battery. It’s compatible with Moto Mod accessories, and sold at a fair…..

Vivo X9s Plus Overview and Specifications

Chinese Smartphone Manufacturer Vivo has making quite the market in India from two to three years. Vivo has risen to the top in trusted mobile…..

  • Get more stuff like this
    in your inbox

    Subscribe to our mailing list and get interesting stuff and updates to your email inbox.