Go Back    Forum > Digital Publishing / Web Sites > Web Hosting

Reply
 
LinkBack Thread Tools
  #1  
01-15-2014, 02:18 AM
Esinem Esinem is offline
Free Member
 
Join Date: Jan 2014
Posts: 2
Thanked 0 Times in 0 Posts
Just been reading The Myth of VPS Hosting here and am wondering if VPS with Eurovps has been the right choice.

Currently, my site (www.esinem.com, an adult members site) gets approx. 13k visitors pm with around 45k pages views on the WordPress front-end hosted on Eurovps. Originally, I had video and photo content for members which proved to be causing a lot of load and they deployed various solutions like Ngix and more RAM to address this. Now, I have moved all member content to a specialist CMS provider who hosts that content (www.porncms.com) thus reducing server load.

Whilst I see glowing reports about Eurovps everywhere, but I have experienced frequent 500 errors. They are quickly sorted but I never seem to get an explanation or am told I was blocked by the Firewall (using my usual home IP). This happened a couple of days ago and they added my IP to the Allow List (although I feel sure I have heard that before). Today I have another 500 error :-( Whether this is down to my total lack of knowledge of VPS admin I have no idea.

I now question whether my current load justifies VPS? If not, what recommendations for good performance and an easy life?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-15-2014, 09:52 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Excellent question.

Current setup


If your content is now all hosted elsewhere, leaving only the front-end WordPress site (which is sparse/bare), then you probably could switch to shared hosting -- assuming the allow adults sites. Many hosts do not, and thus you would require a VPS for that fact alone. I know of several USA hosts that explicitly allowed adult content (Arvixe, HostDime), but many Europearn hosts probably do as well. I've never actually asked EuroVPS if they allow adult content on their shared plans, so just ask them.

13k/monthly (500/daily) is not a lot of traffic at all. Just cache the WordPress site, using "DB Cache Reloaded Fix" with "Hypercache Extended" cache plugins. (Those work best, not W3 Total Cache, Super Cache, etc.)

I would stick with EuroVPS, even if you move from VPS to shared. Hosting often gets worse, not better, with others. Other good EU hosts, however, include Stablehost, WehostingBuzz and Baltic Servers. But again, check for policies on adult content.


Old setup

I know you've moved to a proprietary CMS (with their hosting), but in case you don't like it, and want to move back to WordPress, it can be done. There really wasn't anything wrong with your software setup, but I think the server setup could have been tweaked better.

When it comes to server solutions, you often have to get creative. Sometimes ONE server (or even ONE host) is not the best solution.

nginx 500 errors are infamous online -- Google it, if you've not done so already. It's likely related to PHP, and the settings (conf) for nginx. That can be a real nuisance to deal with. I've never been fond of pure nginx for PHP apps for this very reason. I prefer to reverse-proxy nginx instead, letting Apache handle the PHP requests. (Even then it can generate 500 errors, but it's rare in my experience.)

EuroVPS is an excellent host, and I highly recommend them. This very site has been hosted on their server for almost 8 years now. But I'm not sure I agree with their setup choices. (Also acknowledging that I know very little here -- only what you've told me thus far.)

What I would do is :

(1) Have the "site" -- not images or videos, just the WordPress CSS/PHP -- hosted on a shared server. Note that you MUST have a good WP cache to reduce the PHP/MySQL calls. Use "DB Cache Reloaded Fix" with "Hypercache Extended". Because 13k monthly isn't much traffic at all.

(2) On a VPS that ONLY has the nginx webserver -- with nothing else whatsoever (no panels, no PHP, not even FTP) -- put the video, images, and even JS files from the server itself.

That would solve the load issue, and likely solve the nginx 500 issues that are caused by PHP.

But it does create some "problems", maybe. The slaved VPS can have files hotlinked, but there is a simple fix for this. The files are also not behind any kind of protected area. So if you want to prevent direct access to the images or videos, you have to integrate them more tightly. Much of that would depends on the CMS in use. For example, this forum runs vBulletin, and unless you're logged in, you can't see the attached images and files on posts. But it's also on the same server, not seperate ones. This particular version of the forum software cannot natively slave attachments to another server (be it simply another server, or a multi-honed CDN). So again, some of this depends on the CMS in use. I know that there was a WordPress plugin being developed last year for this very thing, though I've not followed it's progress as of late.

I have a feeling that the content does increase server requests, and even though it's not a lot of traffic, it may warrant decent RAM on a VPS. So EuroVPS is likely correct here. (They never upsell anybody like shady hosts do.) But they are not as "outside the box" as I am when it comes to creative server setups.

You could "get away" with a low-RAM VPS with just nginx. And upload via SSH in FTP software, just not use an FTP service on the server. Add APF or CSF firewall, change the SSH port, and disable root logins. Then get a shared plan just for the site itself. That's an option.

Firewall issues happen. If it's your VPS, whitelist yourself (and the host!). If your IP is not static, then you probably have heard them say that several times.

Again, just something to think about, should you decide the new CMS is not what you want after all.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
  #3  
01-15-2014, 12:36 PM
Esinem Esinem is offline
Free Member
 
Join Date: Jan 2014
Posts: 2
Thanked 0 Times in 0 Posts
Thank you for a very comprehensive reply. It might take me some time to digest that as my knowledge is very basic :-)

I haven't been able to use cacheing to date because of a flaky membership plugin that didn't like them. That has gone now, so I'll look at your suggestions there for starters.

I think one issue with using WP was too many plugins and a fairly inefficient setup by an ignorant bodger (me!) Part of the objective of the CMS was to pay a grown-up worry about getting it working and fiddle with servers. I just want to promote my site, make content and get it up there.

It does sound like VPS is overkill unless the CMS and its content is hosted there. I'm not sure I'd want to revisit that however.
Reply With Quote
  #4  
01-15-2014, 03:15 PM
Brent Brent is offline
Free Member
 
Join Date: Jul 2012
Posts: 232
Thanked 14 Times in 13 Posts
Adding to what @kpmedia has said, have you taken a look at the error logs? I'm curious to know what's being entered into those logs when the 500 error is generated.
Reply With Quote
  #5  
01-19-2014, 02:27 AM
thecoalman thecoalman is offline
Premium Member
 
Join Date: Jan 2005
Location: United States
Posts: 133
Thanked 19 Times in 17 Posts
Quote:
Originally Posted by Esinem View Post

I now question whether my current load justifies VPS? If not, what recommendations for good performance and an easy life?
It would seem your biggest hurdle is the content. JagPC offers what they call a "Semi-Dedicated" plan for $20 a month which is basically a shared hosting account on steroids. I know from their forum it seems to fit the bill for people that need more resources and don't want the hassle of a VPS. On most of these other host anything above their basic shared hosting plan is usually only marginally better. The trouble is I'm pretty sure they aren't going to allow that type of site on that plan and you're going to run into the same issue with a lot of hosts. If I recall correctly they do allow adult sites on their VPS and Dedicated packages but that's something completely different. Can't hurt to contact them.

http://www.jaguarpc.com/semi-dedicated/
Reply With Quote
  #6  
01-22-2014, 11:16 PM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,311
Thanked 374 Times in 341 Posts
Yes, semi-dedicated at JaguarPC (or MDDHosting, or "enterprise" hosting at Stablehost) is another option. If nothing else. semi-dedi/enterprise hosting is often more reliable, as it has a lower server density. You're basically sharing with less people; less neighbors to potentially have issues with, such as disk I/O and IP reputation.

Just note that this is still shared hosting, so if server-side caching is needed, it's not easy to avoid a VPS. Shared servers are usually running Apache or Apache-like OS. When it comes to static objects, nginx is far faster at delivering images and video, the primary use for adult sites. So that was part of my concern here. In fact, I wonder how the CMS host has solved this, or what sort of special setup they have going.

LiteSpeed = no adult site. You have to find Apache hosts. Even then, many disallow it. So VPS is usually forced.

- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Reply







 
All times are GMT -5. The time now is 11:56 AM