Remove anywhere from web address

Any idea how I can replace anywhere with default web link? instead of http://server_Name/Anywhere to use http://Server_Name




  • I had it setup for our customer portal however only my infra team can view IIS settings.
    So on top of my head I think we used the URL rewrite module in IIS and wrote a regex pattern.

    This pattern would then redirect all incoming traffic to https://tarigtserver to https://targitserver/antserver

    This website a few useful ways to use this module : 

    This is my web.config file of the default website where targit is installed.

    <?xml version="1.0" encoding="UTF-8"?>




    <rule name="HTTP/S to HTTPS Redirect" enabled="true" stopProcessing="false">

    <match url="(.*)" />

    <conditions logicalGrouping="MatchAny">
    <add input="{SERVER_PORT_SECURE}" pattern="^0$" />

    <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirectType="Permanent" />


    <rule name="Root Hit Redirect" stopProcessing="true">
    <match url="^$" />
    <action type="Redirect" url="/anywhere" />




  • Thanks a lot!!


Please sign in to leave a comment.

Didn't find what you were looking for?

New post