7

How to disable access to www.example.com, but make laptop.example.com active

view full story
linux-howto

http://serverfault.com – My website's two major sections can be accessed using: www.example.com for general content laptop.example.com for more specific content The laptop section is ready and deployed. User can access it directly. Also, search engines have started crawling and indexing it. BUT, the general content is not ready; it will not be for few months. As of now, there is no document root or files in the server for www and there is no virtual host tag for it. Content of httpd.conf: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /path/to/website/subdomain/root ServerName example.com (HowTos)