Is it necessary to have 2 public IPs for a simple-domain hosting?

I want to host my own website in my school but I don't know if I can without 2 IPs, I have only one...

For exemple, may this work:

ns1.exemple.com =>
ns2.exemple.com =>

Or I very need:

ns1.exemple.com =>
ns2.exemple.com =>

1 Answer 1


Are you talking about web hosting, or DNS? These are two separate services.

For DNS you really should have at least two machines. They wll back up each other for redundancy. However, unless you very large, and running many domains there is almost no reason to try running your own DNS server. Almost all registrars will host the DNS for you for free.

For web hosting, you only need a single ip address. In fact, with Virtual Hosting you can host any number of sites.

Alternatively, you could pay for a web hosting service. (There are tons of these on the Internet) They can manage your DNS for you (if you like) and provide space for your website on their servers with a reliable Internet connection.

  • +1, I hadn't even considered OP may have been asking about configuring name servers, in addition to a web server.
    – jscott
    Apr 19, 2012 at 22:56
  • Thanks. The hostnames ns1/ns2... are funny. I thought the OP might be confused. Apr 19, 2012 at 23:00
  • I don't like web hosting service... We cannot host thing that we want! If I want my Active Directory on the same server as my hosting, I can't with a WHS! Apr 19, 2012 at 23:13
  • The are many providers who provide backup DNS hosts. Ideally you want your DNS hosts at geographically separate locations.
    – BillThor
    Apr 20, 2012 at 0:34

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