Change Visual Studio project's applicationhost.config where to do these

45 views Asked by At

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?

1

There are 1 answers

0
jepozdemir On BEST ANSWER

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.