M
M
Mishail2016-04-27 13:43:20
Computer networks
Mishail, 2016-04-27 13:43:20

How to make a redirect similar to a redirect through hosts?

Is it possible to make a redirect similar to how it is implemented through the hosts file. To take the user to a specific page.
Example
vasya.com -> sait.ru/id_user
Through hosts, as I understand it, the only way is
vasya.com -> sait.ru

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey, 2016-04-27
@alsopub

The hosts file does not deal with redirects.
It is only responsible for matching domain -> ip.
If you really really need it, then you will need a controlled web server, which you register in hosts, and which will already redirect to where you need it.

S
Sergey, 2016-04-27
@bk0011m

Well, you have requirements ....
Firewall to help you. And not simple, but with a traffic analyzer.
Well, or a proxy with authorization.
Well, you can still stir up something like that on Cisco ASA, it has a traffic analyzer

Y
Yuri Chudnovsky, 2016-04-27
@Frankenstine

You're doing some bullshit :)
You'd better take care of Active Directory integration.
val-khmyrov.blogspot.com/2011/04/apache-active-dir...
Of course, if you "grow" to the domain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question