0 votes

Is there a preferred method for setting the a default web interface so that when users browse to the base URL they will be redirected to it? For example, browsing adaxes.example.com will redirect to adaxes.example.com/SelfServ instead of the iis start page? I've tried use HTTP redirect on the default website with all the various options, but it causes all the sub-sites to be redirected as well, or a redirect loop. I assume the only option is to write a custom redirect page with rules, so looking for assistance with that.

by (540 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

That can be easily done using a URL rewrite rule. To add the necessary rule:

  1. On the computer where the Web Interface is running, install the URL Rewrite Module for IIS. You can find it here.

  2. Launch Internet Information Services (IIS) Manager from Control Panel \ Administrative Tools.

  3. In the Connections Tree, expand the server that hosts Adaxes Web Interface.

  4. Select the web site where the Web Interface is hosted.

  5. In the middle pane, double-click URL Rewrite.

  6. In the Actions pane, click Add Rule(s).

  7. Select Blank rule.

  8. Click OK.

  9. Enter a name for the rule.

  10. In the Match URL section, specify the following parameters:

    • Match URL: Matches the Pattern;
    • Using: Regular Expressions;
    • Pattern: ^$
  11. In the Action section, specify the following parameters:

    • Action type: Redirect;
    • Redirect URL: http://{HTTP\_HOST}/AdaxesSelfService (where AdaxesSelfService is the name of the web application for the Web Interface that you want to redirect to);
    • Append query string: Yes;
    • Redirect type: Found (302).
  12. In the Actions pane, click Apply.

0

That's exactly what I was looking for, thank you, it works.

Related questions

0 votes
1 answer

I'm trying to provide the capability for ID admin users to perform AD tasks using the web interface. I am not able to edit attributes for an existing user when ... any attribute it gives me an error "An unexpected response was received from the server".

asked Apr 8, 2021 by atnorman (120 points)
+1 vote
1 answer

I'm trying to enable SSO using SAML with AzureAD as the IDP. I'm struggling to get it to work, we use a BIG-IP as our loadbalancer which handles the SSL offloading. ... offloading or am I forced to remove the SSL offloading and do it on the server itself?

asked May 12, 2020 by Quinten (100 points)
0 votes
1 answer

Is it possible after a user logs in to be Redirect to the Home Page (if enabled) ? If so where would that need to be changed? I've found multiple difference Web Config ... where or how it gets redirected to the My Properties page so it can be changed. Thanks

asked Jul 23, 2019 by Helios5287 (100 points)
0 votes
1 answer

Trying to publish this in IIS so it can be viewed internally. But I'm not sure exactly how to go about doing that. I added it as a site in IIS then I couldn't get to the web interface.

asked Dec 10, 2019 by ktobbe (20 points)
+2 votes
0 answers

This can be setup using the HTTP Redirect option in IIS: On the computer where Adaxes Web Interface is installed, launch Internet Information Services (IIS) Manager. In the Connections ... (301). In the Actions pane on the right, click Apply. Restart IIS.

asked Oct 30, 2019 by Adaxes (560 points)
3,538 questions
3,229 answers
8,224 comments
547,748 users