How to get my localhost with a different directory to my index working)?
- by blade19899
I can't get my apache configuration to open my index.html
I edited my /etc/apache2/apache2.conf and added the following at the bottom.
<VirtualHost *:80>
DocumentRoot /media//DATA/directory/to/my/index-file/
ServerName host-test.com
</VirtualHost>
Then I restarted my entire pc, but when I open localhost I get the:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Page and not the code written in my index.html?
How to get my localhost with a different directory to my index working in Ubuntu 12.10(amd64)?