I know most webhosts run Apache and it seems to server their needs very well. However LiteSpeed is new and fast, assuming you have relatively static content. At least that's what I've heard. Beyond this, I don't know much, though a year ago I worked with a guy who hosted an iPhone software repository (smallish files, huge demand), and he put LiteSpeed on the servers to deal with the load. Running at 30+ Mbps, with spikes above 60, the server never went above 0.2 load as far as I remember, and it was just a 2GB Core 2 Duo E6300 1.86 GHz machine.
I'm setting up a new VPS, and I have the option of a number of Linux distributions to choose from. There's all the usual suspects: CentOS, Debian, Ubuntu, Fedora Core, SuSE, etc. Why would I pick one over the others? I've used CentOS before, but I'm open to trying other distros. There's been lots of fuss over Ubuntu on the desktop, but why would I choose it for a server?
I've been leaning toward going with WestHost for a medium-sized project. They offer VPS without root access, though, and much of the advice in the "HOW TO: Secure and Optimize your VPS" thread requires running commands as root.
My experience has all been with colocating my own servers in a data center, with everything accessible when I log in as root (though of course I ordinarily logged in as a normal user instead). This was three or four years ago, and a lot has changed since then.
Can someone who's up on this stuff please describe the pros and cons of non-root VPS service such as WestHost provides? Cost seems to be one advantage :-} and I imagine it's wise for inexpert Webmasters not to have a completely wide-open system. Are there other pluses to non-root VPS that aren't as obvious?
Most importantly, what kind of operations will I not be able to carry out if I go with WestHost or a similar non-root VPS host? Can I reasonably expect the hosting service to perform the kind of locking-down described in WHT's tutorial on VPS security?
I'll be asking similar questions of WestHost's support people but thought it would be a good idea to ask people without a stake in either the root-access or the non-root way of doing things.
I'm starting to see this, or maybe it's always existed, but it seems like bigger sites are hosting their images on external servers. I've even seen some sites use Flickr as the host for all of their images. I guess for Flickr that means you have a guarenteed image CMS, but I really don't see that as why Flickr was created.
I'm sure there are bandwidth advantages, and maybe that's the main reason. Is there a point where the traffic gets so high that moving images off site would improve load times and sever loads? Is it a worthwhile endeavor for smaller sites? I'm curious to see what the thoughts are on this trend.
Is it possible to get a rough description of the benefits of a VPS host over a shared host?
1) Support. Should support with a VPS host be better than my current shared provider? They offer live chat and a ticketing system. Tickets can take hours to get a response, live chat minutes but often there are no support operaters to answer the question.
2) Uptime. Will uptime be improved upon? My current host tends to range from 97%-99% in a month. Importantly will it suffer from soft outages where parts of the account are down (such as MySQL or http)?
3) Traffic. What levels of traffic will base VPS packages handle? Will a few semi active forums (say max 20 users on 3 forums) be manageable alongside several PHP/MySQL galleries and several hundred normal PHP pages?
4) Load. Does the load usage of other customers on the same server effect your account in the same way it does in a shared environment? Can one user bog down the entire server for everyone else?
5) Management. How much control is given to a user in managed VPS environment. Can you restart OS yourself (and do things like edit the firewall blocks)? Do you have to keep the OS (Linux in my case) and things like Apache and PHP up to date yourself or is that done for you.
6) Usage Policies. Are the usage policies in place in a VPS environment (limiting the amount of CPU process and memory you can use). If yes are they higher than in a shared environment.
Is it possible to get a little more on a few of the hosts I've looked at (if possible I'd like to be below the $50 a month mark).
Is it a case of picking any of these and getting a similar support and hosting service?
WiredTree seems to offer a decent compromise of price against value. Given that my site is still pretty small at the moment, would the smallest JaguarPC package be a better fit (so I'm not spending money for specs I'm not using).
Unfortunately disk space is a fairly big factor as the site uses quite a few image and small video files (I'm using something like 2GB at the moment but this would increase fairly rapidly over time). Does that mean a shared host is better suited for my needs?
I see Site5 have a 5 dollar deal on their homepage, but I don't know if it's any good. I hear from a lot of people to get a reseller account if you plan to make a lot of websites. It's more expensive than the 5 dollar plan with less bandwidth and storage, so there got to be something to it. What are the benefits of a reseller account compared to that 5 dollar deal plan?
As far as I see each hosting company uses various methods to make customers buy their domains. They can provide free domains, free Fantastico scripts, website building software, templates etc. I am planning to launch my hosting company really soon. Also I think to include free internet marketing services in some hosting packages. I am just wondering if such internet marketing program can be considered as a significant competitive advantage stimulating customers to make a purchase?
I know to some of you this may sound like a totally silly question. But I would like to know what the main advantages are if you have a VPS instead of a shared reseller hosting.
I notice some of the basic VPS packages give you 512MB of memory. Other than that, the rest of the stats seem to be along the lines of what you might get in an advanced reseller hosting plan such as one available from Reseller Zoom.
I am looking into VPS as a dedicated server is a little over my budget, however, I am not entirely clear what makes VPS better.
Usually our website traffic is about 50 MB/day in our dedicated server. From these past 2 days it's consuming 5 GB/day and Apache2 opens so many processes/connections that our router can't handle and turns our WAN/LAN extremely SLOW!
If the reboot the server, it calms down but soon the apache2 starts again to open the connection (+1000).
Ive had this problem numerous times (website failed to connect error) before and the web management team tell me that apache2 needs to be restarted, seeing as they are not replying to my emails im gona try and do it myself.
I have a problem. When MSN Search robot looks through my VPS, the machine is going "asleep", e.g. Apache2 (Port 80) doesn't answer at all. Here is the last falling:
Code: 23:14:15 up 4 days, 9:06, 5 users, load average: 37.18, 31.25, 27.46 I hardly ever can enter 'pkill apache2' to kill Apache2 processes. Here is my Apache2 configuration (timeouts, prefork, e.g.):
Code: Timeout 30 KeepAlive On MaxKeepAliveRequests 20 KeepAliveTimeout 5
I just wondered if anyone can help me out with an Apache problem. I currently run Debian 3.1 (on 10 GB space and 256 MB of RAM) with Apache 2.0.59 installed through apt-get.
Apache runs with 10 child processes running simultaneously to handle multiple requests at once. I have set up Apache to use virtual hosts for every single account since they are hosted on their own domains/subdomains.
I put in a crontab to restart Apache every 15 minutes. The reason being is because after a while, Apache will start lagging to display web pages. When it's restarted, it works just fine and fast. After roughly 10 minutes now, it will take roughly a minute for the request to finally send the data back to the browser. It's not the web page that causes it, it's Apache or some factor effecting it's performance.
Does anyone know what the cause may be or how to fix it? Personally, I think it might be a memory issue.
But when i tried to start apache i got an error message saying that libphp5.so is corrupted or something.. (garbled - perhaps this is not an Apache module DSO?)
Now i just want to retore php4 working as it was !
i did apt-get remove php5 libapache2-mod-php5 php5-gd php5-mysql and apt-get install php4 libapache2-mod-php4 php4-gd php4-mysql
but i can't find the php4.conf and php4.load on the /modules-enabled or /modules-available
tried to write those files manualy as php4.so exists with other libs.
apache does not load php
Quote:
host:/etc/init.d# apt-get install php4 php4-mysql php4-cli libapache2-mod-php4 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances... Fait Paquets suggérés : php-pear php4-pear Les NOUVEAUX paquets suivants seront installés : libapache2-mod-php4 php4 php4-cli php4-mysql 0 mis à jour, 4 nouvellement installés, 0 à enlever et 275 non mis à jour. Il est nécessaire de prendre 0o/3258ko dans les archives. Après dépaquetage, 6517ko d'espace disque supplémentaires seront utilisés. Sélection du paquet libapache2-mod-php4 précédemment désélectionné. (Lecture de la base de données... 35624 fichiers et répertoires déjà installés.) Dépaquetage de libapache2-mod-php4 (à partir de .../libapache2-mod-php4_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Sélection du paquet php4 précédemment désélectionné. Dépaquetage de php4 (à partir de .../php4_6%3a4.4.7-0.dotdeb.0_all.deb) ... Sélection du paquet php4-cli précédemment désélectionné. Dépaquetage de php4-cli (à partir de .../php4-cli_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Sélection du paquet php4-mysql précédemment désélectionné. Dépaquetage de php4-mysql (à partir de .../php4-mysql_6%3a4.4.7-0.dotdeb.0_i386.deb) ... Paramétrage de libapache2-mod-php4 (4.4.7-0.dotdeb.0) ...
Paramétrage de php4 (4.4.7-0.dotdeb.0) ...
Paramétrage de php4-cli (4.4.7-0.dotdeb.0) ...
Paramétrage de php4-mysql (4.4.7-0.dotdeb.0) ...
host:/etc/init.d# /etc/init.d/apache2 force-reload Forcing reload of web server (apache2)...apache2: Syntax error on line 116 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php4.load: API module structure `php4_module' in file /usr/lib/apache2/modules/libphp4.so is garbled - perhaps this is not an Apache module DSO?
I'm running Apache 2.0.54 on my server and just recently Apache has been giving me problems that I haven't been able to fix permanently. In my error log, Apache marks down "[error] (88)Socket operation on non-socket: apr_accept: (client socket)" roughly 3 to 4 times a second and then turns off. In SSH, I send a restart command and it tells me it's still running but then it says when I restart it again that it wasn't running.
My main concern is fixing Apache from showing this error and from crashing so much. I did some research and through inconclusive evidence, it seems like a crontab error (ironically Apache doesn't use any cron jobs I can see).
got the VirtualHost entries for Appache, so each Domain points to a folder.
The (Windows-)DNS runs on the server, means i have to create a new DNS Reverse-Lookup and Folder for each Domain seperatly, but this workflow appears to be pretty stupid..
Now my question:
Anyone can tell me how to setup somwhat a "Wildcard / Catchall DNS", and also "Catchall VirtualHost", so each Domain is automatically pointed to the right folder? Any scripts needed for that?
On my webserver I host about 10 websites. I want to set up a subdomain of webmail.domain that works for all the domains but goes to the same squirrelmail install. Is there an easy way to do this or do I need to add code for each domain?