There is many answers on the issue I am looking for but most of them are on IIS 7 or earlier and nothing worked for me for some reason, so here it goes.
I am trying to add some dummy host names to test my project locally, what I did is editing the hosts file with the fake domain names like below
127.0.0.1 44336 Whatever.com
127.0.0.1 44336 SSOWhatever.Whatever.com
Then I have changed my IIS bindings to for each project to the correct one with the correct port, but this fail to work. what is confusing me even more is that when I remove .com (all the dots have to be removed) so if my file look like below:
127.0.0.1 44336 Whatever
127.0.0.1 44336 SSOWhatever
This works fine but, it is not simulating what I want. any ideas why this is happening is there something I need to set in the IIS.