{"id":39910,"date":"2026-03-07T08:57:44","date_gmt":"2026-03-07T01:57:44","guid":{"rendered":"https:\/\/interdata.vn\/blog\/?p=39910"},"modified":"2026-05-18T13:44:25","modified_gmt":"2026-05-18T06:44:25","slug":"tao-subdomain-trong-cpanel","status":"publish","type":"post","link":"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn 4 b\u01b0\u1edbc t\u1ea1o Subdomain trong cPanel chi ti\u1ebft t\u1eeb A-Z"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">N\u1ed8I DUNG<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Subdomain-la-gi\" >Subdomain l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Huong-dan-tao-subdomain-tren-cPanel-tung-buoc-chi-tiet\" >H\u01b0\u1edbng d\u1eabn t\u1ea1o subdomain tr\u00ean cPanel t\u1eebng b\u01b0\u1edbc chi ti\u1ebft<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Buoc-1-Dang-nhap-vao-cPanel\" >B\u01b0\u1edbc 1: \u0110\u0103ng nh\u1eadp v\u00e0o cPanel<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Buoc-2-Truy-cap-tinh-nang-Domains\" >B\u01b0\u1edbc 2: Truy c\u1eadp t\u00ednh n\u0103ng Domains<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Buoc-3-Tao-Subdomain-moi\" >B\u01b0\u1edbc 3: T\u1ea1o Subdomain m\u1edbi<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Buoc-4-Dien-thong-tin-Subdomain\" >B\u01b0\u1edbc 4: \u0110i\u1ec1n th\u00f4ng tin Subdomain<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#Ung-dung-thuc-te-cua-Subdomain\" >\u1ee8ng d\u1ee5ng th\u1ef1c t\u1ebf c\u1ee7a Subdomain<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#1-Dung-cho-Staging-Moi-truong-kiem-thu\" >1. D\u00f9ng cho Staging (M\u00f4i tr\u01b0\u1eddng ki\u1ec3m th\u1eed)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#2-Dung-lam-trang-BlogTin-tuc\" >2. D\u00f9ng l\u00e0m trang Blog\/Tin t\u1ee9c<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/interdata.vn\/blog\/tao-subdomain-trong-cpanel\/#3-Dung-cho-API-hoac-App\" >3. D\u00f9ng cho API ho\u1eb7c App<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<p>Subdomain l\u00e0 c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd website linh ho\u1ea1t, cho ph\u00e9p t\u1ea1o c\u00e1c khu v\u1ef1c ri\u00eang bi\u1ec7t nh\u01b0 staging, blog hay API m\u00e0 kh\u00f4ng c\u1ea7n mua th\u00eam t\u00ean mi\u1ec1n m\u1edbi. Trong b\u00e0i vi\u1ebft n\u00e0y, InterData s\u1ebd h\u01b0\u1edbng d\u1eabn <strong>t\u1ea1o subdomain trong cPanel<\/strong> theo t\u1eebng b\u01b0\u1edbc c\u1ee5 th\u1ec3, k\u00e8m theo c\u00e1c tr\u01b0\u1eddng h\u1ee3p \u1ee9ng d\u1ee5ng th\u1ef1c t\u1ebf gi\u00fap b\u1ea1n tri\u1ec3n khai ngay sau khi \u0111\u1ecdc xong.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Subdomain-la-gi\"><\/span>Subdomain l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Subdomain<\/strong> l\u00e0 t\u00ean mi\u1ec1n ph\u1ee5 \u0111\u01b0\u1ee3c \u0111\u1eb7t tr\u01b0\u1edbc t\u00ean mi\u1ec1n ch\u00ednh, ng\u0103n c\u00e1ch b\u1edfi d\u1ea5u ch\u1ea5m. V\u00ed d\u1ee5: n\u1ebfu t\u00ean mi\u1ec1n ch\u00ednh l\u00e0 <code>example.com<\/code>, th\u00ec <code>blog.example.com<\/code>, <code>staging.example.com<\/code> hay <code>api.example.com<\/code> \u0111\u1ec1u l\u00e0 subdomain.<\/p>\n<p>V\u1ec1 m\u1eb7t k\u1ef9 thu\u1eadt, subdomain ho\u1ea1t \u0111\u1ed9ng nh\u01b0 m\u1ed9t website \u0111\u1ed9c l\u1eadp \u2014 c\u00f3 th\u01b0 m\u1ee5c ri\u00eang tr\u00ean server, c\u00f3 b\u1ea3n ghi DNS ri\u00eang v\u00e0 c\u00f3 th\u1ec3 c\u00e0i \u0111\u1eb7t SSL ri\u00eang bi\u1ec7t. \u0110i\u1ec1u n\u00e0y kh\u00e1c ho\u00e0n to\u00e0n so v\u1edbi subdirectory nh\u01b0 <code>example.com\/blog<\/code>, v\u1ed1n ch\u1ec9 l\u00e0 m\u1ed9t th\u01b0 m\u1ee5c con trong c\u00f9ng c\u1ea5u tr\u00fac website.<\/p>\n<p>Vi\u1ec7c t\u1ea1o subdomain ho\u00e0n to\u00e0n mi\u1ec5n ph\u00ed tr\u00ean Hosting v\u00e0 n\u00f3 mang l\u1ea1i nhi\u1ec1u l\u1ee3i \u00edch cho vi\u1ec7c qu\u1ea3n tr\u1ecb website:<\/p>\n<ol>\n<li><strong>T\u1ea1o trang Blog ri\u00eang (blog.domain.com):<\/strong> Gi\u00fap t\u00e1ch bi\u1ec7t n\u1ed9i dung tin t\u1ee9c v\u1edbi giao di\u1ec7n s\u1ea3n ph\u1ea9m ch\u00ednh, t\u1ed1i \u01b0u SEO cho t\u1eebng m\u1ea3ng n\u1ed9i dung.<\/li>\n<li><strong>M\u00f4i tr\u01b0\u1eddng Staging\/Test (dev.domain.com ho\u1eb7c staging.domain.com):<\/strong> N\u01a1i an to\u00e0n \u0111\u1ec3 l\u1eadp tr\u00ecnh vi\u00ean th\u1eed nghi\u1ec7m giao di\u1ec7n m\u1edbi, plugin m\u1edbi m\u00e0 kh\u00f4ng l\u00e0m \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn website ch\u00ednh \u0111ang ho\u1ea1t \u0111\u1ed9ng.<\/li>\n<li><strong>H\u1ec7 th\u1ed1ng API (api.domain.com):<\/strong> D\u00e0nh cho c\u00e1c \u1ee9ng d\u1ee5ng web\/mobile c\u1ea7n g\u1ecdi d\u1eef li\u1ec7u t\u1eeb m\u00e1y ch\u1ee7 m\u1ed9t c\u00e1ch \u0111\u1ed9c l\u1eadp.<\/li>\n<li><strong>Trang Landing Page (sukien.domain.com):<\/strong> Ch\u1ea1y c\u00e1c chi\u1ebfn d\u1ecbch marketing ng\u1eafn h\u1ea1n.<\/li>\n<\/ol>\n<h2><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39914\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Cach-tao-subdomain-tren-cPanel.jpg\" alt=\"C\u00e1ch t\u1ea1o subdomain tr\u00ean cPanel\" width=\"925\" height=\"541\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Cach-tao-subdomain-tren-cPanel.jpg 925w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Cach-tao-subdomain-tren-cPanel-300x175.jpg 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Cach-tao-subdomain-tren-cPanel-768x449.jpg 768w\" sizes=\"auto, (max-width: 925px) 100vw, 925px\" \/><\/h2>\n<h2><span class=\"ez-toc-section\" id=\"Huong-dan-tao-subdomain-tren-cPanel-tung-buoc-chi-tiet\"><\/span>H\u01b0\u1edbng d\u1eabn t\u1ea1o subdomain tr\u00ean cPanel t\u1eebng b\u01b0\u1edbc chi ti\u1ebft<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Ph\u1ea7n n\u00e0y h\u01b0\u1edbng d\u1eabn chi ti\u1ebft c\u00e1ch t\u1ea1o subdomain trong cPanel. Giao di\u1ec7n cPanel c\u00f3 th\u1ec3 kh\u00e1c nhau \u0111\u00f4i ch\u00fat t\u00f9y phi\u00ean b\u1ea3n, nh\u01b0ng c\u00e1c b\u01b0\u1edbc c\u01a1 b\u1ea3n kh\u00f4ng thay \u0111\u1ed5i.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-1-Dang-nhap-vao-cPanel\"><\/span>B\u01b0\u1edbc 1: \u0110\u0103ng nh\u1eadp v\u00e0o cPanel<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Truy c\u1eadp v\u00e0o trang qu\u1ea3n tr\u1ecb cPanel Hosting c\u1ee7a b\u1ea1n t\u1ea1i InterData.<\/p>\n<p>N\u1ebfu ch\u01b0a bi\u1ebft c\u00e1ch \u0111\u0103ng nh\u1eadp, b\u1ea1n c\u00f3 th\u1ec3 xem l\u1ea1i h\u01b0\u1edbng d\u1eabn <strong><a href=\"https:\/\/interdata.vn\/blog\/cach-dang-nhap-cpanel\/\">c\u00e1ch \u0111\u0103ng nh\u1eadp cPanel InterData t\u1ea1i \u0111\u00e2y<\/a><\/strong>.<\/p>\n<p>\u0110\u0103ng nh\u1eadp b\u1eb1ng t\u00ean \u0111\u0103ng nh\u1eadp v\u00e0 m\u1eadt kh\u1ea9u \u0111\u01b0\u1ee3c cung c\u1ea5p trong email x\u00e1c nh\u1eadn t\u1eeb InterData. Sau khi \u0111\u0103ng nh\u1eadp th\u00e0nh c\u00f4ng, b\u1ea1n s\u1ebd th\u1ea5y trang ch\u1ee7 cPanel v\u1edbi c\u00e1c nh\u00f3m t\u00ednh n\u0103ng \u0111\u01b0\u1ee3c ph\u00e2n lo\u1ea1i theo ch\u1ee9c n\u0103ng.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-2-Truy-cap-tinh-nang-Domains\"><\/span>B\u01b0\u1edbc 2: Truy c\u1eadp t\u00ednh n\u0103ng Domains<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>T\u1ea1i giao di\u1ec7n ch\u00ednh c\u1ee7a cPanel, b\u1ea1n t\u00ecm \u0111\u1ebfn m\u1ee5c\u00a0<strong>DOMAINS<\/strong> (T\u00ean mi\u1ec1n)\u00a0v\u00e0 click v\u00e0o bi\u1ec3u t\u01b0\u1ee3ng\u00a0Domains\u00a0(ho\u1eb7c &#8220;Subdomains&#8221; \u1edf c\u00e1c phi\u00ean b\u1ea3n c\u0169 h\u01a1n, nh\u01b0ng hi\u1ec7n t\u1ea1i \u0111a s\u1ed1 l\u00e0 &#8220;Domains&#8221;).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39911\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Nhap-vao-domain.png\" alt=\"Nh\u1ea5p v\u00e0o domain\" width=\"978\" height=\"266\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Nhap-vao-domain.png 978w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Nhap-vao-domain-300x82.png 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Nhap-vao-domain-768x209.png 768w\" sizes=\"auto, (max-width: 978px) 100vw, 978px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-3-Tao-Subdomain-moi\"><\/span>B\u01b0\u1edbc 3: T\u1ea1o Subdomain m\u1edbi<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Trong giao di\u1ec7n qu\u1ea3n l\u00fd t\u00ean mi\u1ec1n, b\u1ea1n click v\u00e0o n\u00fat m\u00e0u xanh <strong>&#8220;Create A New Domain&#8221;<\/strong> (T\u1ea1o m\u1ed9t t\u00ean mi\u1ec1n m\u1edbi) n\u1eb1m \u1edf g\u00f3c ph\u1ea3i m\u00e0n h\u00ecnh.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39912\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Chon-Create-A-New-Domain.png\" alt=\"Ch\u1ecdn Create A New Domain\" width=\"739\" height=\"240\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Chon-Create-A-New-Domain.png 739w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/Chon-Create-A-New-Domain-300x97.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"Buoc-4-Dien-thong-tin-Subdomain\"><\/span>B\u01b0\u1edbc 4: \u0110i\u1ec1n th\u00f4ng tin Subdomain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u0110\u00e2y l\u00e0 b\u01b0\u1edbc quan tr\u1ecdng nh\u1ea5t. B\u1ea1n h\u00e3y \u0111i\u1ec1n th\u00f4ng tin theo h\u01b0\u1edbng d\u1eabn sau:<\/p>\n<ol>\n<li><strong>Domain:<\/strong> Nh\u1eadp \u0111\u1ea7y \u0111\u1ee7 t\u00ean subdomain b\u1ea1n mu\u1ed1n t\u1ea1o.\n<ul>\n<li>V\u00ed d\u1ee5: Mu\u1ed1n t\u1ea1o blog, h\u00e3y nh\u1eadp blog.tenmiencuaban.com.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Document Root (Filesystem Location):<\/strong>\n<ul>\n<li><strong>L\u01b0u \u00fd quan tr\u1ecdng:<\/strong> H\u00e3y \u0111\u1ea3m b\u1ea3o b\u1ea1n <strong>B\u1ece TICK<\/strong> \u1edf \u00f4 &#8220;<strong>Share document root (\/home\/username\/public_html)<\/strong>&#8220;.<\/li>\n<li>N\u1ebfu b\u1ea1n \u0111\u1ec3 tick, subdomain s\u1ebd hi\u1ec3n th\u1ecb n\u1ed9i dung y h\u1ec7t trang ch\u1ee7 (tr\u00f9ng l\u1eb7p n\u1ed9i dung).<\/li>\n<li>Khi b\u1ecf tick, h\u1ec7 th\u1ed1ng s\u1ebd t\u1ef1 \u0111\u1ed9ng t\u1ea1o m\u1ed9t \u0111\u01b0\u1eddng d\u1eabn th\u01b0 m\u1ee5c ri\u00eang (th\u01b0\u1eddng l\u00e0 \/home\/username\/public_html\/blog.tenmiencuaban.com). \u0110\u00e2y l\u00e0 n\u01a1i b\u1ea1n s\u1ebd upload m\u00e3 ngu\u1ed3n (WordPress, Code&#8230;) cho subdomain n\u00e0y.<\/li>\n<\/ul>\n<\/li>\n<li>Nh\u1ea5n n\u00fat <strong>Submit<\/strong> (G\u1eedi) \u0111\u1ec3 ho\u00e0n t\u1ea5t.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-39913\" src=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/dien-thong-tin-subdomain.png\" alt=\"\u0111i\u1ec1n th\u00f4ng tin subdomain\" width=\"879\" height=\"415\" title=\"\" srcset=\"https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/dien-thong-tin-subdomain.png 879w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/dien-thong-tin-subdomain-300x142.png 300w, https:\/\/interdata.vn\/blog\/wp-content\/uploads\/2026\/03\/dien-thong-tin-subdomain-768x363.png 768w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/p>\n<p>H\u1ec7 th\u1ed1ng s\u1ebd m\u1ea5t v\u00e0i gi\u00e2y \u0111\u1ec3 kh\u1edfi t\u1ea1o. Sau khi th\u00e0nh c\u00f4ng, subdomain s\u1ebd xu\u1ea5t hi\u1ec7n trong danh s\u00e1ch qu\u1ea3n l\u00fd t\u00ean mi\u1ec1n.<\/p>\n<p>Trong m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p b\u1ea1n mu\u1ed1n gom nh\u00f3m c\u00e1c trang con v\u1ec1 trang ch\u00ednh, h\u00e3y k\u1ebft h\u1ee3p vi\u1ec7c t\u1ea1o subdomain trong cpanel v\u1edbi k\u1ef9 thu\u1eadt redirect domain trong cpanel \u0111\u1ec3 \u0111i\u1ec1u h\u01b0\u1edbng truy c\u1eadp ch\u00ednh x\u00e1c. Xem <strong><a href=\"https:\/\/interdata.vn\/blog\/cach-redirect-domain-trong-cpanel\/\">h\u01b0\u1edbng d\u1eabn 4 b\u01b0\u1edbc Redirect Domain tr\u00ean cPanel Hosting t\u1ea1i \u0111\u00e2y<\/a><\/strong>.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Ung-dung-thuc-te-cua-Subdomain\"><\/span>\u1ee8ng d\u1ee5ng th\u1ef1c t\u1ebf c\u1ee7a Subdomain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Sau khi t\u1ea1o xong, b\u1ea1n c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng Subdomain cho c\u00e1c m\u1ee5c \u0111\u00edch c\u1ee5 th\u1ec3 nh\u01b0 sau:<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1-Dung-cho-Staging-Moi-truong-kiem-thu\"><\/span>1. D\u00f9ng cho Staging (M\u00f4i tr\u01b0\u1eddng ki\u1ec3m th\u1eed)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>T\u00ean th\u01b0\u1eddng \u0111\u1eb7t:<\/strong> test.domain.com, dev.domain.com, staging.domain.com.<\/li>\n<li><strong>C\u00e1ch d\u00f9ng:<\/strong> B\u1ea1n c\u00f3 th\u1ec3 copy to\u00e0n b\u1ed9 d\u1eef li\u1ec7u t\u1eeb web ch\u00ednh sang th\u01b0 m\u1ee5c c\u1ee7a subdomain n\u00e0y. T\u1ea1i \u0111\u00e2y, b\u1ea1n tho\u1ea3i m\u00e1i update WordPress, s\u1eeda code PHP, \u0111\u1ed5i giao di\u1ec7n. N\u1ebfu c\u00f3 l\u1ed7i x\u1ea3y ra, web ch\u00ednh v\u1eabn ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng. Sau khi test xong, b\u1ea1n m\u1edbi \u00e1p d\u1ee5ng l\u00ean web ch\u00ednh.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"2-Dung-lam-trang-BlogTin-tuc\"><\/span>2. D\u00f9ng l\u00e0m trang Blog\/Tin t\u1ee9c<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>T\u00ean th\u01b0\u1eddng \u0111\u1eb7t:<\/strong> blog.domain.com, news.domain.com.<\/li>\n<li><strong>C\u00e1ch d\u00f9ng:<\/strong> C\u00e0i \u0111\u1eb7t m\u1ed9t m\u00e3 ngu\u1ed3n WordPress m\u1edbi ho\u00e0n to\u00e0n v\u00e0o th\u01b0 m\u1ee5c c\u1ee7a subdomain n\u00e0y. Vi\u1ec7c n\u00e0y gi\u00fap database c\u1ee7a trang b\u00e1n h\u00e0ng ch\u00ednh nh\u1eb9 h\u01a1n, load nhanh h\u01a1n v\u00ec kh\u00f4ng b\u1ecb l\u1eabn l\u1ed9n v\u1edbi d\u1eef li\u1ec7u b\u00e0i vi\u1ebft blog.<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"3-Dung-cho-API-hoac-App\"><\/span>3. D\u00f9ng cho API ho\u1eb7c App<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li><strong>T\u00ean th\u01b0\u1eddng \u0111\u1eb7t:<\/strong> api.domain.com, app.domain.com.<\/li>\n<li><strong>C\u00e1ch d\u00f9ng:<\/strong> D\u00e0nh cho c\u00e1c nh\u00e0 ph\u00e1t tri\u1ec3n (Developer). B\u1ea1n upload c\u00e1c file backend (NodeJS, PHP Laravel&#8230;) v\u00e0o th\u01b0 m\u1ee5c subdomain \u0111\u1ec3 x\u1eed l\u00fd c\u00e1c y\u00eau c\u1ea7u d\u1eef li\u1ec7u m\u00e0 kh\u00f4ng \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn frontend c\u1ee7a ng\u01b0\u1eddi d\u00f9ng.<span style=\"font-size: 14.4px;\">\u00a0<\/span><\/li>\n<\/ul>\n<p>Vi\u1ec7c t\u1ea1o Subdomain tr\u00ean cPanel InterData r\u1ea5t \u0111\u01a1n gi\u1ea3n nh\u01b0ng mang l\u1ea1i hi\u1ec7u qu\u1ea3 qu\u1ea3n l\u00fd r\u1ea5t l\u1edbn. Hy v\u1ecdng qua b\u00e0i vi\u1ebft n\u00e0y, b\u1ea1n \u0111\u00e3 bi\u1ebft c\u00e1ch thi\u1ebft l\u1eadp c\u00e1c t\u00ean mi\u1ec1n con \u0111\u1ec3 ph\u1ee5c v\u1ee5 cho nhu c\u1ea7u ph\u00e1t tri\u1ec3n website c\u1ee7a m\u00ecnh.<\/p>\n<p>N\u1ebfu b\u1ea1n g\u1eb7p kh\u00f3 kh\u0103n trong qu\u00e1 tr\u00ecnh thao t\u00e1c, h\u00e3y li\u00ean h\u1ec7 ngay v\u1edbi \u0111\u1ed9i ng\u0169 k\u1ef9 thu\u1eadt c\u1ee7a\u00a0InterData\u00a0\u0111\u1ec3 \u0111\u01b0\u1ee3c h\u1ed7 tr\u1ee3 24\/7.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Subdomain l\u00e0 c\u00f4ng c\u1ee5 qu\u1ea3n l\u00fd website linh ho\u1ea1t, cho ph\u00e9p t\u1ea1o c\u00e1c khu v\u1ef1c ri\u00eang bi\u1ec7t nh\u01b0 staging, blog hay API m\u00e0 kh\u00f4ng c\u1ea7n mua th\u00eam t\u00ean mi\u1ec1n m\u1edbi. Trong b\u00e0i vi\u1ebft n\u00e0y, InterData s\u1ebd h\u01b0\u1edbng d\u1eabn t\u1ea1o subdomain trong cPanel theo t\u1eebng b\u01b0\u1edbc c\u1ee5 th\u1ec3, k\u00e8m theo c\u00e1c tr\u01b0\u1eddng h\u1ee3p \u1ee9ng d\u1ee5ng th\u1ef1c<\/p>\n","protected":false},"author":11,"featured_media":39915,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[149],"tags":[],"class_list":["post-39910","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-control-panel"],"_links":{"self":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/39910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/comments?post=39910"}],"version-history":[{"count":3,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/39910\/revisions"}],"predecessor-version":[{"id":40505,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/posts\/39910\/revisions\/40505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media\/39915"}],"wp:attachment":[{"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/media?parent=39910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/categories?post=39910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/interdata.vn\/blog\/wp-json\/wp\/v2\/tags?post=39910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}