-1

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 => 70.10.10.10
ns2.exemple.com => 70.10.10.10

Or I very need:

ns1.exemple.com => 70.10.10.10
ns2.exemple.com => 70.10.10.11

1 Answers1

5

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.

Pablo Maurin
  • 319
  • 3
  • 7
  • +1, I hadn't even considered OP may have been asking about configuring name servers, in addition to a web server. – jscott Apr 19 '12 at 22:56
  • Thanks. The hostnames ns1/ns2... are funny. I thought the OP might be confused. – Pablo Maurin Apr 19 '12 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! – Frederick Marcoux Apr 19 '12 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 '12 at 00:34