Answer the question
In order to leave comments, you need to log in
How is the server's IP address determined when making requests to another server?
The second day I fight :)
There is a server in DO, located in the Netherlands, its IP address is determined by all IP location services as Amsterdam.
There is a php parser that parses lostfilm.tv.
Part of the lostfilm pages is closed to users from the Russian Federation, the location is determined, judging from the stub, by IP.
Despite the fact that my server is located in the Netherlands, the script still does not receive the content of pages closed to the Russian Federation when crawling. Here is the output:
<p style="width:100%;text-align:center;font-size:18px"><b>ВНИМАНИЕ!</b></p>
<p align="left">Контент недоступен на территории Российской Федерации*. Приносим извинения за неудобства.</p><br /><br /><br />
<p align="left" style="font-size:11px;">* Определение местоположения пользователя осуществляется по IP-адресу компьютера.</p>
Answer the question
In order to leave comments, you need to log in
Probably, in the databases of the geotargeting service that uses lostfilm.tv, your IP is recorded as Russian (perhaps because you registered on a hosting from Russia and he somehow informed the service that uses lostfilm.tv, which is very unlikely), or your server IP is not listed in the database of the geotargeting service and, just in case, lostfilm.tv considers it Russian.
There is only one solution - find a service that uses lostfilm.tv and write to their support service so that your IP is registered as Dutch
In general, the matter is unambiguous in the location determiner by IP address, which is installed on lostfilm.tv
A minute ago, I created a new server, only in the USA.
issued the full content of the page without a stub for the Russian Federation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question