Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an existing site that I would like to add a staging subdomain to. I created a new web site for it in IIS, added a host header for subdomain.mysite.com but when I try to get to the subdomain it is not found.

Do I need to create an A Record in my DNS to point subdomain.mysite.com to the server's IP or will the existing entry for mysite.com work? If not, can anyone see what I am doing wrong here?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Yes, you need to create an additional DNS record. Don't think of it having any relation to your primary website, as it is really just another website. This is true both when looking at your DNS configuration and your IIS sites configuration. The thing that might make your primary site seem to be different, is you probably have an entry that points yourdomain.com to your sites IP address as well as having the www.yourdomain.com record which points to the same place.

share|improve this answer
    
Awesome, thanks! –  Abe Miessler Dec 6 '12 at 18:56
add comment

Your Answer

 
discard

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.