How does web hosting actually work?
May 26, 2009 12:08 AM
Subscribe
How does web hosting actually work? I need to host a web application that I've made. I've had a look at a few forums, a few reviews, and now I'm more confused than ever.
I've set up a web application using Netbeans on my home computer, then opened up the appropriate port. However, our connection often goes down. As an experiment, I recreated my web app on the Amazon Cloud by setting up one of their pre-defined Windows 2003 Servers, and installing everything exactly how I had it on my computer. I would log in using remote desktop and configure everything.
It works well, but Amazon Cloud is expensive. It's only a prototype right now that I'm showing my friends, colleagues and anyone else interested.
How does web hosting actually work? I mean, do most hosts give you a virtual computer in which you can log in to? Or do some give you a text-based login where you can upload and run programs? Or....?
These are my requirements:
* The ability to upload libraries such as GWT, javabib, javamail, htmlparser, apache-fileupload, amazon aws etc.
* The ability to run the GlassFish Server (although, I really could run it on any number of java web servers, eg Tomcat)
* Ability to persist user data via java serialization.
* Probably about 2 GB of disk space + an as yet unknown IO data limit.
Something that gives me an xterm screen and the ability to upload and run stuff would be sufficient. Is this how things work when it comes to hosting web applications? It's all very confusing!
posted by tomargue to computers & internet (13 comments total)
11 users marked this as a favorite
Next there are "virtual servers," which offer you more of a cordoned off part of a server, typically complete with the ability to view some level of command line, install programs, etc.
Finally, there's dedicated hosting. Dedicated hosting means you have a server entirely to yourself, that you pay monthly for to rent the bandwidth and hardware. You're given root because it's your box. This is usually about on par with Amazon's EC2/Cloud servers, hour-for-hour, price-wise.
You can probably track down a relatively cheap virtual server that will work for you, so long as you find someone who plays nice with Java. Search for Java virtual servers and see what comes up. (But read more here for concerns on doing so.
A place like The Planet offers servers in the neighborhood of $100/mo. for low-impact boxes, but yeah, any cheaper than that and you're pushing it.
If you're feeling clever, you can use a dirt-cheap host to simply persist constantly, and to just initiate your EC2/Cloud instance when someone was looking to use the site... but that would be a bit awkward.
posted by disillusioned at 12:18 AM on May 26