M
M
mr_serg772017-10-12 02:31:44
Domain Name System
mr_serg77, 2017-10-12 02:31:44

How to direct a domain to a server through Mikrotik?

I'm a little confused, I'm asking for your advice.
There is Mikrotik with white ip, static.
There are two test servers behind it, domains are registered for each of them.
How to send them to the servers correctly?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Diman89, 2017-10-12
@mr_serg77

https://wiki.mikrotik.com/wiki/Multiple_Web_Servers

A
angel_on, 2017-10-17
@angel_on

Do you want your servers behind the router to be accessed by what level domain name?
example.ru is the second level "example" domain
.ru is the first level "ru" domain
server.example.ru is the third level "server"
domain record A
Here, the service and setting up of such a server is not badly described
. to the domain address Your white ip address.

I
Ivan, 2017-10-26
@IVAN86IVAN86

I have such a situation, there is a second-level domain that leads to Mikrotik with a static ip. There is a server locally. The ports of this server must be forwarded to the ports of the second-level domain. For example:
site.ru:8009 forward to 192.168.88.102:8009
and
site.ru:80 forward to 192.168.88.102:8008
so that when a person visits site.ru:8009 from the outside, the request goes to 192.168.88.102:8009
Please, can you tell me how to accomplish this task?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question