Recently I tried to migrate WordPress website into Kubernetes environment using Docker. After I did set them all I got an error that redirects a new domain to an old domain. So I checked all the sources and database records. But there was nothing related to the old domain.
The solution was too simple. I needed to clean up Browser Cache.