Base solution for your next web application
Open Closed

MultiTetancy #4012


User avatar
0
pankajmathur created

Hi, In our existing MVC5.x application when the multi tenancy is turned on and user enters the invalid name, the page 505 was displayed. For eg. if someone type (<a class="postlink" href="http://www.abc.applicationname.com">www.abc.applicationname.com</a>) and if abc is not a valid tenant, page 505 was appearing. However after migrating to .net core 2.0 project we observe that it takes opens the login page and if the user enters the credential of host on that page they are able to login. Can you please let me know as where and what to change so that if the invalid tenant is specified the user is redirected to a 505 page and not shown the login page.


1 Answer(s)