DNS Zone file and virtual host question (repost because my question got moved and now I can't comment on the original for some reason)

Posted by Jake on Server Fault See other posts from Server Fault or by Jake
Published on 2010-12-31T03:28:20Z Indexed on 2010/12/31 3:56 UTC
Read the original article Hit count: 284

Sorry this is a repost, the original question got moved to here form stack overflow and for some reason I can't comment or respond to answers on that one anymore.

Hi all, I'm trying to set up a virtual host for redmine.SITENAME.com. I've edited the httpd.conf file and now I'm trying to edit my DNS settings. However, I'm not sure exactly what to do. Here's an snippet of what's already in the named.conf file (the file was made by someone else who is unreachable):

zone "SITENAME.com" {
    type master;
    file "SITENAME.com";
    allow-transfer {
            ip.address.here.00;
            common-allow-transfer;
    };
};

I figure if I want to get redmine.SITENAME.com working, I need to copy that entry and just replace SITENAME.com with redmine.SITENAME.com but will that work? I was under the impression I needed a .db file but I don't see any reference to one in the current named.conf file. I also don't see any .db files or files named SITENAME in named.conf's directory. Any ideas where these illusive pre-existing db files could be?

© Server Fault or respective owner

Related posts about apache

Related posts about virtualhosts