title: Show custom error for "504 Gateway Timeout error"
body: <p>I am working to ASP.net MVC-5 project and I am a beginner. As of now I know the basics of MVC and able to display pages and make post and get request. But I am stuck with one issue where I get "504 gateway time out error" and I need to implement one functionality where if the client gets `504 gateway timeout error" I should be able to show a particular page like "Something is wrong" instead of standard error. To start with below is what I did.</p>
  
  <pre><code>  &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.5.1" /&gt;
      &lt;httpRuntime targetFramework="4.5" /&gt;
      &lt;customErrors mode="On" redirectMode="ResponseRewrite"&gt;
      &lt;/customErrors&gt;
    &lt;/system.web&gt;
  </code></pre>
  
  <p>But what else I need to change or add. Can someone guide me here. I am lost.</p>