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

Audio File Formats and Compressions Explained

If you are into music, it might seem like there are just way to many audio formats to choose from. Can’t we just use Mp3…..

Coolpad Cool 1 Dual Review and Specs: Dual is Cool

Coolpad and LeEco joined their forces to create the Coolpad Cool 1 Dual. This smartphone was announced soon after LeEco’s CEO Jia Yueting took place as…..

Oneplus 5: The best is yet to come!

We are just 40 hours away from the official announcement of Oneplus 5. But there is no point of announcement when the exclusive look of the…..

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…..

Samsung Galaxy J7 Pro Overview and Specs: Life is Now

Samsung has received tremendous response from the consumers with their Galaxy J series. As the tag line of the Galaxy J Series “Innovations for you”…..

Oppo R11 Plus Overview and Specs: Dual Rear Camera and Selfie Expert

Selfie Expert, this is the tag line for Oppo’s smartphones. Starting from the Oppo F1 to Oppo F3 plus, All those were Selfie Experts. This…..

Moto Z2 Play Review: Unlimited Possibilities

Since Lenovo bought Motorola, we are getting smartphones with uniqueness. Each and every one of their smartphone has it’s own unique feature. Or if you…..

Tesla Model S: Features and Overview

Today, I am going to tell you about all the features of Tesla Model S. So, What makes Tesla Model S such an advanced car……

Samsung Galaxy J3 Pro Review: Best Low Budget phone?

Samsung has been focused on their Flagship smartphones like Samsung Galaxy S8 and Samsung Galaxy S8 Plus, Samsung is being successful with those, but as you mention…..

Why Encryption is necessary? Why back-door is a bad idea?

Encryption has become a major debate recently. Recently, Apple wrote an open letter to the US government, explaining why forcing companies to insert a back-door…..

HTC U11 Full Review: Does HTC Worth It?

The HTC U11 is a smartphone full of contradictions. A stunning back plate made into a forgettable face, quick software blunted by extraneous gimmicks, slick…..

Samsung Dex: Using your Smartphone like a Desktop Computer

The Samsung Dex, the dock that turns your Samsung smartphone into a computer. Probably the coolest thing about Samsung Dex is that it exists at…..

Andy Rubin’s Essential Phone Specs and Overview: Bezel-less Design

Essential Ph1 is not just another anonymous startup, who promise to reinvent the smartphone. The man in the captain’s chair is Andy Rubin. He is…..

Hackintosh – running MacOS on non-Apple hardware, How it works?

If you are interested in computer building, you might have noticed a common thread and most of the how to guides out there on the…..

What is Application Programming Interface (API)? What it does?

API can be just as important as device driver, but if a driver is already there, then to serve as the link between your hardware and programs, then….

Gionee S10 Specs and Overview: Smartphone with Four Cameras

Two months ago, Gionee Released their selfie centred smartphone Gionee A1 #Selfiestan. Now, they are back with another surprise to the consumers with a Four…..

Xiaomi Redmi 4: Smartphone with Record Breaking Sales

Xiaomi Redmi 4, In online sale across their official website and Amazon, they sold over 250K+ units within mere 8 minutes. The rush for buying…..

HTC’s Flagship for 2017, HTC U11 Specs and Overview

After getting not so good response with HTC U Ultra, HTC has to make a great comeback. This is their chance. HTC U11 is HTC’s Flagship smartphone…..

Xiaomi’s Flagship for 2017, Xiaomi Mi 6 Specs and Overview

Xiaomi recently unveiled their Flagship smartphone Xiaomi Mi 6. Xiaomi highlighted their key new features at the event, features like Snapdragon 835 chipset, 6 GB of…..

Top 5 Announcements from Google I/O Keynote (Google I/O 2017)

Google I/O is basically a Developer Conference for people who use Google software and for all those developers of apps that run on those Google…..

  • Get more stuff like this
    in your inbox

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