# How to Install Nginx on a Arch Linux Cloud Server

> URL: https://www.atlantic.net/vps-hosting/how-to-install-nginx-arch-linux/ | Published: 2015-06-22 | Updated: 2026-01-15 | Author: Jose Velazquez

##### Verified and Tested 06/22/15

## Introduction

This tutorial shows you how to install Nginx on an Arch Linux Cloud Server. Nginx is known for its high performance and low memory usage, allowing fewer resources to be used while efficiently getting the job done.

## Prerequisites

You need an Arch Linux server configured with a static IP address. If you do not have a server already, why not consider one of our SSD [VPS Hosting](https://www.atlantic.net/vps-hosting/) solutions.

## Server Preparation

Let’s make sure that your server is fully up-to-date to get started.

```
sudo pacman -Syu
```

We can continue the process and install nginx on your server with the server up-to-date.

## Install Nginx on Arch Linux

We begin by installing nginx with the following command:

```
sudo pacman -S nginx
```

Start the nginx service with the following command:

```
sudo systemctl start nginx.service
```

To edit the main Nginx configuration file for your website(s), open the `nginx.conf` file with your preferred text editor. This file is located in the following directory:

```
sudo nano /etc/nginx/nginx.conf
```

You can now verify that nginx is installed correctly by typing http:// and your IP address in your browser.

```
http:// YOUR.IP.ADD.RESS
```

> To get your servers IP Address type the following command:
>
> ```
> curl -s icanhazip.com
> ```

![This is the default page after Nginx has been installed in an Arch Linux server](https://www.atlantic.net/wp-content/uploads/2018/01/started10.png)

This is the default page after Nginx has been installed in an Arch Linux server.

## What Next?

Congratulations! You have now installed and configured nginx. Thank you for following along, and feel free to check back with us for further updates.

Learn more about our [VPS hosting](https://www.atlantic.net/vps-hosting/) services and [VPS hosting price](https://www.atlantic.net/vps-hosting/pricing/).
