LinuxQuestions.org
Review your favorite Linux distribution.
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 05-27-2004, 12:28 PM   #1
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Rep: Reputation: 31
phpBB/ apache domain names


ok ive got phpBB and apache set up on my own personal server and phpBB uses domain names to do some stuff. the problem is im using dyndns and when i set up phpBBi have to put my dyndns name in there, but this doesnt allow me to access the BB locally. is there anyway i can make it so i can access it locally and from the internet.
 
Old 05-29-2004, 04:21 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Put an entry in the hosts files of your local clients such as:
192.168.1.10 myhost.dyndns.org

This is where your DNS name is myhost.dyndns.org and the local IP of the server is 192.168.1.10
 
Old 05-29-2004, 04:40 PM   #3
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
i tried that buit when i try to login it tries to send me to myhost.dyndns.org which is redirected to the ip in dyndns database which i cant access from the local network
 
Old 05-29-2004, 04:48 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you make the hosts entry in the client PC? Check that you used the correct values for your network.
 
Old 05-29-2004, 06:36 PM   #5
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
ok let me get this straight is this what youre tryign to get me to do:
first make the domain name for phpBB leftshoe.kicks-ass.org
then on my client machine in /etc/hosts make an entry that says 192.168.0.100(server ip) leftshoe.kicks-ass.org leftshoe
i think i will try that and then do i have to add anything to /etc/hosts on my server?
 
Old 05-30-2004, 08:57 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
On the server hosts file you should add "leftshoe.kicks-ass.org" to the loopback ip - such as:
127.0.0.1 localhost localhost.localdomain leftshoe.kicks-ass.org leftshoe

Then in your client(s) hosts files:
192.168.0.100 leftshoe.kicks-ass.org leftshoe

This way when your client looks for host "leftshoe.kicks-ass.org" (or leftshoe) it will go to the IP address of 192.168.0.100 - When the server requests "leftshoe.kicks-ass.org" it will just use it's loopback IP.
 
Old 05-30-2004, 09:02 AM   #7
doralsoral
Member
 
Registered: Aug 2003
Location: raleigh
Distribution: Gentoo 2005.1 x86_64
Posts: 931

Original Poster
Rep: Reputation: 31
k i think ig ot it working thanks a lot
 
  


Reply


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
domain names xaos5 Linux - Networking 2 06-09-2005 02:03 AM
Small phpBB and apache configuration problem. The_Messiah Linux - Software 1 03-29-2005 02:09 PM
Domain Names...? cparker15 Linux - Networking 8 08-27-2003 07:13 AM
Domain Names Timbo General 7 02-14-2003 03:10 PM
domain names cic Linux - Networking 3 06-11-2002 03:47 PM

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

All times are GMT -5. The time now is 03:05 AM.

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