Cloud Servers Help

Configure NGINX Server Blocks

If you want to host websites on your server running NGINX, you can use NGINX server blocks. Server blocks are the NGINX equivalent of Apache's virtual hosts - they let you direct incoming HTTP traffic for a domain name to a particular directory on your server.

There are several ways to set up NGINX Server Blocks on your Cloud Server, depending on which version of Linux you are using.

Linux Version Guide
Ubuntu or Debian 7 Configure NGINX Server Blocks - Ubuntu or Debian 7
CentOS Configure NGINX Server Blocks - CentOS
Arch Linux Configure NGINX Server Blocks - Arch Linux

Was This Article Helpful?
Thank You For Your Feedback
Glad we helped! Anything more we can do for you?
Sorry about that. How can we be more helpful?