LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2009, 09:54 AM   #1
whaase
Member
 
Registered: Aug 2002
Location: Calgary, Alberta, Canada
Distribution: Ubuntu Server, Ubuntu Desktop
Posts: 128

Rep: Reputation: 15
Bind-Apache?


I have a full LAMP server set up with my site on it open to the public.I'd like to set up TorrentFlux as a *Intranet* site for home.

How can I do this do people can not accidentally/or purposely get access to it from the internet?

I'd like to have it set up so on our lan we would just have to type something like http://torrent and have it take us to the Torrentflux page.

I'm a bit lost on how to do this. I'm almost positive its done in DNS/Bind and Apache, but I don't know what to google to find information on doing this. I also know our home machines will have to use this server as their DNS server to have this work. I know on our server at work we had set up something like this, but it was a long time ago now, and it was a MS 2003 server lol and I don't remember how it was done.

Anyone able to help or point me to a how to on this?

Thanks
 
Old 02-23-2009, 10:35 AM   #2
gergely89
Member
 
Registered: Feb 2009
Posts: 100

Rep: Reputation: 21
Edit the /etc/hosts files on all LAN PC's that need access to that server by associating the torrent name with the local IP number of the server (something like 192.168.0.200 torrent). That way there is no need to tweak the DNS settings and no one from the outside could access it by typing http://torrent (unless they know your public IP and there is some routing/forwarding going on from your router to the torrent server and they would modify their own /etc/hosts file accordingly).

linux

Last edited by gergely89; 02-27-2009 at 10:49 PM.
 
  


Reply

Tags
apache, bind, dns


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
Bind/Apache/DMZ metallica1973 Linux - Networking 5 08-12-2008 10:33 AM
apache and mount bind sciguy125 Linux - Software 0 05-20-2006 12:51 AM
BIND and Apache trees Linux - Networking 4 07-27-2004 11:12 AM
bind and apache ethanchic Linux From Scratch 2 08-15-2002 01:11 AM
Bind 8 Apache justlinux Linux - Networking 11 07-21-2001 04:38 PM


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