LinuxQuestions.org
Register a domain and help support LQ
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 11-06-2009, 12:41 AM   #1
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Rep: Reputation: 110Reputation: 110
Setting on DNS on local network


Hi

I am trying to setup my home server for test purposes. Now the IP I have assised my home server are
192.168.1.2
192.168.1.3

Port 80 is open in my firewall and Selinux is off at the moment.

Now I have my DNS at my registar pointing at my home IP.

Will that work? I have my name server configured with my local ip. Should I use my externel?

Last edited by jmc1987; 11-06-2009 at 02:02 AM.
 
Old 11-06-2009, 01:23 AM   #2
wfh
Member
 
Registered: Sep 2009
Location: Northern California
Distribution: Ubuntu Debian CentOS RHEL Suse
Posts: 164

Rep: Reputation: 44
Quote:
Originally Posted by jmc1987 View Post
Now I have my DNS at my registar pointing at my home IP.

Will that work? I have my name server configured with my local ip. Should I use my externel?

Do *NOT* use your Local IP in your DNS settings. I assume that you want your server accessible by longname from the Internet. To do this, you must have an "A" record in your DNS settings pointing to the Public IP of your site.

This is contengent on your having a static IP; if it changes when you reboot, then you need to take a look at a dynamic DNS solution.
 
Old 11-06-2009, 01:25 AM   #3
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Original Poster
Rep: Reputation: 110Reputation: 110
Quote:
Originally Posted by wfh View Post
Do *NOT* use your Local IP in your DNS settings. I assume that you want your server accessible by longname from the Internet. To do this, you must have an "A" record in your DNS settings pointing to the Public IP of your site.

This is contengent on your having a static IP; if it changes when you reboot, then you need to take a look at a dynamic DNS solution.
Okay so even though my server is on a local ip configure the name server with the external ip.

I'll give it a shot
 
Old 11-06-2009, 02:01 AM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 866

Original Poster
Rep: Reputation: 110Reputation: 110
Okay just to let everyone know if you are trying to setup a domain behind a router on a local network you have to configure it will all the external ips. My domain is somewhat working but I am just waiting on propagation to take place.

Thanks for the help
 
  


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
Setting up a local DNS server KellyT Linux - Server 3 11-03-2009 03:43 AM
DJB DNS - help setting up, local network andy holland Linux - Server 0 05-15-2008 06:42 AM
Setting up local network Tomermory Debian 40 07-19-2007 02:30 AM
Setting up local DNS domain name Corxscrew Linux - Newbie 1 01-20-2005 07:49 AM
need help setting up local DNS rnorton Linux - Networking 7 03-21-2002 08:39 PM


All times are GMT -5. The time now is 10:10 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