Results 1 to 3 of 3
Thread: Where is my index.html?
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Aug 2006
Where is my index.html?
When I go to my url I get the default apche page saying If you are the website administrator:
You may now add content to the directory /var/www/html/. Note that until you do so, people visiting your website will see this page,
I go to the directory /var/www/html/ and nothing in there has my index.html
Does anyone know who I can find out where it would be.
If I could just find that default apache web page I can alter it to make it what I want. Only problem is, I have no clue where it is, nor how to find it.
Thanks for your help.
- Join Date
- May 2004
- arch linux
If I remember correctly, when no index file exists in /var/www/html, apache serves /var/www/error/noindex.html by default. To create your own home page, create a file named index.html and copy it to the /var/www/html directory, then test that you can retrieve it through a browser.
If that's wrong, maybe someone will correct me.oz
What I've done in the past is just create a link called index.html that points to my main page.Stand up and be counted as a Linux user!