How to prevents any direct traffic to backend server.

Web VPS

Hello all,


So I want to ask something here. I've planned to make a simple load balancing scheme for my website using IPtables. So when visitors accessing www.blabla.com, the first 100 requests will be redirected to ww1.blabla.com, and the next requests after them will be redirected to ww2.blabla.com. I've successfuly found the way, but for security reasons, I don't want people to access ww1.blabla.com and ww2.blabla.com directly, so they must access www.blabla.com first and then redirected.


Do you know how it could be done? I mean, only allowing people accessing my backend server by accessing my main domain first.




"With Big Power Comes Big Responsibility"





LowEndTalk http://ift.tt/1ey8tz2 How to prevents any direct traffic to backend server. Web vps hosting server Linux - Windows webvps.blogspot.com

Welcome Promo VPS