My application separates users by company identifiers at the URL: company1.app.com, company2.app.com ...
I am testing my local computer with a request, for example: company1.localhost.com. However, my request.Url.Authority still shows "localhost.com" instead of "company1.localhost.com". In fact, the prefix 'company1' is not displayed anywhere. Is this a bug or function?
It is worth noting that I added an entry to the host file for "comapany.Blah → 127.0.0.1". When looking at Request.Url.Authority, this STIL shows localhost ...
Cachor
source share