When a visitor asks for your domain with no file name, the web server picks a default file: usually index.html or index.php. When the wrong one loads, or none does, here is how to take control in GoAdmio.
How the default is chosen
The server has an ordered list of index file names. For each directory request it serves the first match it finds. A typical order puts index.php ahead of index.html, which is why a leftover index.html from a placeholder page can haunt a fresh WordPress install, or vice versa.
Fix 1: Remove the impostor
Most “wrong homepage” cases are two index files in one document root. Open the File Manager, list the document root, and delete or rename the file that does not belong. This solves the majority of cases with no configuration at all.
Fix 2: Set the order yourself with .htaccess
To choose explicitly, add a DirectoryIndex line to the site’s .htaccess:
DirectoryIndex home.php index.php index.html
The server now tries home.php first, then the fallbacks. Per-directory, instant, and reversible by deleting the line.
Fix 3: Server-level templates
Admins can adjust index behavior for whole accounts through the Web Template Editor, and the /go/directoryindex command handles it from the shell. Use server-level changes when many sites need the same rule; use .htaccess for one site.
When no index loads at all
If the browser shows a file listing or a 403 instead of a page, either no index file exists in that directory or directory listing is enabled where it should not be. Add an index file, and control directory listings with the directoryindex option covered in the docs.
A one-line setting, once understood, never bites again. More in the docs and at goadmio.com.
