Thinhnam.net Configuration May 2026

# Root directory root /var/www/thinhnam.net/html; index index.html index.php;

sudo apt install certbot python3-certbot-nginx # for Nginx # or sudo apt install certbot python3-certbot-apache # for Apache sudo certbot --nginx -d thinhnam.net -d www.thinhnam.net Thinhnam.net Configuration

You can adapt the specific code blocks based on your hosting environment. 1. Overview Domain: thinhnam.net Purpose: This document provides standard configurations for DNS, web server (Apache/Nginx), SSL/TLS security, email, and performance tuning. 2. DNS Configuration (Essential First Step) Configure your domain’s DNS records at your registrar or DNS hosting provider. # Root directory root /var/www/thinhnam

location / try_files $uri $uri/ =404;

# PHP-FPM (if using PHP) location ~ \.php$ include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; # Root directory root /var/www/thinhnam.net/html