Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-13-2009, 02:10 AM   #1
LQ Newbie
Registered: Jan 2008
Location: India
Posts: 11

Rep: Reputation: 0
Lightbulb How to configure DNS name in RHEL5


Can any one help in configureing my Domain name ( in RHEL5.0 and also how to make it accessable to the internet access via httpd (apache)

I have configure apache, and tested it in local its working fine. but i want to configure it with my Domain name.

Old 11-13-2009, 06:30 AM   #2
never say never
Registered: Sep 2009
Location: Indiana, USA
Distribution: SLES, SLED, OpenSuse, CentOS, ubuntu 10.10, OpenBSD, FreeBSD
Posts: 195

Rep: Reputation: 37
Well first of all you need to register your domain with a domain registrar otherwise no one will be able to find your domain. Options include registrars like or or many others. Costs will range from $10 - $30 a year.

Assuming you have a static IP the next step will be to set up your DNS Servers. You can either set up your own, use services offered by your registrar (small additional fee normally applies), or use a free service such as

If you have a dynamic IP you will need to look at other options, such as using services like or another Dynamic DNS Service that will update your DNS records when your IP changes.

Finally you will need to adjust 1 or more of the following:

1. Hardware Firewall allow port 80 (TCP) through your firewall.
2. Port Forwarding to forward port 80 (TCP) traffic to your server.
3. linux firewall (iptables) to allow port 80 (TCP) traffic.
4. apached conf file to listen on the correct interface(s).

If you want to host the DNS yourself you will have to do one or more of the above for port 53 (udp) as well.

That should just about do it. Good Luck!
Old 11-13-2009, 06:41 AM   #3
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Hi Bala,

First you need to register the domain with a domain registrar. There are several of them and they differ mostly by price of their services.

Second you need a domain name server to translate your domain name to IP address. You have two options - either you will be your own DNS server (e.g. install a DNS server software on your servers) or you will buy this service from a provider.



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
DNS in RHEL5 msivadass Linux - Server 2 08-19-2009 06:26 AM
How to configure DNS Server & DNS Client in RHEL4 chanakkya Linux - Networking 1 07-05-2009 01:41 PM
configure VPN in rhel5 mamtasahai1 Linux - General 3 03-16-2009 11:32 AM
how to configure the dns server in rhel5? priyank123 Linux - Server 2 10-02-2008 10:35 AM
how to configure master dns in windows2003 server and its slave dns in rhel5 suneellinux Linux - Newbie 1 04-11-2008 05:13 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 PM.

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