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.
|
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 |
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
|
Did you make the hosts entry in the client PC? Check that you used the correct values for your network.
|
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? |
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. |
k i think ig ot it working thanks a lot
|
All times are GMT -5. The time now is 02:50 AM. |