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 currently have a virtual machine from fast hosts, and I also use their domain hosting to.

On their name servers I have a zone file for my domain (lets say, with A records for www, ftp etc. These A records point to my virtual server, where I am running IIS.

I have now also set up DNS on my virtual server, and created a subdomain (, and some A records (

What do I need to do in my zonefile for, to send requests for to my virtual server?

Thanks in advance


share|improve this question

migrated from Dec 6 '11 at 22:22

This question came from our site for professional and enthusiast programmers.

Dare I ask why you wouldn't just set up the subdomain on your primary DNS host? It would seem easier/cleaner. – Driftpeasant Dec 6 '11 at 23:12
Because I can't install software on the fasthost dns server, but on my virtual server I can create a web service to update some a records with the dynamic IP of my home connection where me dev server is. – Mark Jones Jan 5 '12 at 13:24
up vote 1 down vote accepted

You need to define a name server for the subdomain in your zone file for

; sub-domain definitions
; we define a name server for the sub-domain
@             IN      NS

; sub-domain address records for name server only - glue record
ns3           IN      A ; 'glue' record

See for more details and advanced configuration.

share|improve this answer

Best way I could find to do this was to add another name server to my zone file, that points to my Virtual Server. The virtual server holds another copy of the domain, and the subdomain

share|improve this answer

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.