V
V
Vladislav2019-11-07 14:12:50
System administration
Vladislav, 2019-11-07 14:12:50

How to redirect to a specific page via hosts?

Good afternoon!
The task is to do, for example, when entering the Google site, it redirects to a page like rules.html
How can this be implemented through the hosts file?
Some laptops are located on the local network and some are on another provider.
If possible, how to do it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
paran0id, 2019-11-07
@MrX08

Specify the server IP, which by default gives rules.html

A
Artem @Jump, 2019-11-07
Tag

How to redirect to a specific page via hosts?
No way.
hosts is analogous to DNS on a computer.
Reports the IP address of the specified domain name.
What's with the pages?

C
CityCat4, 2019-11-07
@CityCat4

There is no way to do this without https bumping, and it will not be so easy with bumping. There was a discussion here recently - people wanted to redirect to bing when they entered Google.
If so, SSL certificates were designed specifically to counter these redirects.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question