I am running into this Issue on the server.
Local:
When I run my application in my local I am getting the URL as
http://localhost:63952/Home/Index/?Home=Home
On the Server:
I added the virtual directory Called (MyDirectory)
`http://10.9.29.123/Mydirectory/Home/Index/?Home=Home ( Expecting should be like this ) but I am getting 404 Error and URL coming as http://10.9.29.123/Home/Index/?Home=Home ( I do not see the Virtual directory in the URL)
Using VS 2013 asp.net mvc 4.5 version. ( IIS 7.5 )