Copied to clipboard

Flag this post as spam?

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


  • Siavash Mortazavi 24 posts 145 karma points
    Aug 28, 2017 @ 15:13
    Siavash Mortazavi
    0

    Removing Host Names Doesn't Work

    I have inherited an Umbraco 4.7.2 project. It redirects from /xxx urls to a sub-domain style url like xxx.domain for most of its sub-nodes, which is not ideal for our local and internal development site. Here are more details on the problem:

    1. I have created a local IIS websites for it, called my-website.com.
    2. In Umbraco back office, there is a sub-node with the name as xyz and the url as /xyz. there was a host name defined on that node as xyz.my-website.com and when I open opening my-website.com/xyz, it was automatically redirected to xyz.my-website.com.
    3. I have removed this host name entry from the node and have restarted IIS, and now the only available URL for this node is /xyz.
    4. Still, when I open my-website.com/xyz in the browser, it redirects to xyz.my-website.com.
    5. There are no rewrite rules available in web.config or /Umbraco/urlrewriting.config files

    Do you know the solution on top of your head? Thanks.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies