System Status
Buy Now
  • Email & Apps
  • Office 365
Login
  • MyRackspace Portal
  • Cloud Control Panel
  • Rackspace Webmail Login
  • Cloud Office Control Panel
  • Support Home
  • How-To
  • Developer Documentation
  •  Blogs 
    • Expert Insights Tech Blog
    • Rackspace Blog
    • Solve: Thought Leadership

Support Network

End-to-End Multicloud Solutions.   Solving Together.™   Learn more at Rackspace.com

How–To Home

Cloud Servers

  • Introduction
  • FAQ
  • All Articles

Install Nginx on Windows

Last updated on:  2020-07-27

Authored by:  John Garcia


Nginx® is a web-server service, which has gained almost as much market share as Apache® in recent years due to its excellent performance and flexible feature set. This guide describes how to install Nginx and discusses the next steps to set up Nginx to serve your site or application.

Prerequisites:

You need a server running a version of the Windows® Server® operating system.

Nginx installation on Windows Server

Nginx comes pre-compiled direct from their website, which makes installation as simple as downloading and extracting a file.

  1. Download the latest mainline release from https://nginx.org/en/download.html.

  2. Extract the file to the location where you want to install Nginx, such as C:\nginx.

    Note: We recommend creating a new directory for Nginx.

Test the installation

Open a CMD prompt and start Nginx with the following command:

  C:\nginx\nginx.exe

Note: Replace *C:\nginx* with the directory location where you installed Nginix.

You should be able to navigate to https://localhost/ in the server’s web browser and see the Nginx default web page. If you see “Welcome to Nginx,” everything is working as intended.

Useful information

The Nginx project considers the Windows release to be in beta. Functionally, this release is similar to Unix releases, but some features are missing. For further information, see nginx for Windows.

Next steps

If you want to serve more than one site, we recommend that you set up Nginx server blocks to accommodate this need.

Share this information:

©2020 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER

About Rackspace
  • About
  • Customer Stories
  • Events
  • Programs
Blogs
  • The Rackspace Blog
  • Expert Insights Tech Blog
  • Solve: Thought Leadership
  • News
  • Contact Information
  • Legal
  • Careers
Site Information
  • Style Guide for Technical Content
  • Trademarks
  • Privacy Statement
  • Website Terms
Support Network
  • Support Network Home
  • Rackspace How-To
  • API Documentation
  • Developer Center
  • ©2020 Rackspace US, Inc.