Setting up IIS and DNS for a subdomain.

I would like to set up a sub domain of my site, accessable by http://secure.domain.com not via www.secure.domain.com, what DNS entry's are required and where and also IIS setup required.

Thanks :)
LVL 1
Andrew BarringtonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

humeniukCommented:
A subdomain is essentially a different website, so you need to create a second website that is associated with a different IP address or which uses the host header secure.domain.com (presumably your original site is www.domain.com).  Then you need to create a host record (A record) pointing the host name 'secure' at the IP address of your web server.
0
Andrew BarringtonAuthor Commented:
When i create the A record do I set PTR lookup? i have created the site www.secure.domain.com and on IIS set the host header to secure.domain.com and set an a record on which domain?
0
humeniukCommented:
Yes, it's a good idea to create a corresponding PTR record for each A record.

If you have set hte host header as secure.domain.com, you will need to access your site at http://secure.domain.com and not http://www.secure.domain.com.  It will make your life easier if you choose to do so - all you will have to do is create a host record for 'secure' in the domain.com DNS zone just like you created a host record for 'www' in the domain.com DNS zone.  If you need to use www.secure.domain.com for some reason (and I can't think of one), you will need to create a DNS zone for the domain secure.domain.com and create a host record for www (just like you created a www host record in the domain.com zone to access www.domain.com) and you will have to change the host header to www.secure.domain.com.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew BarringtonAuthor Commented:
thank you humeniuk that worked great :)
0
humeniukCommented:
Glad to hear it and thanks for the A :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.