LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-18-2013, 12:16 AM   #1
artaxerxe
LQ Newbie
 
Registered: Dec 2011
Posts: 21

Rep: Reputation: Disabled
Making my server available for clients by hostname/(domain name) in my network.


I have the following scenario:

My server is installed in a network (LAN) that has no access to Internet. No one from this network can access the Internet. It's an individual network. On my server I also have a few web applications that I want to be available for the clients from this network (LAN). But I would need to make this applications available through a domain name, not through server IP.

Can you provide me please some info related to the things that I would need to have in the case of this scenario. What should I install on my server for getting this scenario to work?

My server runs a CentOS 6.3 operating system.

Thanks in advance.
 
Old 10-18-2013, 01:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
You have 2 options:

- Use the hosts file on all the machines,
- Set up a DNS.

Which depends a bit on the amount of machines that need access.

Using the hosts file is the easiest to implement, but it also means that all machines need to be edited/updated when something changes. This is doable when you have a handful of machines, but not practical when you have many machines.

Setting up DNS is more work but changes are done on one machine only. The other machines in the network do have to be set up once to use DNS.

Here are 2 links about setting up DNS (there are more, do a search):
- The BIND DNS Server (RHEL/CentOS)
- Setup DNS Server step by step in CentOS 6.3 / RHEL 6.3 / Scientific Linux 6.3
 
1 members found this post helpful.
Old 10-22-2013, 03:23 PM   #3
mpapet
Member
 
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 548

Rep: Reputation: 72
Quote:
Originally Posted by druuna View Post
You have 2 options:

- Use the hosts file on all the machines,
- Set up a DNS.
...
and avahi. If the clients are Mac and Linux, it is very nice.

There are three options! DNS, hosts file, and avahi.

You can go very lightweight dns relay with dnsmasq. Once you sort out the config file it's pretty sensible without having to learn something heavyweight like a bind.

Last edited by mpapet; 10-22-2013 at 03:37 PM.
 
Old 10-22-2013, 05:48 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Are we talking about a real FQDN? If so do you want to access it by public or private ip to name resolution?
 
  


Reply

Tags
dns, networking



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
Ubuntu 10.04 server as Domain controller with Windows 7 clients tlbrown20104 Linux - Newbie 3 11-17-2012 02:56 AM
clients CAN resolve hostname of server w/nslookup, but CANNOT access by hostname WTF? psycroptic Linux - Networking 9 11-10-2012 11:24 AM
making your own thin clients for server linux linuxteacher2008 Linux - Server 2 06-03-2008 02:37 PM
Changing server hostname and domain name defa0009 Linux - Networking 1 11-11-2005 07:57 PM
Problem with Win XP Clients logging in a Domain with a Samba Server YasoKuhl Linux - Networking 0 05-03-2004 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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