PDA

View Full Version : Web server


weronpc
05-15-2003, 02:58 PM
Hello everyone,

There is 2 pc in my house, instead of sign up high speed twice, I just install one pc with 2 network cards (Server) and one with 1 network card (Client).

I installed Apache in the client's pc, but the client's ip is not a real ip, it's an internal ip. So, I created an Intranet site.

Do anyone know how to install apache in a Client pc and also allow people outside the network to have access (Internet site)?

Thank you soooo much,

Mike

Jason
05-15-2003, 09:55 PM
You would need port forwarding off your server so that it would know to forward anyone that looks up your ip for the port 80 which is the HTTP protocol and so it would then go to the client. Similar to that of a router. I don't know exactly how to do it, I never used a computer as a server for networking, I cheated with a router...


Jason

weronpc
05-16-2003, 12:04 AM
Thanx you, can you explain a little more? is port fowarding a software or something?

I was going to get a router too, but.... don't the ISP pick up your MAC address and terminates your connection?

Anyway, please help..

Mike

I have my site made and web server installed, just can't get visitor to come in cuz I don't have a ip.

Jason
05-16-2003, 12:12 AM
well, with a router you plug the ip address into the router and you can either hard code the IP of the addresses into your machines or you can use DHCP to have them auto-assign. I suggest hard codeing them in for the port forwarding since you don't want a mix up when someone goes to your web-server. But basically portforwarding is, its a software thing that should come with ther share-web-connection thing you have, it should be able to say which IP gets a certain port, like 80(http). Now, both your computers have IPs, but only one is connected, the other has to have something like 192.168.0.2 or something to allow it connection to the net. But you need to tell the server to forward incomming connections to the client computer for the web server stuff. A router specifically is made for this stuff, that is why I got one. Other then that Im not to sure...I hope that helps

Jason

weronpc
05-16-2003, 12:16 AM
Is it posible for me to have my own ip without a router? I kind of know what you are talking about..

You see, I am a programmer, not really a network person :)

Please help me if you know how...

Thank you so much for your reply

Jason
05-16-2003, 01:28 AM
ok, I hate networking too, but I have to do it...and what do you mean?
Is it posible for me to have my own ip without a router?
you have your own IP you get one when you get online...Whether its static or dynamic I can't tell you...only how to find out can I help you...


Jason

weronpc
05-16-2003, 12:48 PM
I know I have my own ip, what I mean is, can I have an IP that allow people out side can come in and view my web page or ftp to my home server. Right now, my ip is 192.168.0.2, so... it's no good for people that's out side.

Any solution? I really need help, I have been at this for a long time.

Thanx again,

Mike

Jason
05-16-2003, 10:51 PM
well, that is the IP for the client running the web server...you are otherwise given some other IP for the network server. Now that IP is the one people will see. With port routing they would go to that IP and then get into your box. But again, without a router I don't know how to do it using another computer having web sharing. I can almost garentee its in the software supplying the sharing protocols...


Jason