How to cancel auto-redirecting when serving a single instance on two domains

Of course, I referred to your response, but I still encountered such an issue.Perhaps there might be other reasons. Is there any other solution?