Scadobop
New Member
What is the best way to accomplish this? For example, say if I want to block China, Vietnam and Nigeria (example) from accessing my main website but I want them to instead see a different site or content, how can I do this? I am using nginx as my web server if it matters.
I think I will need some sort of geoip tool installed on the server and if the request comes from a certain group I want it to show a different page than my normal website. This will be for blocking orders but I do not want them to get a website timeout or standard 404 error that they might see if just outright blocked. Instead I want them to see the site but with it will be a single page stating we're out of stock or can not accept orders from that country or something like that.
I think I will need some sort of geoip tool installed on the server and if the request comes from a certain group I want it to show a different page than my normal website. This will be for blocking orders but I do not want them to get a website timeout or standard 404 error that they might see if just outright blocked. Instead I want them to see the site but with it will be a single page stating we're out of stock or can not accept orders from that country or something like that.