|
-
Nov 14th, 2008, 07:58 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] php.
instead of making php on my computer, how can i make it send the same as it shows on my computer for others, or how do i host this site so everyone else can see it?
-
Nov 14th, 2008, 08:20 PM
#2
Re: php.
Its not a good idea to host your own site, but if you must, then you need to Port Forward 80 to your computer.
Shared hosting is the cheapest @ as low as $5 a month. This is typically LAMP and you can use a domain name.
There is also free webhosting, although i am not sure if there are many sites that allow php scripts to run on their sites. With free hosting, you typically get a subdomain (like mysite.freehosting.com)
Last edited by dclamp; Nov 14th, 2008 at 08:24 PM.
My usual boring signature: Something
-
Nov 14th, 2008, 09:02 PM
#3
Thread Starter
Fanatic Member
Re: php.
i see that if you type like http:/ip/c: then it says forbidden, is that a good thing or a bad thing, does this mean they have acess to all my computer?
-
Nov 14th, 2008, 09:30 PM
#4
Re: php.
By default, files which are not in the DocumentRoot of the web server cannot be accessed. Your network setup will determine weather or not the server can be accessed from another (external) location.
If you connect with a modem and don't have a firewall then should disconnect the modem and not plug it in again until you have a firewall; because no only will the web server be visible, so will all the other services you have running (such as Windows file sharing). Once you have the firewall installed you will need to open port 80 to allow connections to the web server.
If you connect via a LAN, through a switch or equivalent then you will need to configure NAT to change the IP address to that of your local machine.
My suggestion will be not to host it from a PC. You can open up additional vulnerabilities by running extract services on your machine and exposing them to the world.
-
Nov 14th, 2008, 09:35 PM
#5
Thread Starter
Fanatic Member
Re: php.
if i run a site, will anyone be able to harm my computer or anything related to that?
-
Nov 14th, 2008, 09:46 PM
#6
Re: php.
 Originally Posted by Justa Lol
if i run a site, will anyone be able to harm my computer or anything related to that?
If you run a public web server on your home computer then that brings some problems:
- Yes there is a possibility of hackers getting in.
- Your computer will need to be on 24/7 if you want the site up 24/7
- It will cause your internet connection to degrade if there are visitors browsing your site, and if you or your family is using your connection, e.g. on YouTube, when people are browsing your site, it's going to make your site very slow, unless you have a very strong broadband connection.
- If you get a lot of hits, then you could exceed your internet connections bandwidth limit
- Electricity bills if running it 247
I suggest you google for Free PHP hosting.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|