I've made a copy of an Umbraco 7 site on my local development machine.
My hosts file contains 127.0.0.1 trade.mysite.local
and the IIS bindings have been configured to match.
When I enter http://trade.mysite.local into FireFox it changes the url to www.trade.mysite.local and says server not found. The same happens in the Chrome browser.
I'm aware that FF and Chrome will prefix urls with www if it thinks it is missing but I have now switched that option off and after several cache clears and machine reboots it still happens so I'm at a loss as to what is causing it.
If enter http://trade.mysite.local/umbraco it takes me to the CMS login just fine and the back-end works but the website itself won't load.
Strange subdomain behaviour on localhost
I've made a copy of an Umbraco 7 site on my local development machine.
My hosts file contains 127.0.0.1 trade.mysite.local and the IIS bindings have been configured to match.
When I enter http://trade.mysite.local into FireFox it changes the url to www.trade.mysite.local and says server not found. The same happens in the Chrome browser.
I'm aware that FF and Chrome will prefix urls with www if it thinks it is missing but I have now switched that option off and after several cache clears and machine reboots it still happens so I'm at a loss as to what is causing it.
If enter http://trade.mysite.local/umbraco it takes me to the CMS login just fine and the back-end works but the website itself won't load.
If I use www.mysite.local it works fine.
Can anybody shed any light?
Solved it.
The SEO Manager package was installed and that was set to force the use of www. DOH!
is working on a reply...