Sub domain bug

check this out [TUTORIAL] How to change website domain or subdomain and try check you url with cononical on this tool https://redirectchecker.com/ might you find any redirection issue