bkm
11-26-2002, 08:18 PM
In apache to i just make a virtual host? I need a subdomain.mydomain.com, and also how does the DNS work alongside that? Do I need to setup a zone for it since its a subdomain?
|
Click to See Complete Forum and Search --> : Creating a subdomain in Apache bkm 11-26-2002, 08:18 PM In apache to i just make a virtual host? I need a subdomain.mydomain.com, and also how does the DNS work alongside that? Do I need to setup a zone for it since its a subdomain? blizz 11-26-2002, 09:00 PM Hi, Create your subdomains own VirtualHost container with it's own document root. Example Named Vhost ~ <VirtualHost 11.22.33.44> DocumentRoot /www/domain ServerName www.domain.tld ... </VirtualHost> <VirtualHost 11.22.33.44> DocumentRoot /www/sub ServerName www.sub.domain.tld ServerAlias sub.domain.tld ... </VirtualHost> For the dns simply add an A record for your subdomain in your existing zone file for your domain. sub.domain.tld. IN A x.x.x.x justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |