CAll Us: 1800-1210120 SIGN UP   Login/Logout

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 VersionGuide
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)