Page 1 of 1

How to run a php web page from my computer for all to see?

Posted: Sun Sep 17, 2006 2:50 pm
by sarmenhb
hi have WAMPServer installed in my system
php works on my localhost its all set up

now how can i set it up so people can view my page from their location
where the page is running off of my computer
instead of registereing for a domain name and server with another company..


thanks

Posted: Sun Sep 17, 2006 3:04 pm
by feyd
I believe WAMP's default is set up for just that, however if you are behind a router, you must configure the router to forward port 80 traffic requests to that machine's IP.

Posted: Sun Sep 17, 2006 3:17 pm
by sarmenhb
i have no router set up

what other thing or way can i set it up so that it would work?

how would you do it.


thnx

Posted: Sun Sep 17, 2006 3:19 pm
by sarmenhb
in Wampservers httpd.conf file

i found this


#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 80

so it seems like the port 80 is set on listen