If you want to check that wordpress is redirecting your website to another location then you can follow below steps:
Login to your SSH as a root user.
After that run below command:
curl -IL http://cp-domain.com
You will get the below output:
# curl -IL cp-domain.com
HTTP/1.1 301 Moved...