Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS How to Make a Website Sharing a Website Pick a Web Host

Alexander Kallaway (Emelianov)
Alexander Kallaway (Emelianov)
10,307 Points

Why are there always 2 name servers?

This is just for general knowledge. Why is there always at least 2 name servers? Is it just in case that one fails, so that then users would be redirected to the second one? Or is there another reason?

1 Answer

Chris Shaw
Chris Shaw
26,650 Points

Hi Alexander,

Yes, in the case one of the nameservers went down your site should remain operational however some hosts don't set these up correctly and host everything at the same location which means if one goes down, everything goes down.

Generally though larger and more developed hosts don't have these issues as they use global DNS responders to ensure 99.99% uptime.

Hope that helps.