title: Why does index.html have priority over index.php?
body: <p>I have a website on a server. The homepage is example.com/index.php .</p>
  
  <p>OK, I uploaded an index.html named file to the server (the root dir) and when I typed in my site's domain into the browser's URL bar, I was suprised, because the index.html page loaded.</p>
  
  <p>(example.com->example.com/index.html) 
  So not what I wanted.</p>
  
  <p>My question:
  Why did that happen? Why does index.html have advantage over index.php?</p>