Sorry for the misleading title of this post. In fact, at the moment we are not thinking about something better.
In any case, I have a website that allows users to search our customer database. I have a separate section of this site, which is listed in the "reports" directory, which is used to create billing reports, count subscribers, etc. Apparently, our users confuse the need to enter the reports folder in the URL: http: // maindomain / reports / .
I am wondering if there is a way to create a new domain pointing to this particular folder. In other words, users go to http: // reportsdomain / , which would be an alias for http: // maindomain / reports / . The solutions I reviewed are as follows:
- Create a new site in IIS that points to the report folder (which is a subfolder on another site ... it seems bad practice, since then two separate IIS sites will cache for this site, maintaining the session / state of the application, etc.).
- Create an IIS module to rewrite the URL.
Of these two options, I would probably go from 2 to 1. Any other ways to do this that I don't think about?
Thanks in advance for your help.
reverence
Chris