Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt Taylor 873 posts 2086 karma points
    Nov 16, 2018 @ 21:00
    Matt Taylor
    0

    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?

  • Matt Taylor 873 posts 2086 karma points
    Nov 16, 2018 @ 21:23
    Matt Taylor
    100

    Solved it.

    The SEO Manager package was installed and that was set to force the use of www. DOH!

Please Sign in or register to post replies

Write your reply to:

Draft