I am unsure if this is possible. I am trying to use the Window’s hosts
file to redirect the address www.youtube.com
to music.youtube.com
.
When I ping youtube.com
, I am returned with this IP:
- 172.217.12.14
When I ping music.youtube.com
I get this IP:
- 172.217.1.206
In the hosts
file, I type the following:
172.217.1.206 www.youtube.com
172.217.1.206 music.youtube.com
I would like to re-direct the exact route of www.youtube.com
to music.youtube.com
who’s IP is 172.217.1.206
So far this lets the YouTube website load normally with the www.youtube.com
URL. I would like it to re-direct me to music.youtube.com
WITHOUT blocking or restricting video-specific YouTube URLs.
How do I make the hosts
file or something to work this way?
(I don’t care if I can access a YouTube video’s URL manually, I just want to re-route the main domain name: www.youtube.com
.)