Quantcast
Channel: LowEndTalk
Viewing all articles
Browse latest Browse all 59187

How to prevents any direct traffic to backend server.

$
0
0

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.


Viewing all articles
Browse latest Browse all 59187

Trending Articles