I have a Google Cloud Compute instance running a Bitnami Magento stack. For some strange reason if I try to browse to the site via the IP address it prefixes the IP address with www. so fails. The site domain name is fine.
This is relevant because you can only access phpmyadmin on a bitnami stack from 127.0.0.1 (after creating an SSH tunnel). Problem is this is being redirected to www.127.0.0.1 and fails.
I can't find anything in the apache2 conf files that account for this behaviour. Magento itself is setup correctly and works fine. The problem began after discovering a rogue package had been uploaded (this has since been cleaned).
Any ideas greatfully received, it's driving me nuts.