How to set ns1 and ns2 to host domain in personal pc?
synchronised0
Join Date: 2010-09-20 Member: 74100Members
in Off-Topic
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
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
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.
What Barlow said, do as he wrote and you are one step closer to reaching your goals :)
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.