Question .. plz

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
meto
Forum Newbie
Posts: 1
Joined: Fri Sep 29, 2006 8:00 am

Question .. plz

Post by meto »

hi everyone ,
i have some questions which i found this forum is the right place to post them .

1. i have adsl connection with arouter .
i need to setup aforum in my network which will be accessable for all other pcs . and i don't know how ?

but i try that :
setupping apache client (full package of php , mysql ...etc ) on my pc which has ip 10.0.0.x
also i setup the forum correctly on my pc so ,, i can login in the url

Code: Select all

http://127.0.0.1/forum/index.php
but other pcs in the network when try to put :

Code: Select all

http//10.0.0.x/forum/index.php
in which 10.0.0.x is my ip in the network
thats won't work .
i need any help to make aforum in my local network which work for all users .
and is there is any method to setup it in my router : i mean to put files and forum in gateway 10.0.0.1 ,, as the gateway accessible by all ,, so they can login ,, but also it will be accessable from the web and i don't want that .

help will be appreciated
Thanks .
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

check this link out,http://allyourtech.com/content/articles ... _linux.php

it will help you to set up a webserver locally on Debian linux. what you should be looking for in file sharing is "Samba" if your other computers are windows[/url]
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Re: Question .. plz

Post by timvw »

meto wrote: 1. i have adsl connection with arouter .
i need to setup aforum in my network which will be accessable for all other pcs . and i don't know how ?
1-) Make sure that the other machines in your network can access your machine. Check the firewall settings on your pc to make sure they really can connect to your machine.

2-) Make sure that the apache server is configured to accept connections from those other machines (Probably you've configured apache that it only accepts connections from 127.0.0.1/localhost, imho the easiest to do is to add two virtualhosts... One for local, and one for the network <VirtualHost 127.0.0.1:80> and <VirtualHost 10.0.0.1:80> ).

3-) In a later phase you'll probably want to setup a dns-system so users can reach your machine by name instead of ip.


ps: imho this thread belongs in the webservers forum...
Post Reply