Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What top-level domains does youtube have?

I am trying to identify youtube link (generally), and I wonder what top-level domains is youtube using?

So far I know about:

  • .com (youtube.com)
  • .be (youtu.be)

Are there any others?

PS: for those looking for checking youtube/vimeo video particulary I would recommend to check how to check the valid Youtube url using jquery ...

like image 867
jave.web Avatar asked Mar 03 '14 13:03

jave.web


People also ask

Is YouTube a top level domain?

youtube TLD is categorized by Google as a TLD intended to improve user experience.

Which domains does YouTube use?

Youtube.com uses the very popular .com Top Level Domain or TLD. On the other hand, Youtu.be takes the . be domain. This is not one of the top level domains but is one of the country specific domains; .


2 Answers

At the moment, YouTube videos can be accessed by two kinds of link, either the usual URL generated by the UI itself, as you click from one video to the next:

https://www.youtube.com/watch?v=tRgl-78sDX2

Or through a sharing URL, created within the UI by clicking the "share" button:

https://youtu.be/6DzSAaNQHR8

Regarding the second part of your question, what domains are required for access to YouTube? Unfortunately this is a moving target, as the YouTube changes. At the time of writing (Mar 2015), that list is as follows:

*.youtube.com
*.googlevideo.com
*.ytimg.com

In addition to the core domains above, some ancillary domains are also needed to display the ads, etc on most YouTube pages:

apis.google.com
*.googleusercontent.com
*.gstatic.com

The bulk of the traffic itself comes from *.googlevideo.com. Beginning in late 2014, YouTube started progressively enabling SSL on the youtube.com and googlevideo.com domains. You'll need to be aware of this if you're using this information on a filtering or caching device.

Also note this was tested through a browser; native clients (iOS, Android, etc) may operate differently.

like image 113
djluko Avatar answered Sep 28 '22 18:09

djluko


I have discovered these Youtube domains so far:

youtube.com // https://www.youtube.com/watch?v=dfGZ8NyGFS8
youtu.be // https://youtu.be/dfGZ8NyGFS8
youtube-nocookie.com // https://www.youtube-nocookie.com/embed/dfGZ8NyGFS8

also youtube.com has a mobile version on subdomain:

m.youtube.com // https://m.youtube.com/watch?v=dfGZ8NyGFS8

I use this list for PHP function parse_url. You may find this question usefull too.

like image 30
cristalix Avatar answered Sep 28 '22 18:09

cristalix