LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-28-2006, 06:57 AM   #1
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Rep: Reputation: 30
Question how to configure bind with virtualhosts


I have bind and an apache server running at homeand 2 domains that have configure as virtualhosts. Now the problem is that if I try to open one of the web pages from inside my LAN I get the webadmin of my dsl router. Since I am not using my own BIND as the SOA, I thought, maybe if I configure my bind to just answer my requests for those domains and not query DNS server outside my LAN it could do the trick. The problem is that I certainly don't have a lot of experience with BIND. Can anybody help me to include domain.com and domain2.com Virtualhosts in my local BIND name server to answer queries from my internal lan so BIND don't query others DNS nameservers and show my dsl modem webadmin? I tried to change de webmin port from 80 but can't be done directly. Thanks.
 
Old 07-29-2006, 04:57 AM   #2
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
Isn't it possible to just simply add some entries in your /etc/hosts on the computers in your lan?
 
Old 07-29-2006, 11:44 AM   #3
isuck@linux
Member
 
Registered: Jun 2006
Distribution: messed up debian
Posts: 250

Original Poster
Rep: Reputation: 30
I guess it's possible but would like to learn bind
 
  


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
do i have to use Bind to configure DNS? nasirjones Linux - Newbie 18 07-29-2006 11:45 AM
Configure bind in FC2 jgnasser Linux - Software 0 11-29-2004 11:30 PM
How can I configure BIND outside a subnet erik_wout_ew2 Linux - Networking 7 10-30-2004 12:29 PM
configure bind mblanco2000 Linux - Networking 1 04-27-2004 04:42 PM
How to install and configure Bind 9 360 Linux - Networking 0 01-15-2002 11:39 PM

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

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