Skip to content

Sites-Available vs Sites-Enabled in Nginx

View on Twitter

💡 Nginx on Linux makes use of symlinks in a smart way to enable site configurations.

👉🏼 "sites-available" folder holds all your site configurations. In the "sites-enabled" folder you create symlinks to the previous folder for the sites you wish to enable.

Create a symlink with ln -s from sites-enabled to sites-available to enable a site's configuration.

Download the VPS Security Cheatsheet

Use this FREE security cheatsheet to not miss a step when securing your VPS.

A preview of the VPS Security Cheatsheet.

You'll also get tips on building scalable Node.js applications about twice a month. I respect your email privacy. Unsubscribe any time.

You might also like
Cloudflare Plugin for Certbot Read tip
Find Vulnerabilities in Your Nginx Configuration Read tip
Test Your Regex in a Playground Read tip