Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have a domain name with godaddy. Its present nameservers are and I want to point this domain to a IP address of my PC. I have hosted some sites on IIS on my PC. I read several articles and find that editing the @ record to the static IP would be sufficient. But I am little confused here.

  1. Do I need to keep the name servers as above or do I need to change it. If yes, What would be my new name servers(Do I need to set it in IIS).
  2. If I point the @ record to the static IP of my PC, as I have multiple sites hosted on the IIS, How would my domain point to the correct site.
  3. Do I also need to update the CName Record. I don't have any idea about it.
share|improve this question

closed as off topic by Iain, Chris S, Scott Pack, Ward, mailq Nov 10 '11 at 16:58

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted
  1. You need name servers; it's usually a hosted service, but you can install a DNS server on your machine if you know what you're doing. IIS doesn't have anything to do with DNS. When you buy a domain name, you are only buying the rights to use the name, nothing else. Associated with that name are glue records, pointing to name servers (the name servers are separate, they are not part of the purchase of a domain name).
  2. The default record ("@" is used in some implementations as a placeholder) only returns results if someone enters the exact domain name; if they enter "" then it doesn't match. Again, DNS has nothing to do with IIS. However the browser will send a HTTP Header called "Host" which specifies which website the browser was trying to connect to. IIS can use this header to figure out which website it should serve.
  3. CName Records are something completely different from the Host Records (A Record, the default record is of this type). Not having any idea isn't a question.
share|improve this answer
as per your answer, IIS would resolve the correct site using HTTP Header sent by browser. How would I know what header my browser is sending and can I configure it. – Vaibhav Jain Nov 10 '11 at 14:29
Are you saying that you want to be able to type in "" and be redirected to ""? The Host Header sent by the browser is always the domain portion of the URL; this can not normally be changed. – Chris S Nov 10 '11 at 14:30
yes, currently its opening the IIS7 page. And do I need to have some kind of mapping of Host Header and site in IIS. – Vaibhav Jain Nov 10 '11 at 14:31
Install URL Rewrite, configure it to redirect from "/" to "/LIMS/Login.aspx". Articles walking you through URL Rewrite can be found on Microsoft's Site. IIS needs to be configured to use Host Headers if it serves multiple sites on the same IP. – Chris S Nov 10 '11 at 14:33
Thanks for providing the link. Can I avoid /LIMS/ between the domain name and page.aspx – Vaibhav Jain Nov 10 '11 at 14:43

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