Quantcast
Channel: How to redirect a URL to another URL using /etc/hosts - Ask Ubuntu
Browsing all 2 articles
Browse latest View live

Answer by Ravexina for How to redirect a URL to another URL using /etc/hosts

What you are trying to do is not possible. Well, at least not how you are trying to do it.In your desired URL (https://i.imgur.com/6FxzzCT.png), only this part has a specific IP address: i.imgur.com.$...

View Article



How to redirect a URL to another URL using /etc/hosts

I want to block some sites on my ubuntu system.So, I added some lines to the /etc/hosts, which are127.0.1.1 www.reddit.com127.0.1.1 www.facebook.comThis now successfully blocks the website but I want...

View Article
Browsing all 2 articles
Browse latest View live


Latest Images