V
V
Vasily Alibabaevich2021-08-06 16:44:35
linux
Vasily Alibabaevich, 2021-08-06 16:44:35

Redirect to the local version of the site. How to implement?

Good afternoon, colleagues.

Whether prompt it is possible to implement such: there is a media office. They often access the site, the server of which is located within the company. The site has a proxy. The proxy has several network interfaces: internal and external .
There is also a gateway on a freighter, through which everyone goes to the Internet.

How to implement so that those who are in the local network of the company access the internal interface of the site proxy?

The company has a local DNS that is associated with a domain controller. Accordingly, if you make an entry in the local DNS, a prefix is ​​automatically inserted there (for example): smi.local On each user's PC, you cannot write a new local IP in the hosts file.

Tell me where to dig.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2021-08-06
@ky0

On the local DNS server, add an entry for the site with the same local address - this is how it is usually done.
What is there on Windows for prefixes - I don’t know, in theory if the zone is companyname.net., no prefixes are needed from behind it. As a last resort, move your DNS to something usable like bind9, dnsmasqetc.

F
Ffackir, 2021-08-07
@Ffackir

Add an entry to the dns server. A test example with the IP address of the server on the local network so that all users when accessing test.mysite.ru will be sent to the address specified in the dns

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question