View Full Version : Web servers and DNS

12-05-2003, 06:19 PM
If you dont want to pay someone like geocites to host your site and you decide to get your own server, how do you get the DNS server to recognize you?...do you have to pay for your domain to be on the DNS servers?

12-17-2003, 01:20 AM
1. Buy a domain name.
2. Setup DNS servers. If your DNS servers will have the same name as your server (i.e. your domain is sample.com and your DNS names will be ns.sample.com ns1.sample.com ) then you configure them on the same registrar.
Primary DNS server is a must, where secondary is normally required, but not necessary (it's a backup server, in case your primary DNS server goes down).
3. Setup your own server to answer DNS queries (google for "BIND" or better yet go to: http://cr.yp.to/djbdns.html and read on)
4. Setup your server to work with apache (optionally mysql + php + etc.)
5. Run it.

If you want to send/recieve emails from your server, then I suggest reading about qmail + vpopmail.