1

Site only loading with 'www' domain prefix

view story
linux-howto

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 123.123.123.123 Default www 123.123.123.123 Default Running Ubuntu on Apache2 (HowTos)