title: No HTTP resource was found that matches the request URI
body: <p>I just deployed my MVC app to a subdomain and I just can't get webapi to work.</p>
  
  <p>Accessing locally:
  localhost:40052/api/apiEmpreendimento/GetObjects
  works just fine, but accessing the following online:
  <a href="http://subdomain.mysite.com/api/apiEmpreendimento/GetObjects">http://subdomain.mysite.com/api/apiEmpreendimento/GetObjects</a></p>
  
  <p>Gives me</p>
  
  <p>{"Message":"No HTTP resource was found that matches the request URI 'http://subdomain.mysite.com/api/apiEmpreendimento/GetObjects'."}</p>
  
  <p>App_Start/WebApiConfig.cs</p>
  
  <pre><code>public static class WebApiConfig
  {
      public static void Register(HttpConfiguration config)
      {
          config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{action}/{id}",
              defaults: new { action = "get", id = RouteParameter.Optional }
          );
      }
  }
  </code></pre>
  
  <p>Any tip is much appreciated.</p>
  
  <p>Thanks</p>