Apache configs

Greetings everyone,

trying to teach myself some web development, I've installed the LAMP stack in Virtual Box. It seems to work, as I can browse to the front page from the host machine, but for the life of me, I can't figure out what next. I've been using Ubuntu for some time, but have to admit complete and utter ignorance as far as Apache configuration goes. For a week now, I've been trying to access the html file I had created on the server, reading Apache2 documentation, searching the web, all to no avail. I've tried modifyig the httpd.conf file according to the following example from the apache docs, but it only made the front page inaccessible.

 

<VirtualHost 10.1.2.3:80>
ServerAdmin webmaster@host.example.com
DocumentRoot /www/docs/host.example.com
ServerName host.example.com
ErrorLog logs/host.example.com-error_log
TransferLog logs/host.example.com-access_log

</VirtualHost>

 

The goal is to be abale to simply access the web pages I create by going to something like http://192.168.56.101/index.html. Can someone tell me how it's done.

Forum: