Cant get home.html to load as default file

SYSTEM INFORMATION
OS type and version Debian Linux 12
Virtualmin version 7.30.3

cant get home.html to load as default. index.html works so how can i add more default index names?

DirectoryIndex in the VirtualHost block is the directive that determines what works as an index page and in what order they’re searched for.

Default is:

DirectoryIndex index.php index.php4 index.php5 index.htm index.html

You can edit it in the GUI in Web Configuration->Configure Website->Directory Indexing->Directory Index Files

1 Like

yup been playing with that one but no luck

even with a full reboot…



Getting the error:
No matching DirectoryIndex (index.php,index.htm,index.html) found, and server-generated directory index forbidden by Options directive

You have an .htaccess. Is it overriding DirectoryIndex or otherwise sucking up requests?

Did you edit the Indexing for SSL website, your showing port 80.

1 Like

Oh, that’s it! I should have said to edit in Configure SSL Website.

1 Like

that worked :slight_smile:

Any place to add it so all new domains, accounts gets the same Indexing list?

Server Templates->server template name->Website for Domain.

This will affect newly created domains.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.