How did you end up here?
To redirect IP address requests to the local domain, create the appropriate alias in the target domain settings.
If you have accessed a specific domain, then check the presence of its configuration block in the final server config.