{"id":1085,"date":"2021-12-02T13:18:00","date_gmt":"2021-12-02T06:18:00","guid":{"rendered":"https:\/\/blog.tinohost.com\/?p=1085"},"modified":"2024-05-28T14:57:10","modified_gmt":"2024-05-28T07:57:10","slug":"hostname-la-gi","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/hostname-la-gi\/","title":{"rendered":"Hostname l\u00e0 g\u00ec? H\u01b0\u1edbng d\u1eabn c\u00e1ch thay \u0111\u1ed5i Hostname chi ti\u1ebft A-Z"},"content":{"rendered":"\n<p><strong>Hostname l\u00e0 g\u00ec? T\u1ea1i sao c\u00f3 <\/strong><a href=\"https:\/\/tino.vn\/blog\/hosting-va-domain\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>domain<\/strong><\/a><strong> r\u1ed3i l\u1ea1i c\u00f3 Hostname? Hostname c\u00f3 ph\u1ea3i l\u00e0 t\u00ean mi\u1ec1n kh\u00f4ng? N\u1ebfu b\u1ea1n \u0111ang th\u1eafc m\u1eafc nh\u1eefng \u0111i\u1ec1u n\u00e0y, h\u00e3y c\u00f9ng TinoHost t\u00ecm hi\u1ec3u c\u00e2u tr\u1ea3 l\u1eddi trong b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y nh\u00e9!<\/strong><\/p>\n\n\n\n<h2 id=\"T\u1ed5ng_quan_v\u1ec1_Hostname\"><strong>T\u1ed5ng quan v\u1ec1 Hostname<\/strong><\/h2>\n\n\n\n<h2 id=\"Hostname_l\u00e0_g\u00ec?\"><strong>Hostname l\u00e0 g\u00ec?<\/strong><\/h2>\n\n\n\n<p>Hostname (t\u00ean m\u00e1y ch\u1ee7) l\u00e0 m\u1ed9t chu\u1ed7i k\u00fd t\u1ef1 \u0111\u01b0\u1ee3c d\u00f9ng \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh v\u00e0 nh\u1eadn d\u1ea1ng m\u1ed9t thi\u1ebft b\u1ecb trong m\u1ea1ng m\u00e1y t\u00ednh. Th\u00e0nh ph\u1ea7n n\u00e0y th\u01b0\u1eddng \u0111\u01b0\u1ee3c g\u00e1n cho c\u00e1c m\u00e1y t\u00ednh, m\u00e1y ch\u1ee7 ho\u1eb7c c\u00e1c thi\u1ebft b\u1ecb m\u1ea1ng kh\u00e1c \u0111\u1ec3 ph\u00e2n bi\u1ec7t ch\u00fang v\u00e0 t\u1ea1o \u0111i\u1ec3m nh\u1eadn d\u1ea1ng ri\u00eang bi\u1ec7t trong h\u1ec7 th\u1ed1ng m\u1ea1ng. Hostname th\u01b0\u1eddng \u0111i k\u00e8m v\u1edbi<a href=\"https:\/\/tino.vn\/blog\/dia-chi-ip-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"61773\" rel=\"noreferrer noopener\"> \u0111\u1ecba ch\u1ec9 IP<\/a> \u0111\u1ec3 cho ph\u00e9p vi\u1ec7c giao ti\u1ebfp v\u00e0 truy c\u1eadp trong m\u1ea1ng.<\/p>\n\n\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-1.webp\" alt=\"hostname-(ten-may-chu)-la-mot-chuoi-ky-tu-duoc-dung-de-xac-dinh-va-nhan-dang-mot-thiet-bi-trong-mang-may-tinh\" class=\"wp-image-84289\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-1.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-1-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">Hostname (t\u00ean m\u00e1y ch\u1ee7) l\u00e0 m\u1ed9t chu\u1ed7i k\u00fd t\u1ef1 \u0111\u01b0\u1ee3c d\u00f9ng \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh v\u00e0 nh\u1eadn d\u1ea1ng m\u1ed9t thi\u1ebft b\u1ecb trong m\u1ea1ng m\u00e1y t\u00ednh<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"T\u1ea1i_sao_c\u1ea7n_c\u00f3_Hostname?\"><strong>T\u1ea1i sao c\u1ea7n c\u00f3 Hostname?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hostname cho ph\u00e9p m\u1ed7i thi\u1ebft b\u1ecb trong m\u1ea1ng c\u00f3 m\u1ed9t t\u00ean ri\u00eang bi\u1ec7t, d\u1ec5 d\u00e0ng nh\u1edb v\u00e0 ph\u00e2n bi\u1ec7t. Thay v\u00ec nh\u1edb \u0111\u1ecba ch\u1ec9 IP d\u00e0i v\u00e0 kh\u00f3 nh\u1edb, ng\u01b0\u1eddi d\u00f9ng v\u00e0 qu\u1ea3n tr\u1ecb vi\u00ean c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng hostname \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh c\u00e1c thi\u1ebft b\u1ecb m\u1ea1ng.<\/li>\n\n\n\n<li>Hostname th\u01b0\u1eddng \u0111\u01b0\u1ee3c li\u00ean k\u1ebft v\u1edbi t\u00ean mi\u1ec1n, gi\u00fap t\u1ea1o n\u00ean c\u00e1c \u0111\u1ecba ch\u1ec9 web ho\u1eb7c \u0111\u1ecba ch\u1ec9 email d\u1ec5 nh\u1edb. Khi b\u1ea1n nh\u1eadp t\u00ean mi\u1ec1n v\u00e0o tr\u00ecnh duy\u1ec7t, h\u1ec7 th\u1ed1ng s\u1ebd t\u00ecm ki\u1ebfm \u0111\u1ecba ch\u1ec9 IP t\u01b0\u01a1ng \u1ee9ng th\u00f4ng qua hostname \u0111\u1ec3 k\u1ebft n\u1ed1i \u0111\u1ebfn m\u00e1y ch\u1ee7 ch\u1ee9a trang web t\u01b0\u01a1ng \u1ee9ng.<\/li>\n\n\n\n<li>Hostname gi\u00fap qu\u1ea3n tr\u1ecb vi\u00ean d\u1ec5 d\u00e0ng qu\u1ea3n l\u00fd c\u00e1c thi\u1ebft b\u1ecb trong m\u1ea1ng. Thay v\u00ec ph\u1ea3i s\u1eed d\u1ee5ng c\u00e1c \u0111\u1ecba ch\u1ec9 IP, h\u1ecd c\u00f3 th\u1ec3 s\u1eed d\u1ee5ng hostname \u0111\u1ec3 th\u1ef1c hi\u1ec7n c\u00e1c t\u00e1c v\u1ee5 nh\u01b0 gi\u00e1m s\u00e1t, \u0111i\u1ec1u ch\u1ec9nh c\u1ea5u h\u00ecnh v\u00e0 qu\u1ea3n l\u00fd t\u1eeb xa.<\/li>\n\n\n\n<li>Trong m\u1ed9t m\u00e1y ch\u1ee7 ho\u1eb7c thi\u1ebft b\u1ecb m\u1ea1ng c\u00f3 th\u1ec3 ch\u1ea1y nhi\u1ec1u d\u1ecbch v\u1ee5 kh\u00e1c nhau nh\u01b0 <a href=\"https:\/\/tino.vn\/blog\/web-server-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"29142\" rel=\"noreferrer noopener\">m\u00e1y ch\u1ee7 web<\/a>, <a href=\"https:\/\/tino.vn\/blog\/tao-va-quan-ly-email-server-theo-ten-mien\/\" target=\"_blank\" data-type=\"post\" data-id=\"15783\" rel=\"noreferrer noopener\">m\u00e1y ch\u1ee7 email<\/a>, m\u00e1y ch\u1ee7<a href=\"https:\/\/tino.vn\/blog\/ftp-server-la-gi\/\" target=\"_blank\" data-type=\"post\" data-id=\"324\" rel=\"noreferrer noopener\"> FTP<\/a>, &#8230;Hostname gi\u00fap ph\u00e2n bi\u1ec7t v\u00e0 x\u00e1c \u0111\u1ecbnh r\u00f5 r\u00e0ng m\u1ed7i d\u1ecbch v\u1ee5 n\u00e0y.<\/li>\n\n\n\n<li>Khi c\u00e1c thi\u1ebft b\u1ecb trong m\u1ea1ng c\u1ea7n giao ti\u1ebfp v\u1edbi nhau, hostname gi\u00fap x\u00e1c \u0111\u1ecbnh \u0111\u00edch \u0111\u1ebfn c\u1ee7a d\u1eef li\u1ec7u ho\u1eb7c y\u00eau c\u1ea7u.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-2.webp\" alt=\"tai-sao-can-co-hostname\" class=\"wp-image-84291\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-2.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-2-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">T\u1ea1i sao c\u1ea7n c\u00f3 Hostname?<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 id=\"Hostname_kh\u00e1c_g\u00ec_v\u1edbi_Domain_Name?\"><strong>Hostname kh\u00e1c g\u00ec v\u1edbi Domain Name?<\/strong><\/h3>\n\n\n\n<p><strong>Hostname<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hostname l\u00e0 t\u00ean duy nh\u1ea5t \u0111\u01b0\u1ee3c g\u00e1n cho m\u1ed9t m\u00e1y t\u00ednh c\u1ee5 th\u1ec3 trong m\u1ea1ng.<\/li>\n\n\n\n<li>N\u00f3 th\u01b0\u1eddng ch\u1ec9 x\u00e1c \u0111\u1ecbnh m\u1ed9t thi\u1ebft b\u1ecb ho\u1eb7c m\u00e1y t\u00ednh duy nh\u1ea5t.<\/li>\n\n\n\n<li>Hostname kh\u00f4ng ch\u1ee9a c\u00e1c ph\u1ea7n ph\u00e2n c\u1ea5p, v\u00ed d\u1ee5: &#8220;mayserv01&#8221; ho\u1eb7c &#8220;laptop-user&#8221;.<\/li>\n\n\n\n<li>Hostname c\u00f3 th\u1ec3 l\u00e0 m\u1ed9t ph\u1ea7n c\u1ee7a t\u00ean mi\u1ec1n, nh\u01b0ng kh\u00f4ng bao g\u1ed3m ph\u1ea7n domain.<\/li>\n<\/ul>\n\n\n\n<p><strong>Domain Name (T\u00ean mi\u1ec1n)<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Domain Name l\u00e0 m\u1ed9t c\u1ea5u tr\u00fac ph\u00e2n c\u1ea5p h\u01a1n, \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh v\u00e0 t\u1ed5 ch\u1ee9c c\u00e1c t\u00e0i nguy\u00ean trong m\u1ea1ng m\u00e1y t\u00ednh.<\/li>\n\n\n\n<li>Bao g\u1ed3m \u00edt nh\u1ea5t hai ph\u1ea7n c\u00e1ch nhau b\u1eb1ng d\u1ea5u ch\u1ea5m, v\u00ed d\u1ee5: &#8220;example.com&#8221;.<\/li>\n\n\n\n<li>C\u00f3 th\u1ec3 ch\u1ee9a nhi\u1ec1u ph\u1ea7n ph\u00e2n c\u1ea5p, nh\u01b0 &#8220;subdomain.example.com&#8221;, cho ph\u00e9p t\u1ed5 ch\u1ee9c h\u1ec7 th\u1ed1ng m\u1ea1ng th\u00e0nh c\u00e1c ph\u00e2n \u0111o\u1ea1n nh\u1ecf h\u01a1n.<\/li>\n\n\n\n<li>Th\u01b0\u1eddng \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh c\u00e1c trang web, d\u1ecbch v\u1ee5 v\u00e0 t\u00e0i nguy\u00ean tr\u00ean internet.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-3.webp\" alt=\"hostname-khac-gi-voi-domain-name\" class=\"wp-image-84292\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-3.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-3-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">Hostname kh\u00e1c g\u00ec v\u1edbi Domain Name?<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u00e1ch_t\u00ecm_v\u00e0_thay_\u0111\u1ed5i_Hostname_m\u00e1y_t\u00ednh\"><strong>H\u01b0\u1edbng d\u1eabn c\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh<\/strong><\/h2>\n\n\n\n<h3 id=\"H\u1ec7_\u0111i\u1ec1u_h\u00e0nh_Windows\"><strong>H\u1ec7 \u0111i\u1ec1u h\u00e0nh Windows<\/strong><\/h3>\n\n\n\n<p>Trong <a href=\"https:\/\/tino.vn\/blog\/he-dieu-hanh-windows-la-gi\/\" target=\"_blank\" rel=\"noreferrer noopener\">Windows<\/a>, Hostname ch\u00ednh l\u00e0 <strong>Full Computer Name.<\/strong><\/p>\n\n\n\n<p><strong>C\u00e1ch 1:<\/strong><\/p>\n\n\n\n<p>Nh\u1ea5n t\u1ed5 h\u1ee3p ph\u00edm <strong>Windows + R, <\/strong>b\u1ea1n s\u1ebd th\u1ea5y xu\u1ea5t hi\u1ec7n m\u1ed9t h\u1ed9p tho\u1ea1i, g\u00f5 &#8220;<strong>cmd<\/strong>&#8220;, ch\u1ecdn <strong>OK<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-4-2.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-windows\" class=\"wp-image-84303\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-4-2.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-4-2-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Windows<\/figcaption><\/figure>\n<\/div>\n\n\n<p>H\u1ed9p tho\u1ea1i Command xu\u1ea5t hi\u1ec7n, b\u1ea1n ti\u1ebfp t\u1ee5c g\u00f5 c\u00e2u l\u1ec7nh: <strong>Hostname<\/strong>. Hostname c\u1ee7a m\u00e1y s\u1ebd \u0111\u01b0\u1ee3c hi\u1ec3n th\u1ecb nh\u01b0 trong h\u00ecnh:<\/p>\n\n\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-5.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-windows\" class=\"wp-image-84304\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-5.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-5-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Windows<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>C\u00e1ch 2:<\/strong><\/p>\n\n\n\n<p>B\u1ea1n nh\u1ea5n t\u1ed5 h\u1ee3p ph\u00edm <strong>Windows + R<\/strong> v\u00e0 g\u00f5 v\u00e0o \u201c<strong>sysdm.cpl<\/strong>\u201d<\/p>\n\n\n\n<p>M\u1ed9t h\u1ed9p tho\u1ea1i xu\u1ea5t hi\u1ec7n v\u00e0 b\u1ea1n s\u1ebd th\u1ea5y Hostname \u1edf ph\u1ea7n <strong>Full Computer Name.<\/strong> <\/p>\n\n\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-6.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-windows\" class=\"wp-image-84306\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-6.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-6-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Windows<\/figcaption><\/figure>\n<\/div>\n\n\n<p>\u0110\u1ec3 s\u1eeda Hostname, b\u1ea1n nh\u1ea5n v\u00e0o \u201c<strong>Change\u2026<\/strong>\u201d , nh\u1eadp t\u00ean mu\u1ed1n thay \u0111\u1ed5i v\u00e0o ph\u1ea7n \u201c<strong>Computer name<\/strong>\u201d. Sau \u0111\u00f3, nh\u1ea5n <strong>OK <\/strong>\u0111\u1ec3 ho\u00e0n t\u1ea5t.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image is-resized\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-7.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-windows\" class=\"wp-image-84308\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-7.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-7-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Windows<\/figcaption><\/figure>\n<\/div>\n\n\n<p>L\u01b0u \u00fd: B\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c \u0111\u1eb7t t\u00ean c\u00f3 ch\u1ee9a kho\u1ea3ng tr\u1eafng trong Hostname khi ch\u1ec9nh s\u1eeda.&nbsp;<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 4:<\/strong> Restart l\u1ea1i thi\u1ebft b\u1ecb.<\/p>\n\n\n\n<h3 id=\"H\u1ec7_\u0111i\u1ec1u_h\u00e0nh_Linux_Mint_\/_Ubuntu\"><strong>H\u1ec7 \u0111i\u1ec1u h\u00e0nh Linux Mint \/ Ubuntu<\/strong><\/h3>\n\n\n\n<p><strong>B\u01b0\u1edbc 1:<\/strong> S\u1eed d\u1ee5ng c\u00e2u l\u1ec7nh sau trong Terminal \u0111\u1ec3 ki\u1ec3m tra Hostname:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> $Hostname<\/code><\/pre>\n\n\n\n<p>ho\u1eb7c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ hostnamectl<\/code><\/pre>\n\n\n\n<p>Tino Group s\u1ebd s\u1eed d\u1ee5ng l\u1ec7nh: <strong>$ hostnamectl<\/strong> l\u00e0m v\u00ed d\u1ee5:<\/p>\n\n\n\n<p>K\u1ebft qu\u1ea3 \u0111\u1ea7u ra nh\u01b0 sau:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-8.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-linux\" class=\"wp-image-84309\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-8.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-8-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Linux<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>B\u01b0\u1edbc 2:<\/strong> Hostname \u0111\u01b0\u1ee3c ch\u1ee9a trong file <strong>\/etc\/Hostname<\/strong>. B\u1ea1n s\u1ebd ch\u1ec9nh s\u1eeda file n\u00e0y b\u1eb1ng <a href=\"https:\/\/vi.wikipedia.org\/wiki\/Vim_(tr%C3%ACnh_so%E1%BA%A1n_th%E1%BA%A3o)\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Vim<\/a> ho\u1eb7c <a href=\"https:\/\/en.wikipedia.org\/wiki\/GNU_nano\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Nano<\/a> v\u1edbi c\u00e2u l\u1ec7nh sau:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo hostnamectl set-hostname file_server<\/code><\/pre>\n\n\n\n<p>C\u00e2u l\u1ec7nh tr\u00ean s\u1ebd \u0111\u1ed5i t\u00ean Hostname c\u1ee7a b\u1ea1n th\u00e0nh <strong>file_server<\/strong>. B\u1ea1n c\u00f3 th\u1ec3 ch\u1ec9 \u0111\u1ecbnh b\u1ea5t c\u1ee9 t\u00ean n\u00e0o m\u00ecnh th\u00edch. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"700\" height=\"375\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-9.webp\" alt=\"cach-tim-va-thay-doi-hostname-may-tinh-linux\" class=\"wp-image-84310\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-9.webp 700w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2024\/01\/hostname-la-gi-9-300x161.webp 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><figcaption class=\"wp-element-caption\">C\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh Linux<\/figcaption><\/figure>\n<\/div>\n\n\n<p>B\u1ea1n c\u00f3 th\u1ec3 x\u00e1c minh thay \u0111\u1ed5i b\u1eb1ng c\u00e1ch ch\u1ea1y l\u1ea1i l\u1ec7nh: <strong>hostnamectl<\/strong><\/p>\n\n\n\n<p>L\u01b0u \u00fd: T\u01b0\u01a1ng t\u1ef1 nh\u01b0 trong Windows, b\u1ea1n kh\u00f4ng \u0111\u01b0\u1ee3c \u0111\u1eb7t t\u00ean c\u00f3 ch\u1ee9a kho\u1ea3ng tr\u1eafng trong Hostname khi ch\u1ec9nh s\u1eeda.&nbsp;<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 4:<\/strong> Ti\u1ebfn h\u00e0nh <strong>reset<\/strong> l\u1ea1i m\u00e1y.<\/p>\n\n\n\n<p>T\u00f3m l\u1ea1i, Hostname \u0111\u00f3ng vai tr\u00f2 quan tr\u1ecdng trong vi\u1ec7c x\u00e1c \u0111\u1ecbnh v\u00e0 nh\u1eadn d\u1ea1ng c\u00e1c thi\u1ebft b\u1ecb trong m\u1ea1ng m\u00e1y t\u00ednh. Qua b\u00e0i vi\u1ebft tr\u00ean, ch\u00fang ta \u0111\u00e3 c\u00f9ng nhau t\u00ecm hi\u1ec3u m\u1ed9t s\u1ed1 th\u00f4ng tin c\u01a1 b\u1ea3n v\u1ec1 Hostnamec\u0169ng nh\u01b0 c\u00e1ch t\u00ecm v\u00e0 thay \u0111\u1ed5i Hostname m\u00e1y t\u00ednh. Tino Group ch\u00fac b\u1ea1n ch\u1ec9nh s\u1eeda th\u00e0nh c\u00f4ng Hostname theo \u00fd m\u00ecnh nh\u00e9!<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p_v\u1ec1_Hostname\"><strong>Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p v\u1ec1 Hostname<\/strong><\/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=\"M\u00f4i_tr\u01b0\u1eddng_th\u01b0\u1eddng_xuy\u00ean_s\u1eed_d\u1ee5ng_Hostname_l\u00e0_\u1edf_\u0111\u00e2u?\">M\u00f4i tr\u01b0\u1eddng th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng Hostname l\u00e0 \u1edf \u0111\u00e2u?<\/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>Th\u00f4ng th\u01b0\u1eddng, m\u00f4i tr\u01b0\u1eddng m\u1ea1ng m\u00e1y t\u00ednh c\u1ee5c b\u1ed9 LAN s\u1ebd l\u00e0 n\u01a1i th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng Hostname.<\/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=\"L\u00e0m_th\u1ebf_n\u00e0o_\u0111\u1ec3_x\u00e1c_\u0111\u1ecbnh_t\u00ean_m\u00e1y_ch\u1ee7_t\u1eeb_\u0111\u1ecba_ch\u1ec9_IP?\">L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh t\u00ean m\u00e1y ch\u1ee7 t\u1eeb \u0111\u1ecba ch\u1ec9 IP?<\/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>\u0110\u1ec3 d\u00f9ng \u0111\u1ecba ch\u1ec9 IP t\u00ecm t\u00ean m\u00e1y ch\u1ee7, b\u1ea1n s\u1eed d\u1ee5ng l\u1ec7nh:<\/p>\n\n\n\n<p><strong>nslookup \u0111\u1ecba-ch\u1ec9-IP<\/strong><\/p>\n\n\n\n<p>B\u1ea1n ch\u1ec9 c\u1ea7n \u0111\u1ed5i ph\u1ea7n <strong>\u0111\u1ecba-ch\u1ec9-IP <\/strong>th\u00e0nh \u0111\u1ecba ch\u1ec9 IP c\u1ee7a b\u1ea1n mu\u1ed1n s\u1eed d\u1ee5ng \u0111\u1ec3 t\u00ecm m\u00e1y ch\u1ee7 v\u00e0 nh\u1ea5n <strong>Enter. <\/strong>Sau \u0111\u00f3, \u0111\u1ecba ch\u1ec9 IP v\u00e0 \u0111\u1ecba ch\u1ec9 m\u00e1y ch\u1ee7 s\u1ebd hi\u1ec3n th\u1ecb tr\u00ean m\u00e0n h\u00ecnh m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n.<\/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=\"Hostname_kh\u00e1c_g\u00ec_v\u1edbi_\u0111\u1ecba_ch\u1ec9_IP?\">Hostname kh\u00e1c g\u00ec v\u1edbi \u0111\u1ecba ch\u1ec9 IP?<\/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>\u0110\u1ecba ch\u1ec9 IP l\u00e0 m\u1ed9t chu\u1ed7i s\u1ed1 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 \u0111\u1ecbnh v\u1ecb m\u1ed9t thi\u1ebft b\u1ecb trong m\u1ea1ng, trong khi Hostname l\u00e0 m\u1ed9t t\u00ean d\u1ec5 nh\u1edb \u0111\u01b0\u1ee3c g\u00e1n cho thi\u1ebft b\u1ecb \u0111\u1ec3 thay th\u1ebf cho \u0111\u1ecba ch\u1ec9 IP.<\/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=\"Hostname_c\u1ea7n_ph\u1ea3i_l\u00e0_duy_nh\u1ea5t_trong_m\u1ea1ng_hay_kh\u00f4ng?\">Hostname c\u1ea7n ph\u1ea3i l\u00e0 duy nh\u1ea5t trong m\u1ea1ng hay 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>\u0110\u00fang, Hostname c\u1ea7n ph\u1ea3i l\u00e0 duy nh\u1ea5t trong m\u1ea1ng \u0111\u1ec3 tr\u00e1nh xung \u0111\u1ed9t v\u00e0 nh\u1ea7m l\u1eabn trong vi\u1ec7c nh\u1eadn d\u1ea1ng c\u00e1c thi\u1ebft b\u1ecb.<\/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=\"Hostname_c\u00f3_\u1ea3nh_h\u01b0\u1edfng_\u0111\u1ebfn_b\u1ea3o_m\u1eadt_m\u1ea1ng_kh\u00f4ng?\">Hostname c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn b\u1ea3o m\u1eadt m\u1ea1ng 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>C\u00f3, Hostname c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng trong c\u00e1c quy tr\u00ecnh x\u00e1c th\u1ef1c v\u00e0 b\u1ea3o m\u1eadt m\u1ea1ng, nh\u01b0ng kh\u00f4ng ph\u1ea3i l\u00e0 y\u1ebfu t\u1ed1 ch\u00ednh \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o b\u1ea3o m\u1eadt m\u1ea1ng.<\/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\": \"M\u00f4i tr\u01b0\u1eddng th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng Hostname l\u00e0 \u1edf \u0111\u00e2u?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Th\u00f4ng th\u01b0\u1eddng, m\u00f4i tr\u01b0\u1eddng m\u1ea1ng m\u00e1y t\u00ednh c\u1ee5c b\u1ed9 LAN s\u1ebd l\u00e0 n\u01a1i th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng Hostname.<\/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\": \"L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh t\u00ean m\u00e1y ch\u1ee7 t\u1eeb \u0111\u1ecba ch\u1ec9 IP?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u1ec3 d\u00f9ng \u0111\u1ecba ch\u1ec9 IP t\u00ecm t\u00ean m\u00e1y ch\u1ee7, b\u1ea1n s\u1eed d\u1ee5ng l\u1ec7nh:<\/p><p><strong>nslookup \u0111\u1ecba-ch\u1ec9-IP<\/strong><\/p><p>B\u1ea1n ch\u1ec9 c\u1ea7n \u0111\u1ed5i ph\u1ea7n <strong>\u0111\u1ecba-ch\u1ec9-IP <\/strong>th\u00e0nh \u0111\u1ecba ch\u1ec9 IP c\u1ee7a b\u1ea1n mu\u1ed1n s\u1eed d\u1ee5ng \u0111\u1ec3 t\u00ecm m\u00e1y ch\u1ee7 v\u00e0 nh\u1ea5n <strong>Enter. <\/strong>Sau \u0111\u00f3, \u0111\u1ecba ch\u1ec9 IP v\u00e0 \u0111\u1ecba ch\u1ec9 m\u00e1y ch\u1ee7 s\u1ebd hi\u1ec3n th\u1ecb tr\u00ean m\u00e0n h\u00ecnh m\u00e1y t\u00ednh c\u1ee7a b\u1ea1n.<\/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\": \"Hostname kh\u00e1c g\u00ec v\u1edbi \u0111\u1ecba ch\u1ec9 IP?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u1ecba ch\u1ec9 IP l\u00e0 m\u1ed9t chu\u1ed7i s\u1ed1 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 \u0111\u1ecbnh v\u1ecb m\u1ed9t thi\u1ebft b\u1ecb trong m\u1ea1ng, trong khi Hostname l\u00e0 m\u1ed9t t\u00ean d\u1ec5 nh\u1edb \u0111\u01b0\u1ee3c g\u00e1n cho thi\u1ebft b\u1ecb \u0111\u1ec3 thay th\u1ebf cho \u0111\u1ecba ch\u1ec9 IP.<\/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\": \"Hostname c\u1ea7n ph\u1ea3i l\u00e0 duy nh\u1ea5t trong m\u1ea1ng hay 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\u00fang, Hostname c\u1ea7n ph\u1ea3i l\u00e0 duy nh\u1ea5t trong m\u1ea1ng \u0111\u1ec3 tr\u00e1nh xung \u0111\u1ed9t v\u00e0 nh\u1ea7m l\u1eabn trong vi\u1ec7c nh\u1eadn d\u1ea1ng c\u00e1c thi\u1ebft b\u1ecb.<\/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\": \"Hostname c\u00f3 \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn b\u1ea3o m\u1eadt m\u1ea1ng kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3, Hostname c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng trong c\u00e1c quy tr\u00ecnh x\u00e1c th\u1ef1c v\u00e0 b\u1ea3o m\u1eadt m\u1ea1ng, nh\u01b0ng kh\u00f4ng ph\u1ea3i l\u00e0 y\u1ebfu t\u1ed1 ch\u00ednh \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o b\u1ea3o m\u1eadt m\u1ea1ng.<\/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","protected":false},"excerpt":{"rendered":"<p>Hostname l\u00e0 g\u00ec? T\u1ea1i sao c\u00f3 domain r\u1ed3i l\u1ea1i c\u00f3 Hostname? Hostname c\u00f3 ph\u1ea3i l\u00e0 t\u00ean mi\u1ec1n kh\u00f4ng? N\u1ebfu b\u1ea1n \u0111ang th\u1eafc m\u1eafc nh\u1eefng \u0111i\u1ec1u n\u00e0y, h\u00e3y c\u00f9ng TinoHost t\u00ecm hi\u1ec3u c\u00e2u tr\u1ea3 l\u1eddi trong b\u00e0i vi\u1ebft d\u01b0\u1edbi \u0111\u00e2y nh\u00e9! T\u1ed5ng quan v\u1ec1 Hostname Hostname l\u00e0 g\u00ec? Hostname (t\u00ean m\u00e1y ch\u1ee7) l\u00e0 m\u1ed9t chu\u1ed7i k\u00fd [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":95180,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5402],"tags":[6187],"class_list":["post-1085","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hosting-vps","tag-ho-tro-developer"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/1085","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\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":1,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/1085\/revisions"}],"predecessor-version":[{"id":95181,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/1085\/revisions\/95181"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/95180"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=1085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}