Site only loading with 'www' domain prefix

view story

http://serverfault.com – My site is only loading with www.domain.com format not with domain.com. Any idea why? Here are my settings: NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin [email protected] ServerName domain.com ServerAlias domain.com www.domain.com DocumentRoot /var/www/domain.com/public_html/ ErrorLog /var/www/domain.com/logs/error.log </VirtualHost> My DNS settings: A/AAAA Records Hostname IP Address TTL Default www Default Running Ubuntu on Apache2 (HowTos)