How to set ns1 and ns2 to host domain in personal pc?

synchronised0synchronised0 Join Date: 2010-09-20 Member: 74100Members
Ok let me tell you the scenario ; I have :-
1) Purchased Domain
2) Having Static IP
3) Installed Web Server (Apache)
4) Having high speed internet connection
5) Home page ready.
6) WinXP installed in my PC

Now I wanted to know how to host my site in my PC. As I had seen many articles but not found much information and whatever I found is repetitive answers. I would like to know

1) what is ns1 & ns2 (I know it is nameserver1 and nameserver2). But how to set this in my PC?
2) To host a site I had to provide ns1 and ns2. But I have only static IP. from where I will get NS1 & NS2 and how to set it in my PC

what I know is that we have to map our IP with our site
assuming that my domain provider is godaddy.com. now it has given me interface where I can type my own ns1 and ns2.

but the question is how to set it in my pc. from where i will get this ns1 and ns2. i have only static IP not ns1 and ns2


-Anil

Comments

  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    edited September 2010
    You totally got the wrong place here, this forum is about a Computer Game called Natural Selection One and its sequal Natural Selection 2, Has nothing to do with webhosting and setting up your own Primary & Secondary Name Servers.

    Running your own server from home will cost you more in electricity each month than just renting webspace for Beginners from here: <a href="https://order.1and1.co.uk" target="_blank">https://order.1and1.co.uk</a>
    This is a much safer option as well than hosting a site on your own home network, doing so will raise you serious security issues with the hacking and such if you havent got expensive hardware firewalls, you risk your coputers getting hacked and your info stolen.
  • GISPGISP Battle Gorge Denmark Join Date: 2004-03-20 Member: 27460Members, Playtest Lead, Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, NS2 Map Tester, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester, Forum staff
    Would think the site layout and the fact his posting in the "Mapping" forum would have tiped him off, anyways...
    What Barlow said, do as he wrote and you are one step closer to reaching your goals :)
  • InsaneInsane Anomaly Join Date: 2002-05-13 Member: 605Members, Super Administrators, Forum Admins, NS1 Playtester, Forum Moderators, NS2 Developer, Constellation, NS2 Playtester, Squad Five Blue, NS2 Map Tester, Subnautica Developer, Pistachionauts, Future Perfect Developer
    Moved to Off-topic.
  • Kouji_SanKouji_San Sr. Hινε Uρкεερεг - EUPT Deputy The Netherlands Join Date: 2003-05-13 Member: 16271Members, NS2 Playtester, Squad Five Blue
    Is this somekind of weird bot for godaddy.com?
  • TalesinTalesin Our own little well of hate Join Date: 2002-11-08 Member: 7710NS1 Playtester, Forum Moderators
    edited September 2010
    For anyone who's actually interested in DNS configuration, or if the OP isn't just an ad-bot or something else odd like that:

    NS1 & NS2 (as referenced) in your domain resolution are two static upstream domain name servers holding A records to point at a Server of Authority (SOA) to handle any other resolutions for your domain. This can be either a paid service (I use DynDNS Custom for my own) or if you are using a business-class ISP may have a set number of SOA pointers included in your service package, hosted by your ISP.
    This steps down to your SOA. This can also be remotely hosted by a service, but most people going 'on the cheap' or just knowing what they're doing will have a *NIX box running BIND9 and set up their own zone files for subdomains/hosts.

    Sounds like the OP needs a DNS management service for simplicity. Again, I've had good luck with DynDNS. However, he'll also be exposing a WinXP machine to the 'net directly. Without some GOOD firewalling rules or an embedded appliance, I'd expect it to be compromised within a day at the absolute outside. Inside would be seconds to minutes at most.


    I'd say that a bare minimum additional would be a server-grade OS (Win2K3-2K8R2, Linux), and possibly a separate embedded device running as a deadwall (Linux embedded device specially configured to pass packets per an iptables rule-set in a halted state). Getting a consult at least following the setup (prior to go-live) on the configuration would be invaluable if you want to learn.
Sign In or Register to comment.