Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: David_White on March 18, 2004, 05:51:26 AM

Title: Virtual & Sub Domains
Post by: David_White on March 18, 2004, 05:51:26 AM
Hi All,

I have a domain (say www.domain1.com) running on a 5.6 server.  I also have a virtual host (www.domain2.net) running on the same machine this works great but...

I want to set up a subdomain (say www.demo.domain2.net) on the virtual host.  Before I go charging in, is this possible?  Can you have a sub domain on a virtual host?  Or only on the primary domain?  

Also, if you use a subdomain do you have to get your ISP to create a new DNS entry for the subdomain?  I have an ADSL connection with a fixed ip address and I use my ISP DNS server.

Thanks in advance.

Dave
Title: Virtual & Sub Domains
Post by: Boris on March 18, 2004, 08:27:40 AM
1. create another virtual domain demo.domain2.net
hosts www, ftp, mail will be automaticaly created.
2. have you DNS provider (ISP) create another zone for domain demo.domain2.net and hosts www, mail etc...
2a. It is also posible to create A record (address) in DNS for host with dot like www.demo or mail.demo for domain domain2.net it will work different depends on your goal.