1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice
  2. The hosting section is sponsored by Hostwinds visit the BHW Partnership program for your exclusive BHW member hosting benefit today.
    MUST be signed into your BHW account.
    Dismiss Notice

Nginx or Apache for a Wordpress site ?

Discussion in 'Web Hosting' started by Max5, Jun 30, 2019.

  1. Max5

    Max5 Junior Member

    Joined:
    Jan 28, 2017
    Messages:
    155
    Likes Received:
    35
    Gender:
    Male
    Based on your experience which one should i go for to host a wordpress viral website (not viral yet :D) ?

    Does Nginx really make a major impact on your website speed ? or it's not worth the hassle
     
  2. Cleast Intwood

    Cleast Intwood Jr. VIP Jr. VIP

    Joined:
    Jul 2, 2016
    Messages:
    539
    Likes Received:
    283
    Gender:
    Male
    Occupation:
    SEO lurker
    Location:
    where hatz are black
    Nginx for sure! Similar server load when few visitors but nginx scales INSANELY much better, go for nginx.
     
    • Thanks Thanks x 2
  3. jadsn

    jadsn Senior Member

    Joined:
    Jul 29, 2008
    Messages:
    910
    Likes Received:
    395
    I haven't used Nginx, but I recently switched from Apache to Litespeed and saw a huge increase in speed instantly. I believe we went from 18 second page load time to 2 - 3 seconds.

    I'm not an expert in that field, but I'll definitely be using Litespeed on future servers moving forward.
     
    • Thanks Thanks x 1
  4. Cleast Intwood

    Cleast Intwood Jr. VIP Jr. VIP

    Joined:
    Jul 2, 2016
    Messages:
    539
    Likes Received:
    283
    Gender:
    Male
    Occupation:
    SEO lurker
    Location:
    where hatz are black
    Litespeed is not just a webserver, its caching mate. Thats why.

    Op, Go nginx.
     
  5. Max5

    Max5 Junior Member

    Joined:
    Jan 28, 2017
    Messages:
    155
    Likes Received:
    35
    Gender:
    Male
    Thanks , do you think it's a good idea to install wordpress through vestacp ? will this decrease the performance compared to a direct install ?
     
  6. Yee

    Yee Regular Member

    Joined:
    Dec 31, 2018
    Messages:
    227
    Likes Received:
    57
    Occupation:
    Software developer
    Even with default configuration, Nginx can handle more concurrent requests than Apache.
     
    • Thanks Thanks x 1
  7. Univa

    Univa Elite Member

    Joined:
    Jan 15, 2013
    Messages:
    3,369
    Likes Received:
    1,670
    Gender:
    Male
    Location:
    Basement
    Nginx, Hire a server admin if you dont have experience with that.
     
    • Thanks Thanks x 1
  8. The Gambler

    The Gambler Jr. VIP Jr. VIP

    Joined:
    Jun 28, 2019
    Messages:
    189
    Likes Received:
    85
    Gender:
    Male
    Short answer: Nginx
    Long answer: Depend on your server setup and load management,
    In a perfect setup, you can use Apache to deliver dynamic content and use Nginx to deliver static content,
    But if you're running a WP for viral content (That means visitors Peaks...), then go with Nginx
     
    • Thanks Thanks x 1
  9. Max5

    Max5 Junior Member

    Joined:
    Jan 28, 2017
    Messages:
    155
    Likes Received:
    35
    Gender:
    Male
    If only Digitalocean was offering Nginx over Apache for WordPress one-click :weep:

    Well that's the problem I don't have the technical knowledge to manage the server this way :rolleyes:
     
  10. Cleast Intwood

    Cleast Intwood Jr. VIP Jr. VIP

    Joined:
    Jul 2, 2016
    Messages:
    539
    Likes Received:
    283
    Gender:
    Male
    Occupation:
    SEO lurker
    Location:
    where hatz are black
    Do vultr and plesk free, super easy. Just follow some tutorials
     
    • Thanks Thanks x 1
  11. The Gambler

    The Gambler Jr. VIP Jr. VIP

    Joined:
    Jun 28, 2019
    Messages:
    189
    Likes Received:
    85
    Gender:
    Male
    That's why there's a job called: Server Management
    Find someone who can help you, use Hire a Freelancer section here in BHW or contact the company that hosts your server to do that for you if they provides a managed solution.
     
    • Thanks Thanks x 1
  12. nikolayev_

    nikolayev_ Newbie

    Joined:
    Mar 23, 2019
    Messages:
    16
    Likes Received:
    11
    You will want to go with Litespeed if your intention is hosting just Wordpress. It's at least 10 times faster. Check this out https://www.litespeedtech.com/images/charts/wp-performance-graph.png
     
  13. Agilex85

    Agilex85 Newbie

    Joined:
    Jun 5, 2019
    Messages:
    22
    Likes Received:
    6
    Gender:
    Male
    Nginx for sure. If you build a website with performance in mind. For WP site use LEMP stack. Digitalocean has a tutorial on how to install it: How To 'Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu 18.04'.
     
    • Thanks Thanks x 1
  14. lord1027

    lord1027 Elite Member

    Joined:
    Sep 20, 2013
    Messages:
    3,215
    Likes Received:
    2,331
    If you can deal without .htaccess, definitely Nginx.
     
    • Thanks Thanks x 1
  15. Max5

    Max5 Junior Member

    Joined:
    Jan 28, 2017
    Messages:
    155
    Likes Received:
    35
    Gender:
    Male
    I already did and the website is live, however that's not all settings to use Nginx server right ? there must be other tweaks or that's all you need?
     
  16. Agilex85

    Agilex85 Newbie

    Joined:
    Jun 5, 2019
    Messages:
    22
    Likes Received:
    6
    Gender:
    Male
    There are other tweaks that depend on your expected load. To apply them I would suggest hiring somebody who knows how to optimize WP setup for the max performance. To start with the defaults are ok and also remember to enable HTTPS.
     
  17. Agilex85

    Agilex85 Newbie

    Joined:
    Jun 5, 2019
    Messages:
    22
    Likes Received:
    6
    Gender:
    Male
    Check this for some ideas:
    https://github.com/denji/nginx-tuning
     
    • Thanks Thanks x 1
  18. rafark

    rafark Jr. VIP Jr. VIP

    Joined:
    Jan 15, 2013
    Messages:
    2,172
    Likes Received:
    1,232
    Gender:
    Male
    Occupation:
    Moderador
    Location:
    ↓↓ HIDE YOUR PBN ↓↓
    Home Page:
    You are all forgetting Apache may be slow but it is much, much easier to manage and there are lots of online docs for it. Nginx is faster, but for non system administrators, Apache is cheaper and easier for a newbie to handle.
     
    • Thanks Thanks x 1
  19. Agilex85

    Agilex85 Newbie

    Joined:
    Jun 5, 2019
    Messages:
    22
    Likes Received:
    6
    Gender:
    Male
    On the other hand, Nginx is the most popular for high-traffic sites. So it will be easier to find a solution for high traffic websites for Nginx.
     
  20. kindablack

    kindablack Jr. VIP Jr. VIP

    Joined:
    Aug 10, 2014
    Messages:
    1,225
    Likes Received:
    502
    Occupation:
    Your 'Speed' Guy
    NGINX for 10000% sure!
     
    • Thanks Thanks x 1