Reputation: 3601
Sorry for the possibly misleading title of this post. Couln't really think of anything better at the moment.
Anyway, I have a site set up that allows users to search our customer database. I have a separate section of this site listed under a "reports" directory, which is used to generate billing reports, subscriber counts, etc. Apparently our users are confused about having to type in the reports folder on the url: http://maindomain/reports/.
I'm wondering if there is a way to create a new domain that points to that specific folder. In other words, users go to http://reportsdomain/ which would be an alias for http://maindomain/reports/. The solutions that I've considered are as follows:
Of those two options, I'd probably go with 2 before 1. Any other ways to do this that I'm not thinking of?
Thanks in advance for your help.
Respectfully,
Chris
Upvotes: 5
Views: 2313
Reputation: 33914
If you're okay with the user typing in the main URL and then being forwarded to the new URL, you just set up the http://maindomain site in IIS and then on the "Home Directory" page, set it to forward to http://maindomain/reports/.
While this isn't as clean as the URL re-writing option, it's painless to enable, and it seems like this might be the option you're looking for.
Upvotes: 1
Reputation: 34337
Using the Microsoft URL Rewrite Module for IIS 7.0
Upvotes: 4