My boss has me working on an ancient server at his place where there is no fancy cPanel to create sub/addon domains.

Basically what we have is a plain-text file that appears to be controlling all the records for the domain.

The actual site is hosted on: The URL is: http://cif-ifc.org/

We need a subdomain, "application.cif-ifc.org", to send the user to a DIFFERENT server ( using an A-record (we think).

I would know how to do this with cPanel, but NOT with this plain text file that you see below:

**Here is our plain text "DNS control" file, called "db.cif-ifc.org":

$TTL 600
@   IN SOA dns.cif-ifc.org. admin.cif-ifc.org. (
                          2012081003    ; Serial
                          600       ; Refresh after 3 hours
                          600       ; Retry after 1 hour
                          600       ; Expire after 1 day
                          600 )     ; Minimum TTL of 1 day

@   IN NS   dns.bids.ca.
@   IN NS   dns2.bids.ca.

cif-ifc.org.    IN  A
dns     IN  A
pubs        in  a
staging.pubs    in  cname   pubs
maint       in  cname   maint.literatumonline.com.
backup      in  cname   honoredsoft.com.
*       IN      cname   cif-ifc.org.

cif-ifc.org.    in  mx  10  aspmx.l.google.com.
cif-ifc.org.    in  mx  20  ALT1.ASPMX.L.GOOGLE.COM.
cif-ifc.org.    in  mx  20  ALT2.ASPMX.L.GOOGLE.COM.
cif-ifc.org.    in  mx  30  ASPMX2.GOOGLEMAIL.COM.
cif-ifc.org.    in  mx  30  ASPMX3.GOOGLEMAIL.COM.
cif-ifc.org.    in  mx  30  ASPMX4.GOOGLEMAIL.COM.
cif-ifc.org.    in  mx  30  ASPMX5.GOOGLEMAIL.COM.

Would any of you super-user duders mind providing some insight or pointing me in the right direction? Thanks!

  • What's not to know? Just copy the line starting with "pubs" and replace "pubs" with "application" and "" with "". I really don't see how you could not have figured this out from the format of the file ? May 29, 2013 at 19:42

1 Answer 1

cif-ifc.org.             IN  A
application              IN  A
dns                      IN  A
pubs                     in  a

As suggested in comments by @Zoredache change this line:

                  2012081003    ; Serial


                  2013052901    ; Serial

That should work for you. Remember to backup config and to reload bind.

  • 1
    And update the serial number. Don't forget the serial.
    – Zoredache
    May 29, 2013 at 20:17
  • Will also need to reload the bind config either via appropriate script or kill -1.
    – 84104
    May 29, 2013 at 20:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.