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

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
sarmenhb
Forum Newbie
Posts: 3
Joined: Sun Sep 17, 2006 2:47 pm

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

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
sarmenhb
Forum Newbie
Posts: 3
Joined: Sun Sep 17, 2006 2:47 pm

Post 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
sarmenhb
Forum Newbie
Posts: 3
Joined: Sun Sep 17, 2006 2:47 pm

Post 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
Post Reply