Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Is my domain set up right?

When I enter my domain in a search i get a "index of/" page but if I add "/dir" to the end of my domain it will go to my homepage. Any suggestions?

www.example.com- I get "index of /"

www.example.com/dir-I get homepage

1 Answer

Relevance
  • 5 years ago

    You don't have an index.html page on your server. The index.html page is the page that gets loaded when a user first requests a website. If it doesn't have one, it just shows the files in that location on the server. Just create a new file in the server called "index.html" and put your homepage in that. For Apache2 on Debian, the file would be "/var/www/html/index.html" but it depends on the server and host OS. This assumes that www.example.com/dir leads to /var/www/html/dir

Still have questions? Get your answers by asking now.