D
D
d222018-12-12 06:27:11
Domain Name System
d22, 2018-12-12 06:27:11

Redirecting a site to an internal web server?

There is an AD server, there is a mikrotik (gateway), there is a Web server in the local network. How to redirect a site for example company.ru to IP web server in LAN. So that all computers in LAN, when accessing company.ru, turn to an external web server
. I suspect that it can be done using DNS, or microta.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
d22, 2018-12-12
@d22

I asked myself, I will answer. Create a new zone in dns on the AD server with the name for example company.ru and create an A-record in it and specify the IP of the web server in the local area.

D
Diman89, 2018-12-12
@Diman89

Buy a domain, register the A-record of the domain on your white ip, forward the port on the router
For users from LAN to access the domain - configure hairpin nat

D
Drill, 2018-12-12
@Drill

Hairpin NAT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question