LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-20-2010, 11:19 PM   #1
xshad0wfx
LQ Newbie
 
Registered: Jun 2009
Posts: 10

Rep: Reputation: 0
Nameserver and Domain setup


Hi i'm running a Centos 5.4 server with Virtualmin as my cpanel.

I have a domain name that i bought on godaddy and i am having trouble figuring out how to use bind to "bind" the godaddy domain to my server. The real thing is i honestly have no idea how to do this part of server administration. I don't know how to create a nameserver so i can point my godaddy domain to my server. Most of the tutorials i saw setup bind with the plugin of example.com in many of there config files and i tried that with my godaddy domain and it didnt really do anything. If anyone has any idea of what im talking about an what im asking i would be so grateful for your help. :-) i've been struggling with this for a while and i still havn't figured out this bind dns server setup haha.
 
Old 04-20-2010, 11:27 PM   #2
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
First you have to set up one, or preferably more, DNS servers to resolve your domain name. Then you point your domain name (in Godaddy) to your authoritative name server(s).

It's probably worth saying that the benefits of running your own name server are limited, and if the name server goes down for any reason you'll lose access to your domain after the various caches run out.
 
Old 04-20-2010, 11:39 PM   #3
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Bakdong replied before I got a chance. We're both thinking along similar lines. Here are my suggestions:

1) It sounds like you registered your domain name with Godaddy, and your server(s) are are completely elsewhere.

I'm guessing you probably also have at least one public static IP address for your server(s). I'm also guessing maybe this server is a VPS, and your VPS provider also gave you the static IP.

2) In that case, all you need to do to start "publishing" your web server to the world is just create a new "A" record on Godaddy.

EXAMPLE: "www.mycooldomain.net"
<= Just create an "A" record for "mycooldomain.net", and the IP address, on Godaddy. Done! Finished!

3) Let's say you want to send and receive e-mail on your server, too.
Easy: just create an "MX" record on Godaddy.

4) OK, let's say you want to set up TWO web servers: one for a blog, and the other for an on-line photo album. Just create two more "A" records: one for "blog.mycooldomain.net", the other for "photos.mycooldomain.net". Then create two "virtual servers" in Apache: one for "blog" (with one set of permissions, and one DocumentRoot), and the other for "photos" (with a different set of permissions, and a different DocumentRoot).

In other words, you DON'T necessarily need a DNS server on your (VPS?) server at all: let Godaddy do all the DNS stuff (on their system), and then you do the rest (on your system).

Make sense?

Here are some links to using Godaddy's DNS:

http://help.godaddy.com/article/681
http://help.godaddy.com/topic/163

'Hope that helps .. PSM

Last edited by paulsm4; 04-20-2010 at 11:46 PM.
 
1 members found this post helpful.
Old 05-16-2010, 07:57 AM   #4
vsurlan
Member
 
Registered: Jun 2004
Location: Zagreb, Croatia
Distribution: Debian Lenny
Posts: 49

Rep: Reputation: 15
I would recommend you use PowerDNS with a web interface and MySQL backend. Especially if you intend to add more domains to your server. Administration is easy and you don't have to fret about making syntactic errors. I wrote a small article on my journey from bare metal to a trimmed web server that includes a few notes on PowerDNS here: How to have a cheap dedicated web server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
removal of caching nameserver does not stop domain resolution jhwilliams Linux - Software 1 08-10-2007 09:16 PM
bought domain name, trying to configure nameserver edschurr Linux - General 2 02-19-2005 05:09 PM
Nameserver on different domain? greyhammer Linux - Networking 5 01-06-2005 07:31 AM
change nameserver domain on ssh ? maxboost Linux - Networking 1 10-07-2003 11:57 PM
Need help with a domain / nameserver problem jfall Linux - Networking 9 10-09-2002 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration