cyh781s
02-08-2003, 09:39 PM
hi, don't know if this is the right palce to post this :)
I want to view the php page i made from other computers through internet. The following is my home network setup, just want to know if it is possible to do it.
My windows XP is the main computer with 2 network cards, one is to connect to cable modem and the other is to a hub. My linux box is connected to the hub so linux shares the internet throught the hub.
recently i was trying php + mysql + apache server. everything works fine, but i can test in localhost in linux box only. I know i need to change the servername = localhost to the real ip address. but since my linux box is connected through the hub. the eth0 is just 192.168.0.X, not the ip in XP which is given by ISP.
Just wondering if there is a way to setup so i don't need to change my home network setting now (kinda lazy ;)) and still can test my php page on my other computers.
And yes i know the best way is to have my linux box as the main computer to connect to cable modem directly and share the internet to other computers. Still want to know if it is possible.
Thanks
I want to view the php page i made from other computers through internet. The following is my home network setup, just want to know if it is possible to do it.
My windows XP is the main computer with 2 network cards, one is to connect to cable modem and the other is to a hub. My linux box is connected to the hub so linux shares the internet throught the hub.
recently i was trying php + mysql + apache server. everything works fine, but i can test in localhost in linux box only. I know i need to change the servername = localhost to the real ip address. but since my linux box is connected through the hub. the eth0 is just 192.168.0.X, not the ip in XP which is given by ISP.
Just wondering if there is a way to setup so i don't need to change my home network setting now (kinda lazy ;)) and still can test my php page on my other computers.
And yes i know the best way is to have my linux box as the main computer to connect to cable modem directly and share the internet to other computers. Still want to know if it is possible.
Thanks