I just installed Apache on my Ubuntu 12.04 and set it up to run with my domain name. Everything is working perfect, with one qualm. Though my site is up, and when I type mydomain.com/index.html, the index page loads, or suppose I type mydomain.com/directory, the index.html page in that directory loads automatically, I am facing problems with the home page. Yes, when I type mydomain.com the Apache test page loads instead of my actual page. I suspect that the problem might be pertaining to me not setting the correct DirectoryIndex directive, I tried fixing it by going to /etc/apache2/apache2.conf, but I don't think I'm placing it in the right place. Any assistance would be appreciated! :)
EDIT: Typing localhost does lead me to my homepage, though.