I've got an API app up and running on my localhost. It works great at an endpoint such as:
http://localhost:26307/api/ModelName/12345
However, after deploying to the Test server, the same URL needs to be:
http://v10test.mydomain.com/api/api/ModelName/12345
I'm trying to get rid of the double /api/.
I adjusted my routes FROM THIS (for example):
config.Routes.MapHttpRoute(
name: "route2",
routeTemplate: "api/{controller}/{organizationSys}"
);
TO THIS.....
config.Routes.MapHttpRoute(
name: "route2",
routeTemplate: "{controller}/{organizationSys}"
);
NOTE: I REMOVED "api/" FROM THE ROUTES.
But that seemed to have no effect. In IIS, the API's are set up as an application within the domain:
I'm probably overlooking something obvious, but I'm just not sure what. How do I get rid of that double /api/?

api/in the route, where is the need to haveapi/in the url coming from?