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 03-23-2007, 01:27 AM   #1
keiai03
LQ Newbie
 
Registered: Jan 2007
Distribution: Ubuntu Edgy Elf
Posts: 6

Rep: Reputation: 0
DNS redirection...


hi linux gurus

I've install bind9 on my Ubuntu Box (edgy elf).. as far as i know i configure it well. i can ping all the domain name that i created. my problem is how will i redirect this one:
My DNS server's ip is 121.x.x.x (ubuntu)
and my APACHE server's ip 10.x.x.x (red HAT)

when i entering www.mydns.com the webpage displays itself but when i key in to the browser 121.x.x.x the webpage doesn't show up.. what can be the problem? and how can i redirect 121.x.x.x to www.mydns.com?

thanks....
 
Old 03-24-2007, 02:02 PM   #2
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
You can use an 'A' record to direct a website to an IP.

Since you're running your own DNS though, you might check out something called views for BIND. That way in your internal network, you get your internal IP back for your domain lookup, but externally accessing people get the 121.x.x.x address (which probably works for them).
 
  


Reply



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
redirection bhuvana Linux - General 2 07-03-2006 02:36 AM
what is output redirection? LinuxPadawan General 5 05-18-2005 12:53 PM
redirection in C pantera Programming 2 08-11-2004 01:06 PM
http redirection ovibis Linux - Networking 1 10-16-2003 01:08 PM
Redirection required karthikvina Programming 11 09-01-2003 05:05 AM

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

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