Is there a reason you don't just rename main.html to index.html, or is your server configuration such that index.html doesn't load first ?