Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I created a subdomain and it doesn't seem to work, however does work.

I've had this issue for ages using an A record and can't seem to figure out how to fix it.

Any ideas?


; Domain:
; Exported (y-m-d hh:mm:ss): 2011-11-26 10:57:43
; This file is intended for use for informational and archival
; purposes ONLY and MUST be edited before use on a production
; DNS server.
; In particular, you must update the SOA record with the correct
; authoritative name server and contact e-mail address information,
; and add the correct NS records for the name servers which will
; be authoritative for this domain.
; For further information, please consult the BIND documentation
; located on the following website:
; And RFC 1035:
; Please note that we do NOT offer technical support for any use
; of this zone data, the BIND name server, or any other third-
; party DNS software.
; Use at your own risk.

; SOA Record
IBROGRAM.COM.   3600    IN  SOA (

; A Records
@   3600    IN  A

; CNAME Records
www 3600    IN  CNAME   @
mobilemail  3600    IN  CNAME
pda 3600    IN  CNAME
email   3600    IN  CNAME
imap    3600    IN  CNAME
mail    3600    IN  CNAME
pop 3600    IN  CNAME
smtp    3600    IN  CNAME
ftp 3600    IN  CNAME   @
webmail 3600    IN  CNAME
e   3600    IN  CNAME

; MX Records
@   3600    IN  MX  0
@   3600    IN  MX  10

; NS Records
@   3600    IN  NS
@   3600    IN  NS
share|improve this question
Can we get zone file for pasted in here? – Rilindo Nov 26 '11 at 17:54
@Rilindo Zone file? – user102205 Nov 26 '11 at 17:54
Its a file that contains your domain name as well as subdomains with the corresponding IPs or other domains attached. – Rilindo Nov 26 '11 at 17:57
@Rilindo Edited – user102205 Nov 26 '11 at 17:59
up vote 3 down vote accepted

You'll need to add a zone file entry with the following A record:

themes    3600    IN  A

You can verify that it resolves by typing


Note that you still need to ensure that your web server is setup for named-based hosting. Assuming that it is Apache, it will be something like:

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /path/to/themes
share|improve this answer
This makes perfect sense! Thank you so much for your time! – user102205 Nov 26 '11 at 18:53
@user102205 : and never name themes IN A type records subdomains, they are HOSTS – Lazy Badger Nov 28 '11 at 14:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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