Need some help.
I have one external internet IP on router Mikrotik. And i have one server in my local network with IP 192.168.1.250 (for example).
This is web server with sites that must be accessible from Internet.
I can do forwarding from external port 80 to internal LAN 192.168.1.250:80. But, what will i do if i will have 2 web servers in my LAN with different resourses?! Mode proxy in apache2 is not a good decision of the problem.
I need real DNS requests and answers from my lan servers to the Internet, i think. But, lan host has no real internet IPs.
Tried to make static dns to lan host in section Static (IP/DNS) for example:
And it works great on all LAN computers.
Next, i write my name server in configuration of my anyhost.net domain.
And from internet im trying to ping address http://www.anyhost.net
and see IP - 192.168.1.250
So this is working and resolving well, how it must be, but this is internal LAN ip.
I cant buy another external IP for each of my LAN web server. Need to work from on IP on Mikrotik router.
Is there any ways to solve this problem? Is there any people who can answer?