I want to do these:
127.0.0.1 localhost
127.0.0.1 en.localhost
127.0.0.1 api.localhost
127.0.0.1 en.api.localhost
where in the project's config\applicationhost.config
file - how do I do this?
If you have windows pc, you can add this lines to the Windows\System32\drivers\etc\hosts file. It will redirect hostaddress to the matching ip. After that, don’t forget to run “ipconfig/flushdns” in command line.