I am new to MVC and I just created one MVC4 test project in VS 2010, it runs perectly but the url is http://localhost:60826/ I wanted to change it to http://my.test.site or at least http://my.test.site:60826/
I thought I can achieve that by simply putting an entry in host file which will resolve my.test.site to 127.0.0.1 and then just change the url to http://my.test.site:60826 . However it is not working, Am I missing something?
EDIT: I was able to achieve this by just adding the 'my.test.site' in proxy ignore list under Internet Options-> Connections -> LAN Settings -> Advanced -> Exception list. now I can access http://my.test.site:60826/ from browser. (Just in case if you want VS to launch the page as http://my.test.site:60826/, go to project-properties-web-start URL add your url there).
Now next step is to get rid of this port number(60826), can anyone throw any light on how to run my application as 'http://my.test.site' i.e. with out any port number?