LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-05-2004, 08:14 PM   #1
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Rep: Reputation: 35
How to setup DNS on a VPS ?


I have never really dealt with DNS before so I am a little confued with this.. I have a domain name registered at godaddy.com, and I was wondering how do I transfer it to a VPS that I have. Godaddy has a place to enter in the new name servers, but I'm not sure what to put there. The place I got the VPS from says to put in something like ns1.yourdomain.com, and ns2.yourdomain.com. How would godaddy know where ns1.mydomian.com is if there is no DNS on it to point to the servers IP? Would I have to setup bind my the VPS first then enter in the VPS's IP address for the name server at godaddy?
 
Old 04-06-2004, 02:22 AM   #2
shubb
Member
 
Registered: Oct 2003
Location: San Francisco
Distribution: Slackware 13.37
Posts: 150

Rep: Reputation: 16
You have to register a new name server. The website that you registered the domain with should give you the ability to register a name server. That is where you specify that x.x.x.x should resolve to ns1.yourdomain.com. After a few days (usually) the internet name servers will all get updated with your DNS server's info.
 
Old 04-06-2004, 11:48 AM   #3
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
There is a place to enter name servers, but I don't see how adding ns1.mydomain.com into there will do anything, because there is no current DNS server at ns1.mydomain.com.

Would I have to setup bind on my server and enter in the servers IP address for the name servers?
 
Old 04-06-2004, 12:36 PM   #4
crunnluadh
LQ Newbie
 
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7

Rep: Reputation: 1
Its okay that you do not have DNS running yet. You'll need to register the two IP addresses as names servers before you can use them as your domains ns servers. I too use GoDaddy and that is the correct place to insert your IP's. You'll get an email anywhere from 24 to 72 hours later letting you know that the IP addresses were registered. Once that has happened you can then put in, ns1.example.com and ns2.example.com, to act as your name servers.

Next would be configuring DNS on your VPS. What Linux distro are you using? Were you given a control panel or just shell access? If you have control panel access is it CPanel, Plesk or another? They are all able to configure your DNS through them.

I would only use shell access and command line tools if a contol panel is unavailable.
 
1 members found this post helpful.
Old 04-06-2004, 01:19 PM   #5
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
Quote:
You'll need to register the two IP addresses as names servers
I only have one IP address on the server. Do I enter it twice?

Quote:
What Linux distro are you using? Were you given a control panel or just shell access? If you have control panel access is it CPanel, Plesk or another?

Its Debian, and I only have shell access.

Edit..


I tried putting in the IP of my server into Custom Name Servers box and a get a error saying

Code:
 Field Validation Error

Please correct the following issue(s):


Nameserver 1 contains an invalid character.
Nameserver 2 contains an invalid character.

Last edited by fur; 04-06-2004 at 01:37 PM.
 
Old 04-06-2004, 02:05 PM   #6
crunnluadh
LQ Newbie
 
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7

Rep: Reputation: 1
Hmmm. Not sure what the issue is with your GoDaddy part. Did you put the IP in and then the name of your name server, ex: NS1 in the text field next to HOST: and then the IP address. Make sure you inputing only valid number characters for the IP and only alphanumeric in the host.
 
Old 04-06-2004, 02:15 PM   #7
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
I put the IP address of my server under the "Set Namerservers" section in this box then clicked save changes.

I'm not seeing any "host" section.

Last edited by fur; 04-06-2004 at 02:16 PM.
 
Old 04-06-2004, 02:23 PM   #8
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
Here is a screen shot of the godaddy page.
 
Old 04-06-2004, 03:02 PM   #9
crunnluadh
LQ Newbie
 
Registered: Apr 2004
Location: Sacramento, CA
Distribution: RHEL 3, Fedora, Slackware (all)
Posts: 7

Rep: Reputation: 1
Ahhh, click on your domain name on the left hand side. Then on the very bottom of the right hand side is a tab labled "Domain Host Summary". Click on the link specified to register new name servers, as I already have some my link says "Click here to see details or to modify." The new screen is where you can register your IP address as a name server.
 
Old 04-06-2004, 03:35 PM   #10
fur
Member
 
Registered: Dec 2003
Distribution: Debian, FreeBSD
Posts: 310

Original Poster
Rep: Reputation: 35
Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
help needed to setup a DNS server can anyone say how to configure a DNS server subha Linux - Networking 4 04-27-2012 11:50 PM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
How to install a VPS / where to find it (Virtual Private Server) McNadia Linux - Software 1 01-05-2005 03:52 AM
VPS security?? itware Linux - Security 2 05-06-2004 11:02 AM
How do I setup a VPS? abefroman Linux - Networking 2 03-12-2004 09:50 AM


All times are GMT -5. The time now is 01:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration