I have created an MVC4 web application and I want to use my custom domain myApp.com instead of localHost:56605 . so I have added
127.0.0.1:56605 myApp.com
to the hosts file. 2nd: I have gone to project properties in Visual studio 2012 and added myApp.com instead of localhost:56605. but when I click on Create virtual directory I got a warning indicating unable to create a virtual directory. I also edited the applicationHost.config file too. but the problem still remains.
I have also searched in stackoverflow but most rely to this approach myapp:56605. I dont want to insert port number in the url.
how can I accomplish this?