Bad user IP on website

Hello i have small problem with show user ip.

On default domain - all is working
On subdomain - I added a script to display the user’s ip address and shows totally different IP.

subdomain has only one record - A, which is directed to the IP address of the VPS server

Any ideas on how I can set a normal IP on this subdomain?
Currently showing IP from Cloudflare server

https://ts.acego.pl/test.php - if you want check

Here is how to restore original IPs
https://support.cloudflare.com/hc/en-us/articles/200170786-Restoring-original-visitor-IPs-Logging-visitor-IP-addresses-with-mod-Cloudflare-

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.