2 80 ports

Hay all

Im new to MikroTik but think it’s totally bad ass. Awesome router so friggn powerful. one thing I need is as follows.

I have a web server behind the router. I want to have two web servers so when people type www.selectphonesolutions.com it goes to server A with ip x.x.x.x and when www.spartanpbx.com is entered it would go to server B with y.y.y.y.

Any ideas

mmosier
houston

this can be decided only by DNS, so if each of these servers will be redirected to another public IP on your router, the router will be able to redirect them to different internal servers. You will need two public IP addresses on your router’s public interface, and you will need to make two DST-NAT rules, one for port 80 on each address. Of course the DNS names need to be configured to the according public IPs.

By the way, you could also keep these two websites on the same server, and let Apache’s Virtual-Hosts decide which site to serve, based on the domain name typed. This would allow you to use just one server, and just one public IP.