{"id":1915,"date":"2023-03-27T17:03:52","date_gmt":"2023-03-27T10:03:52","guid":{"rendered":"https:\/\/longvan.net\/cong-dong\/?p=1915"},"modified":"2023-03-27T17:03:52","modified_gmt":"2023-03-27T10:03:52","slug":"huong-dan-cau-hinh-virtual-host-tren-apache","status":"publish","type":"post","link":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache"},"content":{"rendered":"<h4>I. T\u1ed5ng quan<\/h4>\n<p>Virtual Host l\u00e0 m\u1ed9t ph\u01b0\u01a1ng th\u1ee9c cho ph\u00e9p b\u1ea1n ch\u1ea1y nhi\u1ec1u website kh\u00e1c nhau tr\u00ean m\u1ed9t m\u00e1y ch\u1ee7 web. Virtual Host ph\u00e2n bi\u1ec7t v\u00e0 ph\u1ee5c v\u1ee5 c\u00e1c trang web kh\u00e1c nhau d\u1ef1a tr\u00ean \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c t\u00ean mi\u1ec1n c\u1ee7a t\u1eebng trang web.<\/p>\n<p>V\u1edbi Virtual Host, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh c\u00e1c thi\u1ebft l\u1eadp ri\u00eang cho t\u1eebng trang web, bao g\u1ed3m c\u1ea3 c\u00e1c t\u1ec7p c\u1ea5u h\u00ecnh, \u0111\u1ecbnh tuy\u1ebfn v\u00e0 c\u00e1c t\u00ednh n\u0103ng kh\u00e1c. Vi\u1ec7c s\u1eed d\u1ee5ng Virtual Host gi\u00fap b\u1ea1n qu\u1ea3n l\u00fd nhi\u1ec1u trang web tr\u00ean c\u00f9ng m\u1ed9t m\u00e1y ch\u1ee7 m\u1ed9t c\u00e1ch d\u1ec5 d\u00e0ng v\u00e0 ti\u1ebft ki\u1ec7m chi ph\u00ed ph\u00e1t tri\u1ec3n v\u00e0 qu\u1ea3n l\u00fd h\u1ec7 th\u1ed1ng.<\/p>\n<p>Trong b\u00e0i vi\u1ebft n\u00e0y, Long V\u00e2n s\u1ebd h\u01b0\u1edbng d\u1eabn v\u1ec1 c\u00e1ch c\u1ea5u h\u00ecnh Virtual Host tr\u00ean m\u00e1y ch\u1ee7 Apache2.<\/p>\n<h4><strong>II. C\u00e0i \u0111\u1eb7t Apache2 tr\u00ean Ubuntu<br \/>\n<\/strong><\/h4>\n<ol>\n<li>Truy c\u1eadp v\u00e0o server ch\u1ea1y c\u00e1c l\u1ec7nh sau \u0111\u1ec3 c\u00e0i \u0111\u1eb7t Apache:\n<pre># apt-get update\n# apt-get install apache2<\/pre>\n<\/li>\n<li>Sau khi c\u00e0i xong ta b\u1eaft \u0111\u1ea7u kh\u1ecfi ch\u1ea1y d\u1ecbch v\u1ee5\n<pre># systemctl enable apache2\n# systemctl start apache2<\/pre>\n<\/li>\n<li>M\u1edf firewall cho service apache2\n<pre># ufw allow 80\n# ufw allow 443<\/pre>\n<\/li>\n<\/ol>\n<h4>III. C\u1ea5u h\u00ecnh Virtual Host<\/h4>\n<ol>\n<li>T\u1ea1o 1 \u0111\u01b0\u1eddng d\u1eabn source web v\u00e0 c\u1ea5p quy\u1ec1n cho \u0111\u01b0\u1eddng d\u1eabn \u0111\u00f3:<strong><br \/>\n<\/strong><em>Trong h\u01b0\u1edbng d\u1eabn n\u00e0y, Long V\u00e2n s\u1eed d\u1ee5ng domain <code>lvtest.com<\/code> v\u1edbi source \u0111\u01b0\u1ee3c l\u01b0u \u1edf th\u01b0 m\u1ee5c <code>\/var\/www\/html\/lvstest\/public_html\/<\/code><\/em><\/p>\n<pre># mkdir -p \/var\/www\/html\/lvstest\/public_html\/\n# chown -R $USER:$USER \/var\/www\/lvstest\/public_html\/\n# chmod -R 755 \/var\/www\/<\/pre>\n<\/li>\n<li>T\u1ea1o 1 file Virtual Host m\u1edbi v\u00e0 th\u00eam n\u1ed9i dung\n<pre>&lt;VirtualHost *:80&gt;\n    ServerAdmin admin@lvstest.com\n    ServerName lvstest.com\n    DocumentRoot \/var\/www\/html\/lvstest\/public_html\/\n    ErrorLog \/var\/log\/apache2\/lvstest.error.log\n    CustomLog \/var\/log\/apache2\/lvstest.access.log combined\n&lt;\/VirtualHost&gt;<\/pre>\n<ul>\n<li><strong>Trong \u0111\u00f3:<\/strong>\n<ul>\n<li><strong>ServerAdmin<\/strong> l\u00e0 t\u1eeb kh\u00f3a khai b\u00e1o \u0111\u1ecba ch\u1ec9 email c\u1ee7a admin<\/li>\n<li><strong>ServerName<\/strong> l\u00e0 t\u00ean mi\u1ec1n m\u00e0 ta mu\u1ed1n ch\u1ea1y website<\/li>\n<li><strong>DocumentRoot<\/strong> l\u00e0 t\u1eeb kh\u00f3a khai b\u00e1o \u0111\u01b0\u1eddng d\u1eabn c\u1ee7a source code khi ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp v\u00e0o domain \u0111\u01b0\u1ee3c c\u1ea5u h\u00ecnh. \u0110\u01b0\u1eddng d\u1eabn n\u00e0y c\u00f3 th\u1ec3 n\u1eb1m \u1edf b\u1ea5t k\u1ef3 m\u1ed9t ph\u00e2n v\u00f9ng n\u00e0o.<\/li>\n<li><strong>ErrorLog<\/strong> l\u00e0 \u0111\u01b0\u1eddng d\u1eabn file log th\u00ec c\u00f3 l\u1ed7i<\/li>\n<li><strong>CustomLog<\/strong> l\u00e0 \u0111\u01b0\u1eddng d\u1eabn file log ghi l\u1ea1i t\u1ea5t c\u1ea3 c\u00e1c request v\u00e0 ng\u01b0\u1eddi d\u00f9ng truy c\u1eadp.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>K\u00edch ho\u1ea1t Virtual Host\n<pre># a2ensite lvstest.conf<\/pre>\n<\/li>\n<li>Sau \u0111\u00f3 ta ki\u1ec3m tra l\u1ed7i c\u1ea5u h\u00ecnh b\u1eb1ng l\u1ec7nh sau\n<pre># apache2ctl configtest<\/pre>\n<\/li>\n<li>Sau \u0111\u00f3 kh\u1edfi \u0111\u1ed9ng l\u1ea1i d\u1ecbch v\u1ee5 apache2<\/li>\n<\/ol>\n<h4><strong>IV. Ki\u1ec3m tra<br \/>\n<\/strong><\/h4>\n<ol>\n<li>T\u1ea1o m\u1ed9t trang web test \u0111\u01a1n gi\u1ea3n v\u1edbi l\u1ec7nh\n<pre>touch \/var\/www\/html\/lvstest\/public_html\/index.html<\/pre>\n<\/li>\n<li>N\u1ed9i dung nh\u01b0 sau:\n<pre>&lt;html&gt;\n    &lt;head&gt;\n        &lt;title&gt; website test&lt;\/title&gt;\n    &lt;\/head&gt;\n    &lt;body&gt;\n        &lt;h1&gt; Long Van xin chao quy khach!&lt;\/h1&gt;\n    &lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<\/li>\n<li>Ki\u1ec3m tra k\u1ebft qu\u1ea3 b\u1eb1ng c\u00e1ch truy c\u1eadp t\u00ean mi\u1ec1n <span style=\"color: #0000ff;\">http:\/\/lvstest.com<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1918\" src=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png\" alt=\"\" width=\"650\" height=\"255\" srcset=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png 1045w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597-300x118.png 300w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597-1024x402.png 1024w, https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597-768x301.png 768w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><br \/>\n<\/span><\/li>\n<\/ol>\n<p>Nh\u01b0 v\u1eady, Long V\u00e2n \u0111\u00e3 ho\u00e0n th\u00e0nh h\u01b0\u1edbng d\u1eabn Qu\u00fd kh\u00e1ch c\u00e1ch c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache2. Ch\u00fac Qu\u00fd kh\u00e1ch th\u00e0nh c\u00f4ng!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I. T\u1ed5ng quan Virtual Host l\u00e0 m\u1ed9t ph\u01b0\u01a1ng th\u1ee9c cho ph\u00e9p b\u1ea1n ch\u1ea1y nhi\u1ec1u website kh\u00e1c nhau tr\u00ean m\u1ed9t m\u00e1y ch\u1ee7 web. Virtual Host ph\u00e2n bi\u1ec7t v\u00e0 ph\u1ee5c v\u1ee5 c\u00e1c trang web kh\u00e1c nhau d\u1ef1a tr\u00ean \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c t\u00ean mi\u1ec1n c\u1ee7a t\u1eebng trang web. V\u1edbi Virtual Host, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh c\u00e1c [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_oasis_is_in_workflow":0,"_oasis_original":0,"footnotes":""},"categories":[40],"tags":[197,152,195,5,196],"class_list":["post-1915","post","type-post","status-publish","format-standard","hentry","category-web-hosting","tag-apache","tag-apache2","tag-http","tag-linux","tag-virutal-host"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n\" \/>\n<meta property=\"og:description\" content=\"I. T\u1ed5ng quan Virtual Host l\u00e0 m\u1ed9t ph\u01b0\u01a1ng th\u1ee9c cho ph\u00e9p b\u1ea1n ch\u1ea1y nhi\u1ec1u website kh\u00e1c nhau tr\u00ean m\u1ed9t m\u00e1y ch\u1ee7 web. Virtual Host ph\u00e2n bi\u1ec7t v\u00e0 ph\u1ee5c v\u1ee5 c\u00e1c trang web kh\u00e1c nhau d\u1ef1a tr\u00ean \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c t\u00ean mi\u1ec1n c\u1ee7a t\u1eebng trang web. V\u1edbi Virtual Host, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh c\u00e1c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"Long V\u00e2n\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-27T10:03:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1045\" \/>\n\t<meta property=\"og:image:height\" content=\"410\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mai V\u0103n Chung\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mai V\u0103n Chung\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/\"},\"author\":{\"name\":\"Mai V\u0103n Chung\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/0f5bb4435e991d494ff8f4b132e5ed8b\"},\"headline\":\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache\",\"datePublished\":\"2023-03-27T10:03:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/\"},\"wordCount\":545,\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/aaaaaaaaaaa-e1679624225597.png\",\"keywords\":[\"apache\",\"apache2\",\"http\",\"Linux\",\"virutal host\"],\"articleSection\":[\"Web Hosting\"],\"inLanguage\":\"vi\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/\",\"name\":\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/aaaaaaaaaaa-e1679624225597.png\",\"datePublished\":\"2023-03-27T10:03:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#primaryimage\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/aaaaaaaaaaa-e1679624225597.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/aaaaaaaaaaa-e1679624225597.png\",\"width\":1045,\"height\":410},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/huong-dan-cau-hinh-virtual-host-tren-apache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trang ch\u1ee7\",\"item\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#website\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"name\":\"Long V\u00e2n\",\"description\":\"C\u1ed9ng \u0110\u1ed3ng\",\"publisher\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#organization\",\"name\":\"Long V\u00e2n\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"contentUrl\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/cropped-logo-longvancloudsolution.png\",\"width\":1300,\"height\":330,\"caption\":\"Long V\u00e2n\"},\"image\":{\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/#\\\/schema\\\/person\\\/0f5bb4435e991d494ff8f4b132e5ed8b\",\"name\":\"Mai V\u0103n Chung\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g\",\"caption\":\"Mai V\u0103n Chung\"},\"sameAs\":[\"http:\\\/\\\/longvan.net\"],\"url\":\"https:\\\/\\\/longvan.net\\\/cong-dong\\\/author\\\/vanchung\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/","og_locale":"vi_VN","og_type":"article","og_title":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n","og_description":"I. T\u1ed5ng quan Virtual Host l\u00e0 m\u1ed9t ph\u01b0\u01a1ng th\u1ee9c cho ph\u00e9p b\u1ea1n ch\u1ea1y nhi\u1ec1u website kh\u00e1c nhau tr\u00ean m\u1ed9t m\u00e1y ch\u1ee7 web. Virtual Host ph\u00e2n bi\u1ec7t v\u00e0 ph\u1ee5c v\u1ee5 c\u00e1c trang web kh\u00e1c nhau d\u1ef1a tr\u00ean \u0111\u1ecba ch\u1ec9 IP ho\u1eb7c t\u00ean mi\u1ec1n c\u1ee7a t\u1eebng trang web. V\u1edbi Virtual Host, b\u1ea1n c\u00f3 th\u1ec3 c\u1ea5u h\u00ecnh c\u00e1c [&hellip;]","og_url":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/","og_site_name":"Long V\u00e2n","article_published_time":"2023-03-27T10:03:52+00:00","og_image":[{"width":1045,"height":410,"url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png","type":"image\/png"}],"author":"Mai V\u0103n Chung","twitter_card":"summary_large_image","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Mai V\u0103n Chung","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"3 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#article","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/"},"author":{"name":"Mai V\u0103n Chung","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/0f5bb4435e991d494ff8f4b132e5ed8b"},"headline":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache","datePublished":"2023-03-27T10:03:52+00:00","mainEntityOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/"},"wordCount":545,"publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png","keywords":["apache","apache2","http","Linux","virutal host"],"articleSection":["Web Hosting"],"inLanguage":"vi"},{"@type":"WebPage","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/","url":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/","name":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache - Long V\u00e2n","isPartOf":{"@id":"https:\/\/longvan.net\/cong-dong\/#website"},"primaryImageOfPage":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#primaryimage"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png","datePublished":"2023-03-27T10:03:52+00:00","breadcrumb":{"@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#primaryimage","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2023\/03\/aaaaaaaaaaa-e1679624225597.png","width":1045,"height":410},{"@type":"BreadcrumbList","@id":"https:\/\/longvan.net\/cong-dong\/huong-dan-cau-hinh-virtual-host-tren-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Trang ch\u1ee7","item":"https:\/\/longvan.net\/cong-dong\/"},{"@type":"ListItem","position":2,"name":"H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Virtual Host tr\u00ean Apache"}]},{"@type":"WebSite","@id":"https:\/\/longvan.net\/cong-dong\/#website","url":"https:\/\/longvan.net\/cong-dong\/","name":"Long V\u00e2n","description":"C\u1ed9ng \u0110\u1ed3ng","publisher":{"@id":"https:\/\/longvan.net\/cong-dong\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/longvan.net\/cong-dong\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/longvan.net\/cong-dong\/#organization","name":"Long V\u00e2n","url":"https:\/\/longvan.net\/cong-dong\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/","url":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","contentUrl":"https:\/\/longvan.net\/cong-dong\/wp-content\/uploads\/2025\/11\/cropped-logo-longvancloudsolution.png","width":1300,"height":330,"caption":"Long V\u00e2n"},"image":{"@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/longvan.net\/cong-dong\/#\/schema\/person\/0f5bb4435e991d494ff8f4b132e5ed8b","name":"Mai V\u0103n Chung","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/201def381d0ff0c15e626fc20b54d828d1d99708c72f9d8dc178c924cf993552?s=96&d=mm&r=g","caption":"Mai V\u0103n Chung"},"sameAs":["http:\/\/longvan.net"],"url":"https:\/\/longvan.net\/cong-dong\/author\/vanchung\/"}]}},"_links":{"self":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/comments?post=1915"}],"version-history":[{"count":12,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1915\/revisions"}],"predecessor-version":[{"id":2063,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/posts\/1915\/revisions\/2063"}],"wp:attachment":[{"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/media?parent=1915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/categories?post=1915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/longvan.net\/cong-dong\/wp-json\/wp\/v2\/tags?post=1915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}