For Apache 1.3, it must be like this: Code: NameVirtualHost 123.123.123.123 <VirtualHost 123.123.123.123> Documen Root /somewhere/subdomain ServerName [url]www.subdomain.mydomain.com[/url] ErrorLog logs/bla.error_log </VirtualHost>