title: ASP.NET MVC site behaves different when accessed remotely
body: <p>I have deployed my MVC site on IIS server. If I access it using <code>http://localhost</code> in URL it works fine.
  But if I use machine name/ ip address in the URL, some of the functions are not working properly. I wonder why this is happening. Following are some of the things I am facing </p>
  
  <ol>
  <li>I have used JQuery Tab in a dialog box. The dialog box doesn't submit data if the site is accessed remotely.</li>
  <li>I have used JQuery Month navigator. I could see it is submitting correct month and year during HttpPost controller, but the controller action doesn't redirect according to posted data.</li>
  </ol>
  
  <p>I am clueless on why its behaving like this</p>
  
  <pre><code>/* Some code for reference */
  
  @using (Html.BeginForm())
  {    
      .....
          &lt;input type="submit" value="Save" class="buttonSave" onclick="return     ConfirmSave();" /&gt;                        
      &lt;/div&gt; 
  }
  
  function ConfirmSave() {
      return confirm('You have selected to copy this entry.\n\n This action cannot be rolled back, and each created entry will need to be deleted independently. Are you sure you want to continue?');
  }
  </code></pre>