Use "ServerAlias" on its own line after ServerName. e.g. if ServerName is www.zill.net, set ServerAlias to zill.net . All the other settings in that VirtualHost container will apply regardless of which hostname is used by the person accessing your site.