LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-05-2007, 06:48 PM   #1
Broady
LQ Newbie
 
Registered: May 2007
Location: Australia
Distribution: Fedora 6
Posts: 8

Rep: Reputation: 0
Question Nameserver Questions from Newbie


Hi All,

I am building a Fedora Core 6 LAMP server following the guide from http://www.howtoforge.com/installing...dora_core_6_p1

I have registered and purchased a TLD: broadyswebdesign.com. I would like to host this as the primary site from this server. I also have a static IP address issued from my ISP

My query is reference nameservers. I just can't manage to get my head around it and understand it.
When following the guide from HowToForge it stated that on install I had to insert the Gateway, Primary DNS and Secondary DNS. Also to set the Hostname.

Following the HowToForge guide there are some examples of the Hostname, Gateway, Primary DNS and Secondary DNS. These are:

Hostname: server1.broadyswebdesign.com
Gateway: 10.1.1.1 (My DLink Router)
Primary DNS: 145.253.2.75
Secondary DNS: 193.174.32.18

My questions are:
1. What is the "SERVER1" in front of the server1.broadyswebdesign.com"?
Can this be anything e.g zues.broadyswebdesign.com? What does this name mean? Is it the hostname?

2. The Primary DNS and Secondary DNS server IP Addresses. Where did these numbers come from? The two numbers above are an example that is used in the HowToForge guide. What DNS server IP addresses should I enter.

Also my Linux server has an internal IP address of 10.1.1.2. Is there anyway of me being able to view http://www.broadyswebdesign.com inside my home network. When I try I usually end up at my router login page. If I try http://10.1.1.2 I end up viewing the correct page. (The Fedora test page).

Any help in helping me understand or a push in the right direction would be greatly appreciated.
Thank You
 
Old 06-05-2007, 07:18 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
In your router configuration, you have to setup port forwarding. Next you have to figure out the WAN IP address. I use ipchicken.com. Test your setup by using another computer connected to a proxy. If it works, go to your registrar and edit the options. If you do not know what you are doing, call your registrar. Some ISP uses a dynamic IP address and your registar may not support it.

The address 10.0.0.1 is a private IP address. Learn more at http://www.auditmypc.com/internal-ip.html.

Just to warn you, home internet connections do not have a wide upload bandwidth. Mine is limited to 70 kilobytes per second. If this is your first server, I suggest putting your site at a web service provider that can maintain the server for you. The cost of maintaining a server by yourself is a lot.
 
Old 06-05-2007, 07:31 PM   #3
Broady
LQ Newbie
 
Registered: May 2007
Location: Australia
Distribution: Fedora 6
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Electro
In your router configuration, you have to setup port forwarding. Next you have to figure out the WAN IP address. I use ipchicken.com. Test your setup by using another computer connected to a proxy. If it works, go to your registrar and edit the options. If you do not know what you are doing, call your registrar. Some ISP uses a dynamic IP address and your registar may not support it.

The address 10.0.0.1 is a private IP address. Learn more at http://www.auditmypc.com/internal-ip.html.

Just to warn you, home internet connections do not have a wide upload bandwidth. Mine is limited to 70 kilobytes per second. If this is your first server, I suggest putting your site at a web service provider that can maintain the server for you. The cost of maintaining a server by yourself is a lot.
Hi Electro
Thank you fo your quick reply.
My router is a DLink DSL-604T model. I have set up port forwarding. I have forwarded ports 21, 80, 443 and 53.

From outside my home network if I goto http://www.broadyswebdesign.com I end up successfully at the Linux Server. It is mainly just viewing the site internally. Especially when trying to install ISPConfig. ISP config keeps asking for a TLD name.

I work freelance for an ISP. In regards to the upload speed. Once I get everything up and running and secured. I am going to move the server over to the ISP location and plug it into their POP.
At the moment whilst in development stage the slow speed is OK. I just need to get the DNS server issue sorted.

You are probably thinking. Why don't you just host your sites off the ISP. Well firstly the ISP runs a Windows server and doesn't have Apache or Linux support. I am trying to get away from Micro$oft and learn OpenSource, PHP, Apache, MySQL, Ruby. Also being a Web Developer building a server has always been a goal of mine. And to be totally honest with you, at the end of the day I want to be able to say that I built and run a home server.

Once again
Thank you.

Last edited by Broady; 06-05-2007 at 07:37 PM.
 
Old 06-05-2007, 09:57 PM   #4
Broady
LQ Newbie
 
Registered: May 2007
Location: Australia
Distribution: Fedora 6
Posts: 8

Original Poster
Rep: Reputation: 0
Would I just use my ISP's two DNS Server IP Address' in /etc/resolv.conf or would I use 127.0.0.1?
 
Old 06-06-2007, 12:54 AM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You could setup BIND, just make sure both TCP and UDP is set for port 53. Then in your domain name configuration, use your custom DNS server. I have not done this.

The TLD is the suffix of the domain. Your TLD for broadyswebdesign.com is .com or com for commercial. I got the information from http://en.wikipedia.org/wiki/Top-level_domain. I suggest reading about subdomains at http://en.wikipedia.org/wiki/Subdomains.

Did you ever saw a T-shirt stating a phrase "There is no place like 127.0.0.1." The address 127.0.0.1 states as home or the loopback address. If you use this as the nameserver, it will be like a dog chasing its tail.

I use 100webspace.com for my web service provider and godaddy for my registrar. I created a virtual domain name at 100webspace.com that referrers to the domain name that I signed up at godaddy. Next, I note the DNS servers from 100webspace.com and enter them in for my domain name. It took about a few hours for the DNS servers to redo the cache. My site is still on the drawing board.
 
  


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
Some questions from a newbie littlebeagle Linux - Newbie 9 02-25-2006 01:57 PM
Some Newbie Questions demolished Linux - Newbie 21 01-22-2006 02:45 AM
nameserver Questions Swakoo Linux - Networking 3 08-18-2005 07:13 AM
yes! its another newbie questions today53 Linux - Newbie 5 10-18-2003 07:15 AM


All times are GMT -5. The time now is 10:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration