How to fix application redirect
If you notice that, while navigating to your application, you end up on another website as if you are redirected, then this article is for you. We have identified the following causes as being the main culprits:
1, DNS is not properly set up
In order to fix this, you will need to check that your domain name is pointing to the IP of the VM/WebServer. We recommend you use this tool for this purpose.
2. WordPress application was not properly set up
If you are have restored a WordPress application and the base URL was not changed, you are very likely to run into this redirect problem.
Don't worry, there are multiple ways to fix this, but adding phpMyAdmin might be the fastest if you are comfortable with SQL.
Additionally, you can find more options on the WordPress article support page, available here.
NOTE: One important mention to do here, is that WordPress (unless you are using multisite) can only have one base URL.
This means, that you will always be redirected to that base URL, regardless of the aliases or secondary domains that you might specify.