I am using Visual studio since my development environment is developing a .net web application.
I am using my local IIS7 web server to run the application.
It works under the url -> http: // localhost / AppName /
I want to change this to → http://localhost.appname.com/AppName/
I added the following host file entry 127.0.0.1 localhost.appname.com
Now this means that I can access the site through http://localhost.appname.com/AppName/ as I wanted.
I have one problem, although if I started the site through "Start Debugging" (F5), the site works in the domain http: // localhost / AppName / .
What changes need to be made to the web application to start it from the domain http://localhost.appname.com/AppName/
The launch page can be set through the project properties => network. I usually think the best option is to "do nothing" (I will link to the page that I want in the browser that I want to manually)