Pinging both www.example.com and example.com show that my ip address is correct
<VirtualHost *:80>
ServerAdmin example@gmail.com
ServerName example.com
ServerAlias www.example.com example.com
DocumentRoot /var/www/example.com/public
SetEnv APPLICATION_ENV live
</VirtualHost>
Accessing www.example.com works fine, however when I access example.com I see the default it works message (which is storred in /var/www/index.html)
Pinging both www.example.com and example.com show that my ip address is correct, what other steps can I do to figure out the root of the problem?