I've had this happen on two SME systems, haven't managed to find a solution in either case, and my attempts to search the SME docs and forum haven't turned up anything useful...
In both cases, server manager > hostnames & addresses has been used to set both the proxy address and the www entry as remote, with the correct IP entered. In both cases, the web page is correctly located and loaded from anywhere on the internet, but any attempt to access the page from within the local network goes straight to the primary iBay.
I'm sure I did find some similar problems a while ago, but this time I've found nothing useful. Can anyone point me in the right direction to fix his problem? I'm probably using the wrong search terms, but so far, searching isn't doing me much good at all.
In the first case, the problem existed when the server was an 8.1 machine, and persisted when it was migrated to 9.0+. In the second, its a quite new installation, started with 9.1. The problem in this case showed up when the firm got a new web site, with a different hosting provider.
Paul.