
You should see an error page when you access the site. Use a browser to confirm the site no longer resolves. To disable a site, remove the symbolic link from the /etc/nginx/sites-enabled directory. To find the name of the domain, list all of the sites hosted on the Linode using the following command: ls /etc/nginx/sites-available To disable and enable a website, follow these directions. Adding a symbolic link leading to a virtual host file enables the associated site while removing the symbolic link disables it. These domains are made available to potential viewers. The nf file reviews the contents of the sites-enabled directory and determines which virtual host files to include. To enable a website, you must create a symbolic link inside the /etc/nginx/sites-enabled directory pointing to the actual vhost file in /etc/nginx/sites-available. For instance, the domain for typically has a corresponding virtual host file named /etc/nginx/sites-available/The filename might not include the. Ubuntu systems have a /etc/nginx/sites-available directory, which contains virtual host (vhost) files for each domain hosted on the Linode. Use the Virtual Host File on the NGINX Web Server subsection. Use the Sites-Enabled Directory subsection. If the Linode is already using these two directories, follow the instructions in the This approach is often used even on other Linux systems. NGINX installed on Ubuntu and Debian systems use the sites-available and sites-enabled directories to control website access. Disable and Enable a Website on the NGINX Web Server

If you only want to briefly disable a site for maintenance reasons, consider using a temporary redirect instead. Taking a site offline, even temporarily, can affect its Search Engine Optimization (SEO) ratings.
