Nginx Web Server: We Ranked the Best Hosting Options for You in 2018

NGINX Hosting

compare nginx hosting

What You’ll Learn

It’s used in some 140 million websites. Companies like Groupon, Visa, and Zendesk swear by it.

Some further points we’ll cover are:

  • What is Nginx and what is it used for?
  • How does it compare to Apache?
  • How does Nginx accelerate the speed of loading for applications and websites?

You’ll get an overview of Nginx and learn how it compares to Apache. You’ll learn what to look for in a host. Plus I’ll share my personal recommendations for Nginx hosts.

what is nginx

What Is Nginx?

Nginx is a reverse proxy web server that is used to serve dynamic website content and control server load.

It is open source and currently holds the title of the second most used web server, mainly due to the fact that it can handle extremely high amounts of traffic.

Nginx is pronounced ‘engine X’.

Table of Contents

Who's Best for Nginx Hosting?

We think SiteGround is the best choice for Nginx.

    2,020 Reviews Visit SiteGround or read our in depth review

    Compare Nginx Hosting Plans

    Customer Rating Starting Price
    SiteGround screenshot

    SiteGround

    2,020 Reviews

    $3.95 / mo

    Entry Server Dedicated Hosting plan

    Visit Host www.siteground.com
    BlueHost screenshot

    BlueHost

    480 Reviews

    $2.75 / mo

    VPS Standard plan

    Visit Host www.bluehost.com
    InMotion Hosting screenshot

    InMotion Hosting

    554 Reviews

    $3.99 / mo

    WP-1000S plan

    Visit Host www.inmotionhosting.com
    A2 Hosting screenshot

    A2 Hosting

    229 Reviews

    $3.92 / mo

    Entry VPS plan

    Visit Host a2hosting.com
    Interserver screenshot

    Interserver

    208 Reviews

    $4.50 / mo

    Linux Cloud VPS plan

    Visit Host www.interserver.net
    LiquidWeb screenshot

    LiquidWeb

    62 Reviews

    $59 / mo

    2 GB VPS plan

    Visit Host www.liquidweb.com
    WebHostFace screenshot

    WebHostFace

    18 Reviews

    $3.45 / mo

    Managed WordPress plan

    Visit Host webhostface.com
    WebFaction screenshot

    WebFaction

    9 Reviews

    $8.50 / mo

    Webfaction Plan plan

    Visit Host webfaction.com
    TMDHosting screenshot

    TMDHosting

    45 Reviews

    $2.85 / mo

    VPS 1 plan

    Visit Host tmdhosting.com
    PacificHost screenshot

    PacificHost

    10 Reviews

    $4.99 / mo

    Premium Business Web Hosting plan

    Visit Host pacifichost.com

    History of Nginx

    Development of Nginx commenced in 2002, and the founder was Igor Sysoev, a Russian developer who later took on the title of Chief Architect.

    Sysoev was born in 1970 and studied at Bauman Moscow State Technical University, and still works on the project today.

    Nginx, Inc.

    The company behind Nginx, Nginx Inc, was not founded until nine years after development began.

    It has offices in Moscow, Russia (where Sysoev still resides) and San Francisco, USA and offers paid technical support and consultancy.

    According to Nginx Inc, the technology is responsible for serving up 40 percent of the top 10,000 sites in the world, measured in terms of traffic.

    why use nginx

    High-Profile Nginx Users

    Many high-profile companies have invested in the Nginx project, from Automattic (the company behind WordPress) to MaxCDN.

    It has been used in Russia for many years to facilitate speedy service on some of the country’s biggest websites.

    What Nginx Does Best

    “I evaluated NGINX Plus and was amazed at its power. The benchmarks just blew me away. The amount of traffic that NGINX Plus can handle is unreal – even beyond our needs.” – James Ridle, IT Operations Manager at Montana Interactive

    NGINX as a Reverse Proxy

    Nginx is a reverse proxy server. It supports the following protocols:

    The reverse proxy helps to balance the load by distributing requests and caching certain types of content.

    Like Apache, Nginx has a modular architecture.


    Acceleration of your sites and applications is easy to achieve with Nginx. Nginx can also significantly improve your app’s architecture.

    Nginx Features and Functionality

    That isn’t it. There is more!

    The tool also:

    • Caches HTTP requests
    • Rewrites URIs using regex
    • Tracks and geolocates users
    • Acts as a web server
    • Provides fault tolerance
    • Supports TLS/SSL, FastCGI and similar
    • Lets users stream FLV and MP4
    • Offers gzip compression
    • Supports the incoming IPv6 system
    • Provides a mail proxy with SMTP, POP3, and IMAP
    • Supports virtual servers

    why use nginx

    Why Use Nginx?

    While Apache uses a process-oriented approach for handling requests, Nginx uses an event-driven approach.

    This makes it more scalable, and more able to handle high loads or spikes.


    Using Nginx, the University of Texas at Austin is able to deliver an average response time of 200ms per application. They are currently using Nginx for load balancing, caching, and application delivery.

    Developers use Nginx because it’s easy on resources, making it less volatile in a web hosting environment. There are working examples of Nginx successfully handling tens of millions of requests every day.

    It can handle more than 10,000 simultaneous requests without consuming large amounts of server RAM. A trade-off is a reduced number of features.

    Users of NGINX

    The majority of Nginx users are working on the world’s top websites, including Wikipedia, Netflix, Dropbox, Groupon, and WordPress.com.

    Nginx vs Apache

      Apache Nginx
    Created in 1995 2002
    Created by Robert McCool Igor Sysoev
    Owned by Apache Software Foundation Nginx
    Licensing Open Source Open Source

    Why Choose Nginx?

    Virtually every web host in the world offers the Apache web server, so Nginx may seem like an exotic choice for a website owner.

    However, there are a number of reasons to choose Nginx over Apache when selecting your new web host:

    1. Nginx will probably scale up more efficiently than Apache
    2. When Apache gets overloaded, it runs out of RAM and starts using swapfiles, slowing everything down. You won’t get that slowdown with Nginx
    3. Apache refuses requests when it starts to struggle
    4. Nginx is tailor-made for making virtual private servers (VPS) run faster


    Developers from Groupon, Zendesk, Distil Networks, and other companies share why they chose Nginx. Factors cited include extensibility, speed, ability to scale, and versatility.

    Why Choose Apache?

    There are also some valid reasons to stick with Apache:

    1. The LAMP stack is almost industry standard among low-cost web hosts
    2. There’s lots of support and help available
    3. PHP, Python and Perl support is built into Apache, so it’s much easier to get started with coding
    4. Ruby runs faster in Apache
    5. Apache has a vast number of modules available to extend it, so it’s compatible with far more third-party technologies
    6. Nginx does not support .htaccess

    Using Both NGINX and Apache

    Many customers choose to get the best of both worlds. They use Apache to serve up web pages while placing Nginx in front of it as a proxy server.

    This gets around many of the problems with Apache while benefiting from the best of Nginx.

    Nginx Server Requirements

    Nginx runs on Linux, BSD, OS X and a variety of other operating systems.

    However, you’ll rarely see it offered on a shared hosting plan because users need to interact with Nginx directly for it to work.

    On a shared server, this would mean granting access to everyone, which would clearly be a security risk.

    Support for NGINX

    Assuming you find a host that offers Nginx, your next step is to find out if it’s offered from day one.

    The majority of hosts will leave you to install it on your VPS or dedicated server by yourself.

    While you can run applications like WordPress on Nginx, this kind of thing is not well supported, and you might be giving yourself more hard work than you need.

    nginx support

    The 2 Types of Nginx Hosts You’ll Find: Which One is Right for You?

    Nginx is pretty popular, but Apache is still the dominant technology used on web servers.

    Nginx and cPanel

    A big reason for that is cPanel, the most popular control panel that web hosts offer.

    Unfortunately, cPanel does not offer native Nginx support.

    There are some plugins like Engintron that can be used to integrate Nginx with cPanel, but there’s none that are overwhelmingly popular. Most hosts simply don’t offer Nginx support of any kind.

    What do I Need to Know About Nginx Hosting Support?

    Of the hosts that do support Nginx, it’s usually clearly stated on their “plan” pages. When you purchase these plans, they work just like any other hosting plan you’ve ever used.

    Most web hosts will take care of Nginx configuration and setup for you without you having to do anything.

    What is the Ideal Nginx Setup?

    Some of the best hosts use Apache as a web server, and then Nginx as a proxy server, in order to maximize overall server performance.

    That’s the ideal type of Nginx hosting to look for.

    This will save you from spending too much time on your hosting, and benefit if you don’t have the relevant technical knowledge.

    Nginx and Unmanaged Hosting

    The second type of Nginx hosting is “unmanaged” hosting.

    Many hosts let you purchase a virtual private server (VPS), or dedicated server, and give you root access to it. Typically, your server will come with Apache installed, but since you have root server access, you can install whatever you’d like, including Nginx.

    This gives you a lot of freedom; you can even partition your Nginx service into a Nginx virtual host in order to host multiple domains on your server.

    Having complete server control makes this a good option when you’re trying to host a complex site with unique requirements.

    Downsides

    The big downside is that you are usually responsible for getting everything to work, and to keep it protected from security threats.

    Even if you’re a seasoned developer, this can be a pain and a lot of extra work. You save a bit of money from the plan cost, but after accounting for your time, it’ll usually work out to a similar overall cost.

    Clear Support or Indirect Support?

    For the sake of convenience, I recommend trying to find a web host that already supports and offers Nginx.

    But if you can’t find one that meets all your site requirements, find a web host that will give you root server access on a VPS or dedicated server plan.

    Nginx Use: Shared Hosting, VPS, or Dedicated?

    I’ll make this comparison as simple as possible.

    Shared Hosting and Nginx

    The reason I didn’t mention shared hosting in the section above is that Nginx likely won’t make a significant difference at that level.

    Shared hosting plans are meant for sites with low traffic, which is not ideal for seeing maximum benefit from Nginx. Additionally, server type isn’t usually the limiting factor in speed on shared plans.

    VPS/Dedicated Hosting and Nginx

    You can see significant performance improvements on either VPS or dedicated plans.

    Most hosts don’t directly support Nginx on dedicated servers; they typically leave you to handle all that by yourself. Most of the hosting plans that support Nginx directly will be VPS hosting.

    By the time you actually need Nginx, you should have a good idea of the server resources your site(s) need, which should help you decide if a VPS is sufficient (cheaper), or if you’ll need to get a dedicated server.

    nginx pros cons

    What are the Pros and Cons of Nginx?

    So what are the downsides of Nginx alongside it’s fruity features? Dig in and find out.

    Nginx Pros

    • Speed – Nginx serves static content about 2.5 times faster than Apache. That’s a big speed difference.
    • Scales better than Apache – Nginx handles high traffic better than Apache, another reason that it’s faster.
    • Requires fewer resources – Because of the way Nginx works, it requires less memory, which can help you save on hosting costs.

    Cons of Nginx

    • Limited options – Not many hosts offer Nginx support, so you have fewer plans to choose from.
    • Weaker community – Apache has a huge community and tons of modules that make it easy to get support to do just about anything.
    • Can be worse at serving dynamic content – Nginx uses third-party software to handle dynamic content requests. In some cases, it can perform worse than Apache.

    Other features in Overview of Web Servers Used in Web Hosting [Updated: 2019]

    Nginx Frequently Asked Questions

    • What is Nginx?

      Nginx is a reverse proxy web server that is used to serve dynamic website content and control server load. It can handle extremely high amounts of traffic. Nginx is bundled with OpenBSD and distributed under a simple 2-clause licence.

    • How is Nginx pronounced?

      Nginx is pronounced ‘engine X’.

    • Is Nginx open source?

      Yes.

    • Who makes Nginx?

      The founder was Igor Sysoev, a Russian developer who later took on the title of Chief Architect. The company behind Nginx, Nginx Inc, was not founded until nine years after development began in 2002. It now has offices in Moscow, Russia and San Francisco, USA. Many high-profile companies have invested in the Nginx project, from Automattic (the company behind WordPress) to MaxCDN.

    • What does Nginx do?

      Nginx is a reverse proxy server. It balances load on the server by distributing requests and caching certain types of content.

      Features include the caching of HTTP requests, rewriting URIs using regex, geolocating users, providing fault tolerance, supporting TLS/SSL, FastCGI and similar.

      Nginx lets users stream FLV and MP4, offers gzip compression, provides a mail proxy, supports IPv6, and supports virtual servers.

    • Can I use Nginx on a shared hosting account?

      It’s not normally offered with shared hosting, because users need to interact with Nginx directly for it to work. On a shared server, this would be a serious security risk.

    • Which protocols does Nginx support?

      It supports HTTP, HTTPS, SMTP, POP3, and IMAP.

    • Who uses Nginx?

      According to W3Techs, Nginx is used by over 41 percent of the top 1,000 websites, including Wikipedia. It has been used in Russia for many years to facilitate speedy service on some of the country’s biggest sites.

    • Why should I use Nginx?

      Nginx handles very high server load and traffic spikes. It uses little resource, so it’s stable. There are working examples of Nginx successfully handling tens of millions of requests every day, and it can handle more than 10,000 simultaneous requests without consuming large amounts of server RAM.

    • Can I create .htaccess files?

      No. Nginx does not support .htaccess.

    • Why do people still use Apache?

      Apache has a number of benefits compared to Nginx. It’s installed on practically every web hosting account you’ll see advertised, and the LAMP (Linux, Apache, MySQL, PHP) stack is almost industry standard. PHP, Python and Perl support is built in to Apache, and it runs Ruby runs faster than Nginx. Apache has a vast number of modules available to extend it, making it compatible with far more third party technologies.

      But Apache refuses requests when it starts to run out of resources. In contrast, Nginx scales more efficiently. It’s perfect for speeding up a VPS, for example.

      Many customers choose the best of both worlds. They use Apache to serve up web pages, while placing Nginx in front of it as a proxy server. This gets around many of the problems with Apache, while benefiting from the advantages Nginx offers.

    • What are the server requirements for Nginx?

      Nginx runs on Linux, BSD, Mac OS X and a variety of other operating systems.

    • What should I expect from a Nginx host?

      The majority of hosts will let you install Nginx yourselv on a VPS or dedicated server. If you would rather they handled this for you, buy a managed hosting package.

    • Can I run WordPress on Nginx?

      Yes, in theory, but it isn’t properly supported. You might run into significant issues getting everything working as it should.

    • Should I install Nginx if I’m currently using Apache?

      If speed and load balancing is your primary concern, it may be worth switching to Nginx. But it’s not for everybody. Low-traffic websites probably won’t gain much from it.

    Dale Cudmore

    About Dale Cudmore

    Freelance blogger by day, developer by night, Dale is a freelance writer who specializes in technology and digital marketing. He studied Chemical Engineering at the University of Waterloo. After finding that unfulfilling, he moved onto a career in freelance writing, while self-teaching himself web development on the side.

    Connect with Dale

    Who's Best for Nginx Hosting?

    We think SiteGround is the best choice for Nginx.

      2,020 Reviews Visit SiteGround or read our in depth review