How Do URLs Work?

Techquickie ·Techquickie ·2018-05-06 · 1,034 words · ~5 min read
Floatplane YouTube

Transcript

JSON SRT VTT 76
0:00 if you've ever you know used the internet which you've probably done
0:04 considering you're watching this video you've almost certainly typed in a
0:09 uniform resource locator or URL to get
0:13 where you're going online but while some are simple like line ofc tapes.com or
0:17 whitehouse.gov fulllength URLs can look awfully confusing why do we need HTTP in
0:24 there and what are all those Amber Sands question marks and pound or excuse me
0:30 hash signs doing it's a good question let's demystify the ingredients of your
0:34 typical web address starting with the beginning of the scheme the most
0:39 familiar will probably be HTTP which stands for hypertext transfer protocol
0:44 the set of commands that handles the transmission of web pages but there are
0:49 other schemes as well if you've ever clicked on an email address you might
0:52 notice that the link starts with mail to a scheme that tells the browser to open
0:56 up your email clients you can fire off a message there's Al FTP or file transfer
1:02 protocol which is used to send well
1:05 files as you probably guess to and from remote servers and even IRC which allows
1:10 you to connect directly to a chat room the next part of a typical URL is
1:14 usually a domain name the name of a website like Amazon.com or microsoft.com
1:20 the doc.net or.org at the end is called
1:24 a top level domain or TLD which you can
1:28 think of as the main cat categories that sort every website on the internet and
1:33 help route requests through a certain group of servers to get you to the
1:36 correct website typically will indicate a commercial website of some sort .org
1:42 indicates a nonprofit organization and there are plenty of tlds that indicate
1:46 sites associated with a certain country like us oruk more recently country-based
1:52 tlds have been used in so-called domain hacks like
1:57 youtube.be which allows links to YouTube videos to be shorter this doesn't mean
2:01 however that the site has anything to do with the kingdom of Belgium much of the
2:06 rest of the URL the part that is separated by slashes indicates the path
2:10 or the specific location of the page or
2:13 other piece of content on the specific website each slash indicates another
2:18 subfolder kind of like how files on your computer storage Drive are organized as
2:23 for question marks these make a URL hard to read but their existence actually
2:28 makes a lot of sense they indicate a query defined by the user for example if
2:33 you type a search into Google you'll see your string in the results page URL
2:38 after the question mark symbol which tells the server to execute that search
2:43 if a URL has multiple queries these will be separated by Amber sance showing that
2:48 the browser is relaying multiple pieces of information to the website such as
2:52 what kind of browser you using or whether you were referred to a page from
2:57 a certain site and if you've ever clicked a link just to have it send you
3:01 somewhere else on the same page that was probably done through a fragment
3:05 indicated by a pound sign fragments can Mark specific spots on a web page but
3:11 can also indicate other things like the folder you're looking at in Gmail URLs
3:15 can also incorporate a few rarely seen variations for example if you're trying
3:19 to access a website that requires a login and password some sites will allow
3:23 you to just enter the username and password in the URL directly logging you
3:28 in automatically venient if you need to quickly share a link to a protected site
3:33 but not the best thing for security as your browser history will show your
3:37 password in plain text and if you've
3:40 ever visited a site based in a country that doesn't use Latin characters like
3:44 Greece or China you might see a really weird domain name that includes xn dot
3:50 this means that the original characters were converted into a domain name
3:53 compatible with the DNS so computers worldwide can view these pages but if
3:59 the path after the domain name contains special characters you'll probably see
4:03 these displayed with percent encoding
4:06 which is also sometimes used for other symbols for example percent sign 24
4:11 corresponds to a dollar sign so I hope this helped unpack the mystifying stuff
4:16 you see in web addresses now if you'll excuse me I've got to get back to my IRC
4:20 discussion on whether ninja or meme are
4:23 actually good top level domains I think they are but some other unscrupulous
4:28 people disagree tunnel bear VPN lets you tunnel to up to
4:32 20 different countries allowing you to browse the internet and use online
4:35 services as if you're in that other country they have easy to use apps for
4:39 iOS Android PC and mac and they also have a Chrome extension just choose a
4:43 country in the app turn tunnel bear on and watch as your bear tunnels your
4:47 internet connection to your new location when you do turn tunnel bear on two
4:51 things happen your connection gets encrypted with AES 256-bit encryption
4:56 and your public IP address gets switched so you show up as if you're in that
5:00 country they also have a top rated privacy policy and do not log user
5:03 activity you can try out tunnel bear VPN with 500 megabytes of free data and no
5:08 credit card required and if you choose to get a year of unlimited data you can
5:12 save 10% by going to Tunnel bear.com Linus thanks for watching guys if you
5:16 like this video like it if you dislike this video dislike it get subscribed and
5:19 hit the little bell to see all of the tech cookie videos that we have chuckle
5:23 Channel Super Fun because they are fun and super and I'm going to go now so
5:27 that Alex can walk walk by go ahead
5:30 there we go best part of the video 10 out of 10 we'll do it again bye guys