Frequently asked questions

Back
Keyword:  

I have an index.html and an index.php file. Which is displayed?
If your web hosting package, www.example.com, supports PHP (Medium or larger), the index.php is displayed upon entering https://www.example.com. To view index.html, people must go directly to the page, for example by entering https://www.example.com/index.html.

Here is the web server file priority list:

Web Starter

  1. index.html
  2. index.xhtml
  3. index.htm

Web Medium and greater

  1. index.php
  2. index.cgi
  3. index.shtml
  4. index.html
  5. index.htm

It is possible to override this in a .htaccess file by setting DirectoryIndex to the file names you want to use as standard. See also the DirectoryIndex documentation for Apache.

See also:

© 2024 Domeneshop AS · About us · Terms · Privacy policy