Is it possible to turn a regular PC into a web server that can host files on the internet? If it is possible, how would I set something like this up?
Running a Personal Web Server.
Be advised, however, that it is against the Terms of Use with most ISPs to run a web server on a personal account, and you’ll risk having your account closed if you do so.
Microsoft has a Windows Server Community where you can ask more specific questions and compare real experiences.
Check with your ISP whether it’s ok to run a web server. Depending on your current package, you might have to upgrade or get an external IP address.
Here’s an extremely simple to setup webserver:
Most Linux distributions (with standard installation) turn your PC into a web and FTP server. Even MicroSoft uses Linux for the web.
There are a few tools that can help you with this and I have done it a number of times. You really need to decide what you want to run first.
IIS is versy useful and you can use php and asp with this.
personally i like Ibserver as a free package and phpdev as these are pre bundled installs and it works well.
The hardest part is getting your DNS right so that people can actually see your site.
but there are a few sites that will help you do this, i think the software is called dynamic dns and it sets up your page with a free URL also you can get free co.nr domains that also will help you set up dns, this helps if you have adial up conenction that way when you dns changes people can still reach your site.
Basically there is a fair bit of configuring to do and the mjor thing is security so I would really read into it first. After weighing all the option I bought my hosting package from p4host.com as it was inexpensive and good qualitly, my site loads fast on their site http://www.mytipper.com
i think in the end it is just cheaper, easier and less hassle to buy hosting.
Zaphod
- Open your Preference Panels. Click on “Sharing.”
- Under “Web sharing,” click “Start.”
That’s all. Just stick your site’s files in your “Sites” directory, and you’re good to go.
You can use SimpleServer ( http://www.analogx.com/contents/download/network/sswww.htm ) if you just need to do basic stuff.
Serv-U is a free, easy to use FTP server program. Once you go through the simple set-up, you can specifiy anonymous accounts or password/ registered accounts. Then all you have to do is type ftp://<insert your ip address here> and you’re ready to go. I use it all the time to pull stuff off my home computer from remote locations.
Apache is the biggest out there.
A note for people using IIS (even those running Win2k who don’t know they’re running IIS) - make sure you keep the patches up to date!!!
IIS was (and still kind of is) a running joke when it comes to getting hacked. My apache logs for today show a dozen attacks in three different formats, all perpetuated by hacked IIS machines, looking to spread their evil payload. Put a plain vanilla IIS server up on a broadband connection and I guarantee it’ll join them in mere hours.
I guess what I’m trying to say is, if you’re going to open your machine up to the 'net, whatever the service, make sure you know what you’re doing first.
I’ll back up the Apache recommendation. I see thousands of IIS attacks against me every week; all of the attacks fail.
FTR IME ISP ToS (wow, 4 acronyms in a row) language (which I’ve seen a few dozen sets of lately) typically either prohibits running a “server” (which is so loosely defined that it could be applied to almost any program, including vanilla IE because it uses HTTP POST to send data; thus they are legally unenforceable) or else prohibits running a server as a business. And I’ll look it up to see if I can cite it definitively, but IIRC Oklahoma had a judge rule that a DSL provider could not control whether people ran personal non-profit servers due to the static bandwidth leasing nature of the line.
Go for apache, it is easy to install and configure. If you don’t pull it off, google for php-triad. It is a “one click install” for apache, php, mysql and some other nice things. Gets you up and running with the basic settings right off.
-
-
- I was for a time using the smaller file servers for FTP over a cable connection–all worked for smaller files (<1 meg) and were easy to use, but conked out on larger uploads and the upload would hang. That was more than likely my OS at the time: Win98+ZoneAlarm. Win2K and Linux seem to be the big two OS’s for this sort of thing. If you run most general-use Linux install versions there’s one included in there somewhere.
-
- One free, small-download open-source one for Windows that’s easy to use is Filezilla Server. Note that Filezilla is an FTP client, FileZilla Server is the file server.
- And most ISP home accounts do prohibit operating servers, but most I hear of now are upload-limited anyway. Mine for instance provides a maximum 280 (?something like that?) Kb/download, but consistently provides an obviously-limited 20 Kb/upload.
~
If you’re gonna stay with windows, I highly recommend FoxServ, which is an excellent implementation of a apache, php, and mysql complete with installer.
This, by the way, is powered by Apache.