Thinhnam.net Configuration < Must Watch >

server listen 443 ssl http2; listen [::]:443 ssl http2; server_name thinhnam.net www.thinhnam.net;

sudo apt install postfix dovecot-core dovecot-imapd dovecot-pop3d Thinhnam.net Configuration

<Directory /var/www/thinhnam.net/html> Options -Indexes +FollowSymLinks AllowOverride All Require all granted </Directory> server listen 443 ssl http2; listen [::]:443 ssl

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. server listen 443 ssl http2

<VirtualHost *:80> ServerName thinhnam.net ServerAlias www.thinhnam.net Redirect permanent / https://thinhnam.net/ </VirtualHost> <VirtualHost *:443> ServerName thinhnam.net ServerAlias www.thinhnam.net DocumentRoot /var/www/thinhnam.net/html