When going to my website, qlite-usa.com, index.html does not load. I get an error message on the main page. But if I go to qlite-usa.com/index.html, the website loads just fine.
How do I make it so qlite-usa.com automatically sends me to qlite-usa.com/index.html?
I've tried changing index.html to home.html and others, none of that worked.
I use godaddy.
If you've just placed an index. html or index. php file on your server's document root folder, for example: /public_html/ and you're still not getting it to load these files upon a request to your domain, chances are your server is missing a specific configuration for the "DirectoryIndex Directive".
Assuming Google Chrome is set as your default program, you should simply double tap the HTML document and it will naturally open in Chrome.
As mentioned in the comments, this is a server configuration issue. If it is allowed by your host, try creating a file in your root directory named: .htaccess
(yes, it is a file with no name, just an extension). Inside this file, save the following content:
DirectoryIndex index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With