I want every URL to be redirected to the same URL in the new domain for example:
olddomain/x to newdomain/x
olddomain/x/y to newdomain/x/y
olddomain/x/y/z to newdomain/x/y/z
olddomain/w to newdomain/w
olddomain/s to newdomain/s
change $1 to $2 but for my IP still it doesnt work.
The first internal domain was filtered and I created a second domain to fix the filter. But still not working for me. And my site links are not directed in Google results. What else can I do?
No, this has nothing to do with your server configuration. This is a local issue with your ISP. You can also try to switch to another DNS resolver. On Cloudflare’s side it works as you configured it.