Creating subdomain on Debian

view story

http://serverfault.com – I have Debian server with a site running, I wanted to create sub-domain, so I created file in the sites-available dir. In the file: ServerName shop.domain.com DirectoryIndex index.php Header unset ETag FileETag None AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript #php_flag register_globals off #php_flag safe_mode off #php_flag magic_quotes_gpc off DocumentRoot "/var/www/shop" <Directory "/var/www/shop"> AllowOverride None Allow from All Options FollowSymLinks ExecCGI </Directory> (HowTos)