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

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: => =>

Or I very need: => =>
share|improve this question

closed as too localized by John Gardeniers, Magellan, Ward, MadHatter, voretaq7 Nov 16 '12 at 16:45

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

There's an RFC for that. – womble Apr 20 '12 at 0:45
up vote 5 down vote accepted

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.

share|improve this answer
+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 0:34

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