{"id":29142,"date":"2023-07-31T16:30:00","date_gmt":"2023-07-31T09:30:00","guid":{"rendered":"https:\/\/wiki.tino.org\/staging\/?p=29142"},"modified":"2026-10-23T10:48:20","modified_gmt":"2026-10-23T03:48:20","slug":"web-server-la-gi","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/web-server-la-gi\/","title":{"rendered":"Web Server l\u00e0 g\u00ec? C\u00e1ch ho\u1ea1t \u0111\u1ed9ng v\u00e0 c\u00e1c web server ph\u1ed5 bi\u1ebfn"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Web server (m\u00e1y ch\u1ee7 web) l\u00e0 m\u00e1y t\u00ednh v\u00e0 ph\u1ea7n m\u1ec1m nh\u1eadn y\u00eau c\u1ea7u t\u1eeb tr\u00ecnh duy\u1ec7t qua giao th\u1ee9c HTTP ho\u1eb7c HTTPS, r\u1ed3i tr\u1ea3 v\u1ec1 n\u1ed9i dung website.<\/strong> V\u1ec1 ph\u1ea7n c\u1ee9ng, web server l\u00e0 m\u00e1y ch\u1ee7 l\u01b0u file website (HTML, CSS, JavaScript, \u1ea3nh) v\u00e0 lu\u00f4n k\u1ebft n\u1ed1i Internet. V\u1ec1 ph\u1ea7n m\u1ec1m, web server l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh nh\u01b0 Nginx, Apache hay LiteSpeed, hi\u1ec3u URL v\u00e0 HTTP \u0111\u1ec3 ph\u1ee5c v\u1ee5 c\u00e1c file \u0111\u00f3.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ecbnh ngh\u0129a hai m\u1eb7t n\u00e0y theo <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn_web_development\/Howto\/Web_mechanics\/What_is_a_web_server\" rel=\"nofollow noopener\" target=\"_blank\">MDN Web Docs<\/a>. Khi n\u00f3i &#8220;c\u00e0i web server&#8221;, ng\u01b0\u1eddi ta th\u01b0\u1eddng n\u00f3i v\u1ec1 ph\u1ea7n m\u1ec1m; khi n\u00f3i &#8220;thu\u00ea web server&#8221;, th\u01b0\u1eddng l\u00e0 n\u00f3i v\u1ec1 m\u00e1y ch\u1ee7 ch\u1ea1y website. B\u00e0i n\u00e0y gi\u1ea3i th\u00edch web server ho\u1ea1t \u0111\u1ed9ng th\u1ebf n\u00e0o, c\u00e1c web server ph\u1ed5 bi\u1ebfn, web server kh\u00e1c application server ra sao, v\u00e0 c\u00e1ch t\u1ef1 c\u00e0i web server tr\u00ean VPS.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Ph\u1ea7n c\u1ee9ng:<\/strong> m\u1ed9t <a href=\"https:\/\/tino.vn\/blog\/may-chu-la-gi\/\">m\u00e1y ch\u1ee7<\/a> v\u1eadt l\u00fd ho\u1eb7c m\u00e1y ch\u1ee7 \u1ea3o (VPS, cloud server) ch\u1ea1y 24\/7, c\u00f3 IP c\u00f4ng khai.<\/li>\n\n\n<li><strong>Ph\u1ea7n m\u1ec1m:<\/strong> t\u1ed1i thi\u1ec3u l\u00e0 m\u1ed9t HTTP server; website \u0111\u1ed9ng c\u1ea7n th\u00eam tr\u00ecnh ch\u1ea1y m\u00e3 (PHP, Node.js, Python) v\u00e0 database.<\/li>\n\n\n<li><strong>Kh\u00f4ng c\u1ea7n t\u1ef1 qu\u1ea3n l\u00fd:<\/strong> n\u1ebfu ch\u1ec9 ch\u1ea1y website WordPress ho\u1eb7c website gi\u1edbi thi\u1ec7u, <a href=\"https:\/\/tino.vn\/blog\/hosting-la-gi\/\">web hosting<\/a> \u0111\u00e3 c\u00f3 s\u1eb5n web server \u0111\u01b0\u1ee3c nh\u00e0 cung c\u1ea5p qu\u1ea3n tr\u1ecb.<\/li>\n<\/ul>\n\n\n\n<h2 id=\"Web_server_ho\u1ea1t_\u0111\u1ed9ng_nh\u01b0_th\u1ebf_n\u00e0o?\">Web server ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Web server ho\u1ea1t \u0111\u1ed9ng theo m\u00f4 h\u00ecnh client \u2013 server: tr\u00ecnh duy\u1ec7t (client) lu\u00f4n l\u00e0 b\u00ean g\u1eedi y\u00eau c\u1ea7u HTTP, web server ch\u1ec9 tr\u1ea3 l\u1eddi. Khi nh\u1eadn y\u00eau c\u1ea7u, web server t\u00ecm file kh\u1edbp v\u1edbi URL v\u00e0 g\u1eedi v\u1ec1; v\u1edbi trang \u0111\u1ed9ng, web server nh\u1edd \u1ee9ng d\u1ee5ng ph\u00eda sau d\u1ef1ng n\u1ed9i dung; kh\u00f4ng c\u00f3 g\u00ec kh\u1edbp th\u00ec tr\u1ea3 m\u00e3 l\u1ed7i, hay g\u1eb7p l\u00e0 404.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/web-server-la-gi-cach-hoat-dong.webp\" alt=\"S\u01a1 \u0111\u1ed3 web server ho\u1ea1t \u0111\u1ed9ng: tr\u00ecnh duy\u1ec7t ph\u00e2n gi\u1ea3i t\u00ean mi\u1ec1n, g\u1eedi y\u00eau c\u1ea7u HTTP GET, web server t\u00ecm file t\u0129nh ho\u1eb7c chuy\u1ec3n cho PHP v\u00e0 database, r\u1ed3i tr\u1ea3 ph\u1ea3n h\u1ed3i 200 OK ho\u1eb7c 404 Not Found\" class=\"wp-image-131186\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/web-server-la-gi-cach-hoat-dong.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/web-server-la-gi-cach-hoat-dong-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/web-server-la-gi-cach-hoat-dong-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/web-server-la-gi-cach-hoat-dong-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u00f3 th\u1ec3 t\u1ef1 xem m\u1ed9t l\u01b0\u1ee3t truy c\u1eadp b\u1eb1ng hai l\u1ec7nh c\u00f3 s\u1eb5n tr\u00ean Linux, macOS v\u00e0 Windows 10\/11: <code>nslookup<\/code> h\u1ecfi <a href=\"https:\/\/tino.vn\/blog\/dns-la-gi\/\">DNS<\/a>, <code>curl -I<\/code> ch\u1ec9 l\u1ea5y ph\u1ea7n \u0111\u1ea7u ph\u1ea3n h\u1ed3i c\u1ee7a web server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nslookup example.com\ncurl -I https:\/\/example.com\/<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>D\u00f2ng \u0111\u1ea7u c\u1ee7a <code>curl -I<\/code><\/strong> l\u00e0 m\u00e3 tr\u1ea1ng th\u00e1i, v\u00ed d\u1ee5 <code>HTTP\/2 200<\/code>. G\u1eb7p <code>301<\/code> ho\u1eb7c <code>302<\/code> th\u00ec xem header <code>location<\/code> \u0111\u1ec3 bi\u1ebft trang \u0111\u01b0\u1ee3c chuy\u1ec3n \u0111i \u0111\u00e2u.<\/li>\n\n\n<li><strong>Header <code>server<\/code><\/strong>, n\u1ebfu m\u00e1y ch\u1ee7 kh\u00f4ng \u1ea9n, cho bi\u1ebft ph\u1ea7n m\u1ec1m \u0111ang tr\u1ea3 l\u1eddi, v\u00ed d\u1ee5 nginx ho\u1eb7c LiteSpeed.<\/li>\n\n\n<li><strong>M\u1ed9t IP ph\u1ee5c v\u1ee5 \u0111\u01b0\u1ee3c nhi\u1ec1u website<\/strong> v\u00ec web server ph\u00e2n bi\u1ec7t theo header <code>Host<\/code>. V\u00ec v\u1eady tr\u1ecf t\u00ean mi\u1ec1n \u0111\u00fang IP v\u1eabn ch\u01b0a \u0111\u1ee7 n\u1ebfu t\u00ean mi\u1ec1n ch\u01b0a \u0111\u01b0\u1ee3c khai b\u00e1o trong c\u1ea5u h\u00ecnh web server.<\/li>\n\n\n<li><strong>Nh\u00f3m m\u00e3 l\u1ed7i ch\u1ec9 ra n\u01a1i c\u1ea7n t\u00ecm:<\/strong> 4xx (403, 404) th\u01b0\u1eddng do URL ho\u1eb7c quy\u1ec1n \u0111\u1ecdc file; 5xx (500, 502, 504) \u0111\u1ebfn t\u1eeb m\u00e1y ch\u1ee7 ho\u1eb7c \u1ee9ng d\u1ee5ng ph\u00eda sau.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00e1c bi\u1ec7t gi\u1eefa HTTP v\u00e0 HTTPS c\u00f3 t\u1ea1i b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/so-sanh-http-va-https\/\">so s\u00e1nh HTTP v\u00e0 HTTPS<\/a>.<\/p>\n\n\n\n<h3 id=\"Web_server_t\u0129nh_v\u00e0_web_server_\u0111\u1ed9ng\">Web server t\u0129nh v\u00e0 web server \u0111\u1ed9ng<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Web t\u0129nh tr\u1ea3 v\u1ec1 \u0111\u00fang file \u0111\u00e3 n\u1eb1m tr\u00ean \u1ed5 \u0111\u0129a, n\u00ean m\u1ecdi ng\u01b0\u1eddi nh\u1eadn c\u00f9ng m\u1ed9t n\u1ed9i dung. Web \u0111\u1ed9ng d\u1ef1ng trang ri\u00eang cho t\u1eebng l\u01b0\u1ee3t truy c\u1eadp, v\u00ed d\u1ee5 gi\u1ecf h\u00e0ng c\u1ee7a m\u1ed7i kh\u00e1ch m\u1ed9t kh\u00e1c, n\u00ean c\u1ea7n th\u00eam tr\u00ecnh ch\u1ea1y m\u00e3 nh\u01b0 PHP-FPM v\u00e0 c\u01a1 s\u1edf d\u1eef li\u1ec7u. Website WordPress, c\u1eeda h\u00e0ng online l\u00e0 web \u0111\u1ed9ng; landing page ch\u1ec9 g\u1ed3m HTML, CSS l\u00e0 web t\u0129nh.<\/p>\n\n\n\n<h2 id=\"C\u00e1c_web_server_ph\u1ed5_bi\u1ebfn_hi\u1ec7n_nay\">C\u00e1c web server ph\u1ed5 bi\u1ebfn hi\u1ec7n nay<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1c ph\u1ea7n m\u1ec1m web server ph\u1ed5 bi\u1ebfn hi\u1ec7n nay g\u1ed3m Nginx, Apache HTTP Server, LiteSpeed, Microsoft IIS v\u00e0 Caddy. Kh\u00f4ng c\u00f3 ph\u1ea7n m\u1ec1m n\u00e0o t\u1ed1t cho m\u1ecdi tr\u01b0\u1eddng h\u1ee3p: Nginx m\u1ea1nh \u1edf reverse proxy v\u00e0 file t\u0129nh, Apache linh ho\u1ea1t v\u1edbi .htaccess, LiteSpeed thay th\u1ebf Apache tr\u00ean hosting, IIS d\u00e0nh cho Windows, Caddy t\u1ef1 \u0111\u1ed9ng c\u1ea5p HTTPS.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Web server<\/th><th>Gi\u1ea5y ph\u00e9p<\/th><th>Th\u1ebf m\u1ea1nh (theo t\u00e0i li\u1ec7u ch\u00ednh th\u1ee9c)<\/th><th>Ph\u00f9 h\u1ee3p<\/th><\/tr><\/thead><tbody><tr><td><a href=\"https:\/\/nginx.org\/en\/\" rel=\"nofollow noopener\" target=\"_blank\">Nginx<\/a><\/td><td>M\u00e3 ngu\u1ed3n m\u1edf, BSD 2 \u0111i\u1ec1u kho\u1ea3n<\/td><td>HTTP web server, reverse proxy, content cache, c\u00e2n b\u1eb1ng t\u1ea3i, proxy TCP\/UDP v\u00e0 mail<\/td><td>VPS, l\u00e0m proxy tr\u01b0\u1edbc \u1ee9ng d\u1ee5ng Node.js, Python, container Docker<\/td><\/tr><tr><td><a href=\"https:\/\/httpd.apache.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Apache HTTP Server<\/a><\/td><td>M\u00e3 ngu\u1ed3n m\u1edf, Apache License 2.0<\/td><td>M\u1edf r\u1ed9ng b\u1eb1ng module n\u1ea1p \u0111\u1ed9ng, c\u1ea5u h\u00ecnh theo th\u01b0 m\u1ee5c b\u1eb1ng .htaccess, virtual host<\/td><td>Hosting nhi\u1ec1u website, \u1ee9ng d\u1ee5ng PHP c\u1ea7n .htaccess<\/td><\/tr><tr><td><a href=\"https:\/\/www.litespeedtech.com\/products\/litespeed-web-server\" rel=\"nofollow noopener\" target=\"_blank\">LiteSpeed Web Server<\/a><\/td><td>Th\u01b0\u01a1ng m\u1ea1i (c\u00f3 b\u1ea3n mi\u1ec5n ph\u00ed gi\u1edbi h\u1ea1n); OpenLiteSpeed l\u00e0 d\u1ef1 \u00e1n m\u00e3 ngu\u1ed3n m\u1edf<\/td><td>Thay th\u1ebf tr\u1ef1c ti\u1ebfp Apache: \u0111\u1ecdc c\u1ea5u h\u00ecnh Apache v\u00e0 .htaccess; c\u00f3 LSCache, HTTP\/3<\/td><td>Shared hosting, WordPress d\u00f9ng plugin LiteSpeed Cache<\/td><\/tr><tr><td><a href=\"https:\/\/learn.microsoft.com\/en-us\/iis\/get-started\/introduction-to-iis\/introduction-to-iis-architecture\" rel=\"nofollow noopener\" target=\"_blank\">Microsoft IIS<\/a><\/td><td>\u0110i k\u00e8m Windows Server<\/td><td>Ki\u1ebfn tr\u00fac module, t\u00edch h\u1ee3p pipeline ASP.NET, HTTP.sys nh\u1eadn y\u00eau c\u1ea7u \u1edf kernel<\/td><td>\u1ee8ng d\u1ee5ng ASP.NET, h\u1ea1 t\u1ea7ng Windows<\/td><\/tr><tr><td><a href=\"https:\/\/caddyserver.com\/docs\/automatic-https\" rel=\"nofollow noopener\" target=\"_blank\">Caddy<\/a><\/td><td>M\u00e3 ngu\u1ed3n m\u1edf, Apache License 2.0<\/td><td>Web server \u0111\u1ea7u ti\u00ean b\u1eadt HTTPS t\u1ef1 \u0111\u1ed9ng theo m\u1eb7c \u0111\u1ecbnh: t\u1ef1 xin, gia h\u1ea1n ch\u1ee9ng ch\u1ec9 v\u00e0 chuy\u1ec3n HTTP sang HTTPS<\/td><td>D\u1ef1 \u00e1n nh\u1ecf, reverse proxy c\u1ea7n HTTPS nhanh<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">Ngu\u1ed3n: nginx.org, httpd.apache.org, litespeedtech.com, learn.microsoft.com, caddyserver.com; truy c\u1eadp 20\/10\/2026. B\u1ea3ng kh\u00f4ng x\u1ebfp h\u1ea1ng.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e0i chuy\u00ean s\u00e2u: <a href=\"https:\/\/tino.vn\/blog\/nginx-la-gi\/\">Nginx l\u00e0 g\u00ec<\/a>, <a href=\"https:\/\/tino.vn\/blog\/apache-la-gi\/\">Apache l\u00e0 g\u00ec<\/a>, v\u00e0 <a href=\"https:\/\/tino.vn\/blog\/litespeed-la-gi\/\">LiteSpeed l\u00e0 g\u00ec<\/a>. Lighttpd, c\u00f3 trong b\u00e0i c\u0169, v\u1eabn l\u00e0 web server m\u00e3 ngu\u1ed3n m\u1edf nh\u1eb9 nh\u01b0ng \u00edt g\u1eb7p tr\u00ean hosting ph\u1ed5 th\u00f4ng.<\/p>\n\n\n\n<h2 id=\"Web_server_kh\u00e1c_application_server_nh\u01b0_th\u1ebf_n\u00e0o?\">Web server kh\u00e1c application server nh\u01b0 th\u1ebf n\u00e0o?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Web server nh\u1eadn k\u1ebft n\u1ed1i HTTP v\u00e0 ph\u1ee5c v\u1ee5 n\u1ed9i dung t\u0129nh, c\u00f2n application server ch\u1ea1y m\u00e3 ngu\u1ed3n c\u1ee7a \u1ee9ng d\u1ee5ng \u0111\u1ec3 t\u1ea1o n\u1ed9i dung \u0111\u1ed9ng. Trong th\u1ef1c t\u1ebf, hai ph\u1ea7n th\u01b0\u1eddng \u0111i c\u00f9ng nhau: Nginx \u0111\u1ee9ng tr\u01b0\u1edbc nh\u1eadn y\u00eau c\u1ea7u v\u00e0 c\u1ea5p HTTPS, r\u1ed3i chuy\u1ec3n ph\u1ea7n \u0111\u1ed9ng cho PHP-FPM, Node.js, Gunicorn hay Tomcat x\u1eed l\u00fd.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><\/th><th>Web server<\/th><th>Application server<\/th><\/tr><\/thead><tbody><tr><td>Vi\u1ec7c ch\u00ednh<\/td><td>Nh\u1eadn y\u00eau c\u1ea7u HTTP\/HTTPS, tr\u1ea3 file t\u0129nh, chuy\u1ec3n ti\u1ebfp y\u00eau c\u1ea7u<\/td><td>Ch\u1ea1y logic \u1ee9ng d\u1ee5ng, truy v\u1ea5n database, t\u1ea1o trang \u0111\u1ed9ng ho\u1eb7c API<\/td><\/tr><tr><td>V\u00ed d\u1ee5<\/td><td>Nginx, Apache, LiteSpeed, Caddy, IIS<\/td><td>PHP-FPM, Node.js, Gunicorn (Python), Tomcat (Java)<\/td><\/tr><tr><td>N\u01a1i c\u1ea5p HTTPS<\/td><td>Th\u01b0\u1eddng \u1edf \u0111\u00e2y (TLS termination)<\/td><td>Th\u01b0\u1eddng nh\u1eadn HTTP n\u1ed9i b\u1ed9 t\u1eeb web server<\/td><\/tr><tr><td>L\u1ed7i th\u01b0\u1eddng g\u1eb7p<\/td><td>404 (kh\u00f4ng th\u1ea5y file), 403 (kh\u00f4ng c\u00f3 quy\u1ec1n)<\/td><td>500 (l\u1ed7i m\u00e3), 502\/504 khi web server kh\u00f4ng nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Khi web server kh\u00f4ng nh\u1eadn \u0111\u01b0\u1ee3c ph\u1ea3n h\u1ed3i h\u1ee3p l\u1ec7 t\u1eeb application server, tr\u00ecnh duy\u1ec7t th\u01b0\u1eddng th\u1ea5y l\u1ed7i 502; xem <a href=\"https:\/\/tino.vn\/blog\/502-bad-gateway-nginx\/\">c\u00e1ch x\u1eed l\u00fd l\u1ed7i 502 Bad Gateway tr\u00ean Nginx<\/a>. Chi ti\u1ebft v\u1ec1 ph\u1ea7n \u1ee9ng d\u1ee5ng c\u00f3 t\u1ea1i <a href=\"https:\/\/tino.vn\/blog\/application-server-la-gi\/\">Application Server l\u00e0 g\u00ec<\/a>. Khi web server chuy\u1ec3n ti\u1ebfp y\u00eau c\u1ea7u cho m\u00e1y ch\u1ee7 kh\u00e1c nh\u01b0 v\u1eady, n\u00f3 \u0111\u00f3ng vai tr\u00f2 reverse proxy.<\/p>\n\n\n\n<h2 id=\"C\u00e0i_web_server_tr\u00ean_VPS\">C\u00e0i web server tr\u00ean VPS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e0i web server tr\u00ean VPS g\u1ed3m n\u0103m vi\u1ec7c: chu\u1ea9n b\u1ecb VPS Ubuntu LTS, c\u00e0i ph\u1ea7n m\u1ec1m web server, m\u1edf c\u1ed5ng 80\/443 tr\u00ean t\u01b0\u1eddng l\u1eeda, tr\u1ecf t\u00ean mi\u1ec1n v\u1ec1 IP c\u1ee7a VPS, r\u1ed3i c\u00e0i ch\u1ee9ng ch\u1ec9 SSL \u0111\u1ec3 ch\u1ea1y HTTPS. V\u1edbi Nginx tr\u00ean Ubuntu 24.04, c\u00e1c b\u01b0\u1edbc c\u01a1 b\u1ea3n nh\u01b0 sau.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu b\u1ea1n ch\u01b0a c\u00f3 m\u00e1y ch\u1ee7, \u0111\u1ecdc <a href=\"https:\/\/tino.vn\/blog\/vps-la-gi\/\">VPS l\u00e0 g\u00ec<\/a>. L\u1ed9 tr\u00ecnh \u0111\u1ea7y \u0111\u1ee7 t\u1eeb l\u00fac nh\u1eadn VPS t\u1edbi khi ch\u1ea1y website c\u00f3 trong b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cach-su-dung-vps\/\">c\u00e1ch s\u1eed d\u1ee5ng VPS<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># 1. C\u1eadp nh\u1eadt v\u00e0 c\u00e0i Nginx\nsudo apt update &amp;&amp; sudo apt upgrade -y\nsudo apt install nginx -y\nsystemctl status nginx\n\n# 2. T\u01b0\u1eddng l\u1eeda: m\u1edf SSH TR\u01af\u1edaC r\u1ed3i m\u1edbi b\u1eadt\nsudo ufw allow OpenSSH\nsudo ufw allow \"Nginx Full\"   # c\u1ed5ng 80 v\u00e0 443\nsudo ufw enable\n\n# 3. Ki\u1ec3m tra c\u1ea5u h\u00ecnh m\u1ed7i l\u1ea7n s\u1eeda, r\u1ed3i n\u1ea1p l\u1ea1i\nsudo nginx -t\nsudo systemctl reload nginx<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Th\u01b0 m\u1ee5c website m\u1eb7c \u0111\u1ecbnh:<\/strong> <code>\/var\/www\/html<\/code>. M\u1ed7i website n\u00ean c\u00f3 m\u1ed9t file c\u1ea5u h\u00ecnh ri\u00eang (server block) trong <code>\/etc\/nginx\/sites-available\/<\/code>, li\u00ean k\u1ebft sang <code>sites-enabled<\/code>.<\/li>\n\n\n<li><strong>Tr\u1ecf t\u00ean mi\u1ec1n:<\/strong> t\u1ea1o b\u1ea3n ghi A (v\u00e0 AAAA n\u1ebfu c\u00f3 IPv6) tr\u1ecf t\u00ean mi\u1ec1n v\u1ec1 IP c\u1ee7a VPS, \u0111\u1ee3i DNS c\u1eadp nh\u1eadt r\u1ed3i m\u1edbi xin ch\u1ee9ng ch\u1ec9.<\/li>\n\n\n<li><strong>C\u00e0i SSL:<\/strong> d\u00f9ng Certbot theo <a href=\"https:\/\/certbot.eff.org\/instructions?ws=nginx&#038;os=snap\" rel=\"nofollow noopener\" target=\"_blank\">h\u01b0\u1edbng d\u1eabn ch\u00ednh th\u1ee9c<\/a>: <code>sudo snap install --classic certbot<\/code>, <code>sudo ln -s \/snap\/bin\/certbot \/usr\/local\/bin\/certbot<\/code>, <code>sudo certbot --nginx<\/code>, r\u1ed3i th\u1eed gia h\u1ea1n b\u1eb1ng <code>sudo certbot renew --dry-run<\/code>. H\u01b0\u1edbng d\u1eabn t\u1eebng b\u01b0\u1edbc: <a href=\"https:\/\/tino.vn\/blog\/cai-ssl-tren-vps\/\">c\u00e0i SSL tr\u00ean VPS<\/a>.<\/li>\n\n\n<li><strong>Ch\u1ea1y website \u0111\u1ed9ng:<\/strong> c\u00e0i th\u00eam PHP-FPM v\u00e0 MariaDB\/MySQL (WordPress), ho\u1eb7c ch\u1ea1y \u1ee9ng d\u1ee5ng Node.js, Docker ph\u00eda sau Nginx l\u00e0m reverse proxy.<\/li>\n<\/ul>\n\n\n\n<h3 id=\"B\u1ea3o_v\u1ec7_web_server\">B\u1ea3o v\u1ec7 web server<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>C\u1eadp nh\u1eadt th\u01b0\u1eddng xuy\u00ean<\/strong> h\u1ec7 \u0111i\u1ec1u h\u00e0nh, web server v\u00e0 m\u00e3 ngu\u1ed3n website \u0111\u1ec3 v\u00e1 l\u1ed7 h\u1ed5ng.<\/li>\n\n\n<li><strong>Ch\u1ec9 m\u1edf c\u1ed5ng c\u1ea7n thi\u1ebft:<\/strong> SSH, 80, 443. Kh\u00f4ng m\u1edf c\u1ed5ng database hay c\u1ed5ng qu\u1ea3n tr\u1ecb \u1ee9ng d\u1ee5ng ra Internet.<\/li>\n\n\n<li><strong>\u0110\u0103ng nh\u1eadp SSH b\u1eb1ng key<\/strong> thay v\u00ec m\u1eadt kh\u1ea9u; t\u1eaft \u0111\u0103ng nh\u1eadp root b\u1eb1ng m\u1eadt kh\u1ea9u.<\/li>\n\n\n<li><strong>B\u1eadt HTTPS cho m\u1ecdi trang<\/strong> v\u00e0 chuy\u1ec3n h\u01b0\u1edbng HTTP sang HTTPS.<\/li>\n\n\n<li><strong>Theo d\u00f5i log<\/strong> truy c\u1eadp v\u00e0 log l\u1ed7i (Nginx: <code>\/var\/log\/nginx\/<\/code>), sao l\u01b0u website v\u00e0 database ra ngo\u00e0i m\u00e1y ch\u1ee7.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Danh s\u00e1ch ki\u1ec3m tra \u0111\u1ea7y \u0111\u1ee7: <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps\/\">b\u1ea3o m\u1eadt VPS<\/a>.<\/p>\n\n\n\n<h3 id=\"Khi_n\u00e0o_kh\u00f4ng_c\u1ea7n_t\u1ef1_d\u1ef1ng_web_server?\">Khi n\u00e0o kh\u00f4ng c\u1ea7n t\u1ef1 d\u1ef1ng web server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng c\u1ea7n t\u1ef1 d\u1ef1ng web server khi b\u1ea1n ch\u1ec9 ch\u1ea1y m\u1ed9t website WordPress ho\u1eb7c website gi\u1edbi thi\u1ec7u, v\u00e0 kh\u00f4ng c\u00f3 ai qu\u1ea3n tr\u1ecb Linux. Shared hosting ho\u1eb7c WordPress hosting \u0111\u00e3 c\u00f3 web server, SSL, sao l\u01b0u \u0111\u01b0\u1ee3c nh\u00e0 cung c\u1ea5p v\u1eadn h\u00e0nh. T\u1ef1 d\u1ef1ng web server tr\u00ean m\u00e1y t\u00ednh \u1edf nh\u00e0 c\u0169ng kh\u00f4ng n\u00ean d\u00f9ng cho website th\u1eadt: m\u00e1y ph\u1ea3i b\u1eadt li\u00ean t\u1ee5c, c\u00f3 IP \u1ed5n \u0111\u1ecbnh v\u00e0 ch\u1ecbu \u0111\u01b0\u1ee3c truy c\u1eadp t\u1eeb Internet.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T\u1ea1i Tino, g\u00f3i <a href=\"https:\/\/tino.vn\/wordpress-hosting\">WordPress Hosting<\/a> ghi d\u00f9ng LiteSpeed Web Server, cPanel, SSL mi\u1ec5n ph\u00ed t\u1eeb Let&#8217;s Encrypt v\u00e0 sao l\u01b0u m\u1ed7i ng\u00e0y (th\u00f4ng tin trang s\u1ea3n ph\u1ea9m, ki\u1ec3m tra 20\/10\/2026). N\u1ebfu c\u1ea7n to\u00e0n quy\u1ec1n c\u1ea5u h\u00ecnh Nginx, Apache hay ch\u1ea1y Docker, ch\u1ecdn <a href=\"https:\/\/tino.vn\/vps-gia-re\">VPS NVMe<\/a> c\u00f3 Full Root Access.<\/p>\n\n\n\n<h2 id=\"C\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p_v\u1ec1_web_server\">C\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 web server<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Web_server_v\u00e0_hosting_kh\u00e1c_nhau_th\u1ebf_n\u00e0o?\">Web server v\u00e0 hosting kh\u00e1c nhau th\u1ebf n\u00e0o?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Web server l\u00e0 ph\u1ea7n m\u1ec1m (v\u00e0 m\u00e1y ch\u1ee7) ph\u1ee5c v\u1ee5 website qua HTTP. Hosting l\u00e0 d\u1ecbch v\u1ee5 cho thu\u00ea ch\u1ed7 ch\u1ea1y website tr\u00ean m\u00e1y ch\u1ee7 \u0111\u00e3 c\u00e0i s\u1eb5n web server, th\u01b0\u1eddng k\u00e8m b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n, email, sao l\u01b0u. Khi thu\u00ea hosting, b\u1ea1n d\u00f9ng web server do nh\u00e0 cung c\u1ea5p qu\u1ea3n tr\u1ecb; khi thu\u00ea VPS, b\u1ea1n t\u1ef1 c\u00e0i v\u00e0 qu\u1ea3n tr\u1ecb web server.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"M\u00e1y_t\u00ednh_c\u00e1_nh\u00e2n_c\u00f3_l\u00e0m_web_server_\u0111\u01b0\u1ee3c_kh\u00f4ng?\">M\u00e1y t\u00ednh c\u00e1 nh\u00e2n c\u00f3 l\u00e0m web server \u0111\u01b0\u1ee3c kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">\u0110\u01b0\u1ee3c, v\u1ec1 k\u1ef9 thu\u1eadt. B\u1ea1n c\u00e0i Nginx ho\u1eb7c Apache r\u1ed3i m\u1edf tr\u00ecnh duy\u1ec7t v\u00e0o <code>http:\/\/localhost<\/code> \u0111\u1ec3 th\u1eed. Nh\u01b0ng \u0111\u1ec3 ph\u1ee5c v\u1ee5 ng\u01b0\u1eddi d\u00f9ng th\u1eadt, m\u00e1y c\u1ea7n b\u1eadt 24\/7, c\u00f3 IP c\u00f4ng khai ho\u1eb7c t\u00ean mi\u1ec1n \u0111\u1ed9ng, m\u1edf c\u1ed5ng tr\u00ean router v\u00e0 t\u1ef1 lo b\u1ea3o m\u1eadt, n\u00ean \u00edt ph\u00f9 h\u1ee3p ngo\u00e0i m\u1ee5c \u0111\u00edch h\u1ecdc t\u1eadp.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Static_web_l\u00e0_g\u00ec?\">Static web l\u00e0 g\u00ec?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Static web (web t\u0129nh) l\u00e0 website g\u1ed3m c\u00e1c file HTML, CSS, JavaScript v\u00e0 \u1ea3nh c\u00f3 s\u1eb5n, web server g\u1eedi nguy\u00ean c\u00e1c file n\u00e0y cho tr\u00ecnh duy\u1ec7t m\u00e0 kh\u00f4ng x\u1eed l\u00fd th\u00eam. Web t\u0129nh nhanh, \u00edt l\u1ed7 h\u1ed5ng, h\u1ee3p cho trang gi\u1edbi thi\u1ec7u, t\u00e0i li\u1ec7u; nh\u01b0ng mu\u1ed1n c\u00f3 gi\u1ecf h\u00e0ng, \u0111\u0103ng nh\u1eadp hay b\u00ecnh lu\u1eadn th\u00ec c\u1ea7n web \u0111\u1ed9ng ho\u1eb7c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"N\u00ean_ch\u1ecdn_Nginx_hay_Apache?\">N\u00ean ch\u1ecdn Nginx hay Apache?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Tr\u00ean VPS m\u1edbi, Nginx l\u00e0 l\u1ef1a ch\u1ecdn ph\u1ed5 bi\u1ebfn khi c\u1ea7n reverse proxy cho Node.js, Python ho\u1eb7c Docker v\u00e0 ph\u1ee5c v\u1ee5 file t\u0129nh. Apache ph\u00f9 h\u1ee3p khi m\u00e3 ngu\u1ed3n d\u1ef1a nhi\u1ec1u v\u00e0o file .htaccess, v\u00ed d\u1ee5 nhi\u1ec1u plugin WordPress c\u0169. Hai ph\u1ea7n m\u1ec1m c\u0169ng c\u00f3 th\u1ec3 ch\u1ea1y c\u00f9ng nhau: Nginx \u0111\u1ee9ng tr\u01b0\u1edbc, Apache x\u1eed l\u00fd PHP ph\u00eda sau.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Web_server_d\u00f9ng_c\u1ed5ng_n\u00e0o?\">Web server d\u00f9ng c\u1ed5ng n\u00e0o?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">M\u1eb7c \u0111\u1ecbnh HTTP d\u00f9ng c\u1ed5ng 80, HTTPS d\u00f9ng c\u1ed5ng 443. Khi ch\u1ea1y th\u1eed \u1ee9ng d\u1ee5ng, l\u1eadp tr\u00ecnh vi\u00ean hay d\u00f9ng c\u1ed5ng kh\u00e1c nh\u01b0 8080 ho\u1eb7c 3000; khi \u0111\u01b0a l\u00ean m\u1ea1ng, n\u00ean \u0111\u1ec3 web server nh\u1eadn \u1edf 80\/443 r\u1ed3i chuy\u1ec3n ti\u1ebfp v\u00e0o c\u1ed5ng n\u1ed9i b\u1ed9 c\u1ee7a \u1ee9ng d\u1ee5ng.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Web server v\u00e0 hosting kh\u00e1c nhau th\u1ebf n\u00e0o?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Web server l\u00e0 ph\u1ea7n m\u1ec1m (v\u00e0 m\u00e1y ch\u1ee7) ph\u1ee5c v\u1ee5 website qua HTTP. Hosting l\u00e0 d\u1ecbch v\u1ee5 cho thu\u00ea ch\u1ed7 ch\u1ea1y website tr\u00ean m\u00e1y ch\u1ee7 \u0111\u00e3 c\u00e0i s\u1eb5n web server, th\u01b0\u1eddng k\u00e8m b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n, email, sao l\u01b0u. Khi thu\u00ea hosting, b\u1ea1n d\u00f9ng web server do nh\u00e0 cung c\u1ea5p qu\u1ea3n tr\u1ecb; khi thu\u00ea VPS, b\u1ea1n t\u1ef1 c\u00e0i v\u00e0 qu\u1ea3n tr\u1ecb web server.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"M\u00e1y t\u00ednh c\u00e1 nh\u00e2n c\u00f3 l\u00e0m web server \u0111\u01b0\u1ee3c kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u01b0\u1ee3c, v\u1ec1 k\u1ef9 thu\u1eadt. B\u1ea1n c\u00e0i Nginx ho\u1eb7c Apache r\u1ed3i m\u1edf tr\u00ecnh duy\u1ec7t v\u00e0o http:\/\/localhost \u0111\u1ec3 th\u1eed. Nh\u01b0ng \u0111\u1ec3 ph\u1ee5c v\u1ee5 ng\u01b0\u1eddi d\u00f9ng th\u1eadt, m\u00e1y c\u1ea7n b\u1eadt 24\/7, c\u00f3 IP c\u00f4ng khai ho\u1eb7c t\u00ean mi\u1ec1n \u0111\u1ed9ng, m\u1edf c\u1ed5ng tr\u00ean router v\u00e0 t\u1ef1 lo b\u1ea3o m\u1eadt, n\u00ean \u00edt ph\u00f9 h\u1ee3p ngo\u00e0i m\u1ee5c \u0111\u00edch h\u1ecdc t\u1eadp.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Static web l\u00e0 g\u00ec?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Static web (web t\u0129nh) l\u00e0 website g\u1ed3m c\u00e1c file HTML, CSS, JavaScript v\u00e0 \u1ea3nh c\u00f3 s\u1eb5n, web server g\u1eedi nguy\u00ean c\u00e1c file n\u00e0y cho tr\u00ecnh duy\u1ec7t m\u00e0 kh\u00f4ng x\u1eed l\u00fd th\u00eam. Web t\u0129nh nhanh, \u00edt l\u1ed7 h\u1ed5ng, h\u1ee3p cho trang gi\u1edbi thi\u1ec7u, t\u00e0i li\u1ec7u; nh\u01b0ng mu\u1ed1n c\u00f3 gi\u1ecf h\u00e0ng, \u0111\u0103ng nh\u1eadp hay b\u00ecnh lu\u1eadn th\u00ec c\u1ea7n web \u0111\u1ed9ng ho\u1eb7c d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"N\u00ean ch\u1ecdn Nginx hay Apache?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Tr\u00ean VPS m\u1edbi, Nginx l\u00e0 l\u1ef1a ch\u1ecdn ph\u1ed5 bi\u1ebfn khi c\u1ea7n reverse proxy cho Node.js, Python ho\u1eb7c Docker v\u00e0 ph\u1ee5c v\u1ee5 file t\u0129nh. Apache ph\u00f9 h\u1ee3p khi m\u00e3 ngu\u1ed3n d\u1ef1a nhi\u1ec1u v\u00e0o file .htaccess, v\u00ed d\u1ee5 nhi\u1ec1u plugin WordPress c\u0169. Hai ph\u1ea7n m\u1ec1m c\u0169ng c\u00f3 th\u1ec3 ch\u1ea1y c\u00f9ng nhau: Nginx \u0111\u1ee9ng tr\u01b0\u1edbc, Apache x\u1eed l\u00fd PHP ph\u00eda sau.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Web server d\u00f9ng c\u1ed5ng n\u00e0o?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>M\u1eb7c \u0111\u1ecbnh HTTP d\u00f9ng c\u1ed5ng 80, HTTPS d\u00f9ng c\u1ed5ng 443. Khi ch\u1ea1y th\u1eed \u1ee9ng d\u1ee5ng, l\u1eadp tr\u00ecnh vi\u00ean hay d\u00f9ng c\u1ed5ng kh\u00e1c nh\u01b0 8080 ho\u1eb7c 3000; khi \u0111\u01b0a l\u00ean m\u1ea1ng, n\u00ean \u0111\u1ec3 web server nh\u1eadn \u1edf 80\/443 r\u1ed3i chuy\u1ec3n ti\u1ebfp v\u00e0o c\u1ed5ng n\u1ed9i b\u1ed9 c\u1ee7a \u1ee9ng d\u1ee5ng.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n\n\n\n<h2 id=\"Ngu\u1ed3n_tham_kh\u1ea3o\">Ngu\u1ed3n tham kh\u1ea3o<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Learn_web_development\/Howto\/Web_mechanics\/What_is_a_web_server\" rel=\"nofollow noopener\" target=\"_blank\">MDN Web Docs: What is a web server?<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/nginx.org\/en\/\" rel=\"nofollow noopener\" target=\"_blank\">nginx.org<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/httpd.apache.org\/\" rel=\"nofollow noopener\" target=\"_blank\">The Apache HTTP Server Project<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/www.litespeedtech.com\/products\/litespeed-web-server\" rel=\"nofollow noopener\" target=\"_blank\">LiteSpeed Technologies: LiteSpeed Web Server<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/iis\/get-started\/introduction-to-iis\/introduction-to-iis-architecture\" rel=\"nofollow noopener\" target=\"_blank\">Microsoft Learn: Introduction to IIS Architectures<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/caddyserver.com\/docs\/automatic-https\" rel=\"nofollow noopener\" target=\"_blank\">Caddy Docs: Automatic HTTPS<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n\n\n<li><a href=\"https:\/\/certbot.eff.org\/instructions?ws=nginx&#038;os=snap\" rel=\"nofollow noopener\" target=\"_blank\">Certbot: h\u01b0\u1edbng d\u1eabn cho Nginx tr\u00ean Linux (snap)<\/a> (truy c\u1eadp 20\/10\/2026)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Web server (m\u00e1y ch\u1ee7 web) l\u00e0 m\u00e1y t\u00ednh v\u00e0 ph\u1ea7n m\u1ec1m nh\u1eadn y\u00eau c\u1ea7u t\u1eeb tr\u00ecnh duy\u1ec7t qua giao th\u1ee9c HTTP ho\u1eb7c HTTPS, r\u1ed3i tr\u1ea3 v\u1ec1 n\u1ed9i dung website. V\u1ec1 ph\u1ea7n c\u1ee9ng, web server l\u00e0 m\u00e1y ch\u1ee7 l\u01b0u file website (HTML, CSS, JavaScript, \u1ea3nh) v\u00e0 lu\u00f4n k\u1ebft n\u1ed1i Internet. V\u1ec1 ph\u1ea7n m\u1ec1m, web server l\u00e0 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":131186,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7728],"tags":[6242],"class_list":["post-29142","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-quan-tri-server","tag-kien-thuc-website"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/29142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=29142"}],"version-history":[{"count":2,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/29142\/revisions"}],"predecessor-version":[{"id":131617,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/29142\/revisions\/131617"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/131186"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=29142"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=29142"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=29142"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}