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 recently setup a window server 2008 server at work. Keep in mind I have never worked with it before:).

Background story is I try to host a couple of sites on the server through iis7, I got domains (currently hosted at other hosters for the moment). I want to point the domain NS to my server on all of them.

I have read how to setup a DNS on the server, so far so good. now my dns is companyname.com

in the server manager I got DNS / companyname.com
in there I got ns.comanyname.com,
in there I got Host(A) with the server ip

now this is where I get confused about how things work with DNS, NS & Host(A). I dont know how to assign(so to speak) the Host(A) to one of my webapps hosted on the iis7, because that is the pointer right?. To leave an example to work with lets say, Hosted.com is hosted on my iis7, on port 81.

You don't understand how great full I would be if somebody could explain this confusion.

EDIT: Do I need to create a DNS for every site hosted on my server? Or just make a A Host/Record?

Thanks guys

share|improve this question
    
    
I think what I was looking for in this case is virtual hosting, host multiple sites on one ip. Sorry if the question was not clear enof. –  Dejan.S Mar 3 '10 at 1:23

1 Answer 1

You will need to ask/inform your REGISTRAR (where you bought the domain name) of your new NS server for your own DNS to be the actual DNS used by clients trying to reach your hosts.

Your registrar is the authority asked for the NS records, the nameservers that have authority on your zone (company.com for example). Then, your nameservers are asked for a particular host (www.companyname.com for example) as a A record for a web server for example.

share|improve this answer
    
Be aware that the RFC specifies that 2 NS should be available for your domains, so your registrar might ask you 2 public IPs for those. –  Alexandre Nizoux Mar 2 '10 at 23:26
    
Yes I am aware of the NS & IP's. I don't really get what you mean with the last part of your post Alexandre. Do I need to create a DNS for every site hosted on my server? Or just make a A Host/Record? –  Dejan.S Mar 2 '10 at 23:38
    
Yes, just create a new A record for each site you want to host, all refering to the same IP if you want to host multiple sites on one single web server. –  Alexandre Nizoux Mar 3 '10 at 6:07

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.