|
|||
|
Hi
I have a high end vps (1Core cpu and 2GB ram) and up till now, I have been running only my own sites. I run multiple wordpress blogs, and 2 Joomla sites. The traffic I am getting in total is currently on average 25K unique a day. (sometimes up to 40K unique) I have decided to offer shared hosting on limited scale to few friends and few other people. Now, to make the server secure for shared hosting environment, I am stuck with the multiple options below. dso vs suphp vs fastcgi Up till now, I have been using php with dso (and eAccelerator). Even my vps is serving 25K unique a day, I haven't seen load going more than 2.0 (for normal operations) I have read on many forums and online articles that for shared hosting one should always use suphp for security and better tracking. BUT at the same time, I have read that suphp should not be used for high traffic servers. And also eAccelerator will not anymore so that will also increase load. I read that Fastcgi is faster than suphp but its very complex to configure. If not done correctly, it will create many problems. Please ... help me decide what to do? I want to make my VPS secure by every possible way but I do not want to risk much degraded performance. (I can accept a little difference) What should I choose? And without eAccelerator, wouldn't my site load time will increase badly? I am not an expert in linux (or whm/cpanel) but I try to learn and get things quickly. My hosting provider offers full management and they are doing everything for me. But they want me to decide what to do. Please help.
__________________
Cpanel is The Best
|
|
||||||||||
|
Quote:
About the last thing I would consider running with that traffic pattern is any VPS server or a machine that is that lowball of a configuration. That alone is asking for trouble and headaches! Quote:
Quote:
Also another misconception is that SuPHP is drastically slower than DSO which is true but the impact going to SuPHP is very minor if it is configured correctly. FastCGI however is just the opposite and you will actually get greater performance than running DSO with any accelerator especially on your extremely limited resources. Quote:
Quote:
eAccelerator will bloody increase loads itself and actually has a few other issues that go beyond the scope of this discussion. However, for the purposes of this reply, then 'yes' --- that particular accelerator only works with 'dso' mode PHP so you would need to look at another caching system or accelerator if you changed your PHP type. (It should be noted that SuPHP without any accelerator typically outperforms dso **WITH** an accelerator --- common misconception that it doesn't but true never the less ironically) Quote:
I think the word I would use rather than "complex" is "different". ![]() Quote:
Heavily securing servers with minimal performance impact (actually increasing performance most of the time) is precisely what I specialize in doing specifically and deal with myself each and every day.Quote:
Quote:
Personally, I have very little faith in most "full management" services but then I have an unusual perspective and vantage point on that being able to look at a lot of these guys from the position and background of extremely a whole lot more experience and covering a lot more knowledge than most "think they know" out there but with that said and assuming your host can really in fact indeed handle helping you with your security and performance issues and also to the degree that you are asking about, I would advise having them do the following or some similar variation with these basic items as your guideline: On the performance side look at switching to FCGI w/minimal modules but still including all the modules that you need but leaving out extraneous addons that you don't use at all. Some modules that are an educated "as needed" decision would be things such as "mod_bandwidth" that don't really help as much as hinder. Look at doubling the stats for your request handling, consider adding xcache or something similar but make sure what you add supports fastcgi or fcti (eAccelerator does not). If you upgrade your server memory, this will be to your largest advantage more than anything. You might also look at putting on a 3rd party handler to handle port 80 requests such as an http accelerator, squid, or perhaps a faster web server such as nginx with a cache layer in between but I would only consider these types of modifications **IF** and only **IF** you can substantially increase your limited memory resources else it is not worth either your time nor effort to even consider. On the security side, you of course should look at APF or even better, Chirpy's CSF firewall which is probably the best and easiest to configure solution alongside Cpanel systems, mod_security (though I would get a better ruleset than the standard default rules), SuHosin (the number of code injection attacks has risen exponentially lately), mod_evasive, set "PCI recommended" options in your Apache, turn off external PHP exposure, and all the other various tidbits out there that should probably be considered as "standard" things to do for all hosting servers. Quote:
If you need more assistance beyond these comments, feel free to contact me anytime. |
|
|||
|
Thank you so much for you reply.
It helped me a lot. Quote:
May be I have fewer neighbors on VPS there. Now I am considering myself lucky Seriously, I didn't have a downtime in last 27 days or so. Again thanks for such a detailed response. Much appreciated.
__________________
Cpanel is The Best
|
|
|||
|
Quote:
Clouds are often marketed as "VPS" servers but very much quite different. Quote:
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pitfalls after rebuild and switching PHP from DSO to suPHP | santrix | cPanel and WHM Security | 8 | 03-17-2010 02:03 PM |
| Converting DSO to SuPHP ... | Spiral | cPanel and WHM Discussions | 7 | 10-12-2009 01:11 PM |
| Runnng PHP as FastCGI instead of DSO - Internal Server Error | DReade83 | cPanel and WHM Discussions | 7 | 03-10-2009 12:19 PM |
| Dedicated server for 1 account, DSO or even in this case suPHP? | phoenixweb | cPanel and WHM Discussions | 2 | 09-30-2008 11:41 AM |
| suPHP to FastCGI | msmartinwsx | cPanel and WHM Discussions | 0 | 03-09-2008 04:08 AM |