how to block youtube but NOT youtube music

Comments

6 comments

  • Avatar
    rotblitz (Edited )

    The domain www.music.youtube.com does not exist, so you don’t need to whitelist it. It is included with music.youtube.com anyway.

    Here are the domains being used by music.youtube.com:
    https://www.webpagetest.org/result/201128_DiHR_7fbb7e606ae9554947d351c280984e07/1/domains/

    As you can see, they share at least the domain www.youtube.com with YouTube, and you need to whitelist it, maybe more. So I would not know how to set this up to still block YouTube. You may need to experiment until success. Good luck!

    0
    Comment actions Permalink
  • Avatar
    rgormley1968

    thanks for the info

    hhhmmmm i wonder how many other parents are in this situation, kids need to do homework, but are distracted by silly youtube videos...

    youtube is great and has it`s place... but the useless distracting stuff is over the top,,,

    0
    Comment actions Permalink
  • Avatar
    klooride

    I may be wrong but I believe youtube music gets content from main youtube domain.

    I'm right now in your situation, I blocked youtube.com on my router only for kids' device.

    0
    Comment actions Permalink
  • Avatar
    rotblitz

    Try with blocking youtube.com and the other domains in the original message, and with whitelisting music.youtube.com, s.ytimg.com and www.youtube.com.

    0
    Comment actions Permalink
  • Avatar
    d0g

    Same boat, this worked for me ...

    Block: youtube.com

    Whitelist: googlevideo.com, accounts.youtube.com, music.youtube.com

    (I'm using NextDNS, so YMMV)

     

    0
    Comment actions Permalink
  • Avatar
    pcoop (Edited )

    As per d0g that's the softcore solution for web browsers. Unfortunately, it also whitelists YouTube apps on mobile too. Infact that's the main thing I'm trying to block (googlevideo.com kinda blocks the video playback ingeneral) there's no way to block youtube videos & then whitelist youtube music, as both are from same servers & have same domains / ip addresses.

    It's better to switch to a music only streaming platform such as Spotify & block all youtube stuff all together (which is the only working solution for me).

    Just block these domains & you're good to go

    googlevideo.com, ytimg.com, youtube.com

    Even though the app has access to videos, their thumbnails get blocked & videos will never load.

    Also, try to disable your router's ipv6, as these sites may slip through ipv6.

    0
    Comment actions Permalink

Please sign in to leave a comment.