{"id":5717,"date":"2021-05-19T13:56:00","date_gmt":"2021-05-19T13:56:00","guid":{"rendered":"https:\/\/www.magetop.com\/blog\/?p=5717"},"modified":"2021-09-29T08:54:23","modified_gmt":"2021-09-29T08:54:23","slug":"host-multiple-websites-on-one-apache-server-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/","title":{"rendered":"Host Multiple Websites On One Apache Server On Ubuntu"},"content":{"rendered":"\n\n\n<p>In this post, I will guide you on&nbsp;<strong>Host Multiple Websites On One Apache Server On Ubuntu<\/strong>. Use Apache Virtual Host to configure different domains on your Apache Server.<\/p>\n\n\n\n<p>If you have a server with large hardware resources, then you can host multiple websites using virtual hosting to make full use of it. Apache Virtual Host is one of the useful functions for you to host multiple websites on a single server.<\/p>\n\n\n\n<p>We choose to use VPS provided by Vultr to bring speed and stability to the website. If you have not used any VPS service, please click <a href=\"https:\/\/www.vultr.com\/?ref=8377863-6G\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">here<\/a> to sign up for an account and get $100 for free.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps To Configure Multiple Websites On A Single Apache Server<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. Install Apache Web Server<\/strong><\/h4>\n\n\n\n<p>If you don\u2019t have an Apache server installed refer to post:&nbsp;<a href=\"https:\/\/www.magetop.com\/blog\/install-apache-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>How To Install Apache On Ubuntu 20.04<\/strong><\/a>.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2. Create the Directory Structure<\/strong><\/h4>\n\n\n\n<p>First, create a document root directory for both websites by commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo mkdir \/var\/www\/html\/example.com\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo mkdir \/var\/www\/html\/example1.com\n<\/pre><\/div>\n\n\n<p>Next, create an&nbsp;<strong>index.html<\/strong>&nbsp;page to be track the results.<\/p>\n\n\n\n<p>Create&nbsp;an&nbsp;<strong>index.html<\/strong>&nbsp;page for site&nbsp;<code>example.com<\/code>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo nano \/var\/www\/html\/example.com\/index.html\n<\/pre><\/div>\n\n\n<p>Copy and paste below content to file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;html&gt;\n&lt;head&gt;\n    &lt;title&gt;example.com&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;h1&gt;Welcome to example.com website&lt;\/h1&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<p>Next, create&nbsp;an&nbsp;<strong>index.html<\/strong>&nbsp;page for site&nbsp;<code>example1.com<\/code>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo nano \/var\/www\/html\/example1.com\/index.html\n<\/pre><\/div>\n\n\n<p>Copy and paste below content to file.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;html&gt;\n&lt;head&gt;\n    &lt;title&gt;example1.com&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;h1&gt;Welcome to example1.com website&lt;\/h1&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>3. Grant Permissions<\/strong><\/h4>\n\n\n\n<p>Grant permissions of&nbsp;<code>example.com<\/code>&nbsp;and&nbsp;<code>example1.com<\/code>&nbsp;directory by commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nchown -R www-data:www-data \/var\/www\/html\/example.com\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nchown -R www-data:www-data \/var\/www\/html\/example1.com\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>4. Create a Virtual Host Configuration File<\/strong><\/h4>\n\n\n\n<p>Create an Apache virtual host configuration file for&nbsp;<code>example.com<\/code>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo nano \/etc\/apache2\/sites-available\/example.com.conf\n<\/pre><\/div>\n\n\n<p>Add the following lines:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@localhost\n    ServerName example.com\n    ServerAlias www.example.com\n    DocumentRoot \/var\/www\/html\/example.com\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\n    CustomLog ${APACHE_LOG_DIR}\/access.log combined\n&lt;\/VirtualHost&gt;\n<\/pre><\/div>\n\n\n<p>Create an Apache virtual host configuration file for&nbsp;<code>example1.com<\/code>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo nano \/etc\/apache2\/sites-available\/example1.com.conf\n<\/pre><\/div>\n\n\n<p>And add the following lines:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\n&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@localhost\n    ServerName example1.com\n    ServerAlias www.example1.com\n    DocumentRoot \/var\/www\/html\/example1.com\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\n    CustomLog ${APACHE_LOG_DIR}\/access.log combined\n&lt;\/VirtualHost&gt;\n<\/pre><\/div>\n\n\n<p>Then, enable the virtual host configuration file with the following commands:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo a2ensite example.com.conf\n<\/pre><\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; auto-links: false; title: ; notranslate\" title=\"\">\nsudo a2ensite example1.com.conf\n<\/pre><\/div>\n\n\n<p>Restart Apache for the changes to take effect.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsudo systemctl restart apache2\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>5. Test your Results<\/strong><\/h4>\n\n\n\n<p>Visit the website with the path&nbsp;<code>http:\/\/example.com<\/code>&nbsp;you will see results like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"5819\" data-permalink=\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/result-of-example\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?fit=1100%2C50&amp;ssl=1\" data-orig-size=\"1100,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Result-of-example\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?fit=300%2C14&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?fit=800%2C37&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?resize=800%2C36&#038;ssl=1\" alt=\"Result of example\" class=\"wp-image-5819\" width=\"800\" height=\"36\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?resize=300%2C14&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?resize=1024%2C47&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example.jpg?resize=768%2C35&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>And visit the website with the path&nbsp;<code>http:\/\/example1.com<\/code>&nbsp;you will see results like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"36\" data-attachment-id=\"5820\" data-permalink=\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/result-of-example1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?fit=1100%2C50&amp;ssl=1\" data-orig-size=\"1100,50\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}\" data-image-title=\"Result-of-example1\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?fit=300%2C14&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?fit=800%2C37&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?resize=800%2C36&#038;ssl=1\" alt=\"Result of example1\" class=\"wp-image-5820\" srcset=\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?w=1100&amp;ssl=1 1100w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?resize=300%2C14&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?resize=1024%2C47&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/07\/Result-of-example1.jpg?resize=768%2C35&amp;ssl=1 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>This is the end of the post.<\/p>\n\n\n\n<p>Follow us for the more helpful posts!<\/p>\n\n\n\n<p>We hope this is a useful post for you.<\/p>\n\n\n\n<p>You can read more useful posts like&nbsp;<strong><a href=\"https:\/\/www.magetop.com\/blog\/how-to-add-swap-space-on-ubuntu\/\" target=\"_blank\" rel=\"noreferrer noopener\">How To Add Swap Space On Ubuntu<\/a><\/strong>.<\/p>\n\n\n\n<p>Thank you for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, I will guide you on\u00a0Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.<\/p>\n","protected":false},"author":106,"featured_media":5818,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[2],"tags":[1545,1546,1549,1547,1548,1550],"class_list":["post-5717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2-tutorials","tag-host-multiple-websites-on-one-apache-server-on-ubuntu","tag-how-to-host-multiple-websites-on-one-apache-server","tag-how-to-set-up-multiple-domains-on-an-apache-web-server","tag-multiple-websites","tag-multiple-websites-on-a-single-apache-server","tag-multiple-websites-on-one-apache-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog<\/title>\n<meta name=\"description\" content=\"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog\" \/>\n<meta property=\"og:description\" content=\"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Magetop Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MagetopStore\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-19T13:56:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-29T08:54:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1571\" \/>\n\t<meta property=\"og:image:height\" content=\"930\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Aaron LX\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:site\" content=\"@MagetopStore\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Aaron LX\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\"},\"author\":{\"name\":\"Aaron LX\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\"},\"headline\":\"Host Multiple Websites On One Apache Server On Ubuntu\",\"datePublished\":\"2021-05-19T13:56:00+00:00\",\"dateModified\":\"2021-09-29T08:54:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\"},\"wordCount\":356,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1\",\"keywords\":[\"Host Multiple Websites On One Apache Server On Ubuntu\",\"How to Host Multiple Websites On One Apache Server\",\"How To Set Up Multiple Domains on an Apache Web Server\",\"Multiple Websites\",\"Multiple Websites On A Single Apache Server\",\"Multiple Websites On One Apache Server\"],\"articleSection\":[\"Magento 2 Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\",\"url\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\",\"name\":\"Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1\",\"datePublished\":\"2021-05-19T13:56:00+00:00\",\"dateModified\":\"2021-09-29T08:54:23+00:00\",\"description\":\"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1\",\"width\":1571,\"height\":930,\"caption\":\"Host Multiple Websites On One Apache Server On Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.magetop.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Host Multiple Websites On One Apache Server On Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#website\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"name\":\"Magetop Blog\",\"description\":\"Exploring Magento Tips, Tricks, and Trends\",\"publisher\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.magetop.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#organization\",\"name\":\"Magetop.com\",\"url\":\"https:\/\/www.magetop.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1\",\"width\":475,\"height\":475,\"caption\":\"Magetop.com\"},\"image\":{\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/MagetopStore\",\"https:\/\/x.com\/MagetopStore\",\"https:\/\/www.linkedin.com\/company\/magetop\",\"https:\/\/www.pinterest.com\/magetop\",\"https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7\",\"name\":\"Aaron LX\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1\",\"caption\":\"Aaron LX\"},\"description\":\"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.\",\"url\":\"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog","description":"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.","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:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog","og_description":"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.","og_url":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/","og_site_name":"Magetop Blog","article_publisher":"https:\/\/www.facebook.com\/MagetopStore","article_published_time":"2021-05-19T13:56:00+00:00","article_modified_time":"2021-09-29T08:54:23+00:00","og_image":[{"width":1571,"height":930,"url":"https:\/\/i2.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","type":"image\/png"}],"author":"Aaron LX","twitter_card":"summary_large_image","twitter_creator":"@MagetopStore","twitter_site":"@MagetopStore","twitter_misc":{"Written by":"Aaron LX","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/"},"author":{"name":"Aaron LX","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7"},"headline":"Host Multiple Websites On One Apache Server On Ubuntu","datePublished":"2021-05-19T13:56:00+00:00","dateModified":"2021-09-29T08:54:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/"},"wordCount":356,"commentCount":2,"publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","keywords":["Host Multiple Websites On One Apache Server On Ubuntu","How to Host Multiple Websites On One Apache Server","How To Set Up Multiple Domains on an Apache Web Server","Multiple Websites","Multiple Websites On A Single Apache Server","Multiple Websites On One Apache Server"],"articleSection":["Magento 2 Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/","url":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/","name":"Host Multiple Websites On One Apache Server On Ubuntu - Magetop Blog","isPartOf":{"@id":"https:\/\/www.magetop.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","datePublished":"2021-05-19T13:56:00+00:00","dateModified":"2021-09-29T08:54:23+00:00","description":"In this post, I will guide you on Host Multiple Websites On One Apache Server On Ubuntu. Use Apache Virtual Host to configure different domains on your Apache Server.","breadcrumb":{"@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#primaryimage","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","width":1571,"height":930,"caption":"Host Multiple Websites On One Apache Server On Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.magetop.com\/blog\/host-multiple-websites-on-one-apache-server-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.magetop.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Host Multiple Websites On One Apache Server On Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/www.magetop.com\/blog\/#website","url":"https:\/\/www.magetop.com\/blog\/","name":"Magetop Blog","description":"Exploring Magento Tips, Tricks, and Trends","publisher":{"@id":"https:\/\/www.magetop.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.magetop.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.magetop.com\/blog\/#organization","name":"Magetop.com","url":"https:\/\/www.magetop.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/11\/logo.png?fit=475%2C475&ssl=1","width":475,"height":475,"caption":"Magetop.com"},"image":{"@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/MagetopStore","https:\/\/x.com\/MagetopStore","https:\/\/www.linkedin.com\/company\/magetop","https:\/\/www.pinterest.com\/magetop","https:\/\/www.youtube.com\/channel\/UCXoiJsz88OfPmwa8QpUkwOA"]},{"@type":"Person","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/b8770690a02cc53a273d6b7205229ff7","name":"Aaron LX","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.magetop.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/11\/475315059_122137709240563546_260104055231757176_n.jpg?fit=96%2C96&#038;ssl=1","caption":"Aaron LX"},"description":"Aaron is a passionate writer, crazy about shopping, eCommerce and trends. Besides his outstanding research skills and a positive mind, Aaron eagerly shares his experience with the readers.","url":"https:\/\/www.magetop.com\/blog\/author\/aaron-lx\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Host-Multiple-Websites-On-One-Apache-Server-On-Ubuntu.png?fit=1571%2C930&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/paOdw5-1ud","jetpack-related-posts":[{"id":5481,"url":"https:\/\/www.magetop.com\/blog\/install-apache-on-ubuntu-20-04\/","url_meta":{"origin":5717,"position":0},"title":"How To Install Apache On Ubuntu 20.04","author":"Aaron LX","date":"May 5, 2021","format":false,"excerpt":"In this post, I will guide you on\u00a0How To Install Apache On Ubuntu 20.04. Apache is the most widely used web server in the world.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Apache On Ubuntu 20.04","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Apache-On-Ubuntu-20.04.jpg?fit=750%2C446&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Apache-On-Ubuntu-20.04.jpg?fit=750%2C446&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Apache-On-Ubuntu-20.04.jpg?fit=750%2C446&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Apache-On-Ubuntu-20.04.jpg?fit=750%2C446&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":8219,"url":"https:\/\/www.magetop.com\/blog\/difference-between-nodejs-vs-nginx\/","url_meta":{"origin":5717,"position":1},"title":"Difference between Nodejs vs Nginx","author":"Adam Roger","date":"January 25, 2023","format":false,"excerpt":"In short, Node.js is a tool for building network applications using JavaScript, while Nginx is a web server and reverse proxy","rel":"","context":"In &quot;Magetop Guest Post&quot;","block_context":{"text":"Magetop Guest Post","link":"https:\/\/www.magetop.com\/blog\/welcome-to-our-guest-post\/"},"img":{"alt_text":"Difference between Nodejs vs Nginx","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/01\/Difference-between-Nodejs-vs-Nginx.png?fit=800%2C412&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/01\/Difference-between-Nodejs-vs-Nginx.png?fit=800%2C412&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/01\/Difference-between-Nodejs-vs-Nginx.png?fit=800%2C412&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2023\/01\/Difference-between-Nodejs-vs-Nginx.png?fit=800%2C412&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":10143,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-varnish-cache-on-ubuntu\/","url_meta":{"origin":5717,"position":2},"title":"How To Install Varnish Cache on Ubuntu","author":"Aaron LX","date":"May 4, 2025","format":false,"excerpt":"Varnish Cache is a high-performance HTTP accelerator designed to cache and serve content faster, significantly improving web application speed. This guide will walk you through How To Install Varnish Cache on Ubuntu. Steps To Install Varnish Cache on Ubuntu Step 1: Update Your System Keep your server up to date\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Varnish Cache on Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Varnish-Cache-on-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Varnish-Cache-on-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Varnish-Cache-on-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Varnish-Cache-on-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/05\/How-To-Install-Varnish-Cache-on-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5563,"url":"https:\/\/www.magetop.com\/blog\/install-lets-encrypt-ssl-on-ubuntu-20-04\/","url_meta":{"origin":5717,"position":3},"title":"How To Install Let\u2019s Encrypt SSL On Ubuntu 20.04","author":"Aaron LX","date":"May 28, 2021","format":false,"excerpt":"In this post, I will guide you on\u00a0How To Install Let\u2019s Encrypt SSL On Ubuntu 20.04. Get an SSL certificate for your domain with the Apache Web Server.","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install Let\u2019s Encrypt SSL On Ubuntu 20.04","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Lets-Encrypt-SSL-On-Ubuntu-20.04.png?fit=1200%2C711&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Lets-Encrypt-SSL-On-Ubuntu-20.04.png?fit=1200%2C711&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Lets-Encrypt-SSL-On-Ubuntu-20.04.png?fit=1200%2C711&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Lets-Encrypt-SSL-On-Ubuntu-20.04.png?fit=1200%2C711&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/How-To-Install-Lets-Encrypt-SSL-On-Ubuntu-20.04.png?fit=1200%2C711&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":9819,"url":"https:\/\/www.magetop.com\/blog\/how-to-install-phpmyadmin-on-ubuntu\/","url_meta":{"origin":5717,"position":4},"title":"How To Install phpMyAdmin On Ubuntu","author":"Aaron LX","date":"February 11, 2025","format":false,"excerpt":"phpMyAdmin is a free, open-source tool used to manage MySQL and MariaDB databases through a web-based interface. Written in PHP, it allows users to perform a wide range of database operations, including creating, modifying, and deleting databases, tables, and records. Please follow the post\u00a0How To Install phpMyAdmin On Ubuntu to\u2026","rel":"","context":"In &quot;Magento 2 Tutorials&quot;","block_context":{"text":"Magento 2 Tutorials","link":"https:\/\/www.magetop.com\/blog\/magento-2-tutorials\/"},"img":{"alt_text":"How To Install phpMyAdmin On Ubuntu","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2025\/02\/How-To-Install-phpMyAdmin-On-Ubuntu.png?fit=1200%2C667&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":5718,"url":"https:\/\/www.magetop.com\/blog\/cach-cai-dat-apache-tren-ubuntu-20-04\/","url_meta":{"origin":5717,"position":5},"title":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Apache tr\u00ean Ubuntu 20.04","author":"Callula Huy","date":"May 17, 2021","format":false,"excerpt":"Trong b\u00e0i vi\u1ebft n\u00e0y m\u00ecnh s\u1ebd h\u01b0\u1edbng d\u1eabn b\u1ea1n c\u00e1ch c\u00e0i \u0111\u1eb7t Apache tr\u00ean Ubuntu 20.04.","rel":"","context":"In &quot;Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t&quot;","block_context":{"text":"Magento 2 H\u01b0\u1edbng D\u1eabn Ti\u1ebfng Vi\u1ec7t","link":"https:\/\/www.magetop.com\/blog\/vn\/"},"img":{"alt_text":"H\u01b0\u1edbng d\u1eabn c\u00e0i \u0111\u1eb7t Apache tr\u00ean Ubuntu 20.04","src":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-cai-dat-Apache-tren-Ubuntu-20.04.png?fit=750%2C359&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-cai-dat-Apache-tren-Ubuntu-20.04.png?fit=750%2C359&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-cai-dat-Apache-tren-Ubuntu-20.04.png?fit=750%2C359&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.magetop.com\/blog\/wp-content\/uploads\/2021\/05\/Huong-dan-cai-dat-Apache-tren-Ubuntu-20.04.png?fit=750%2C359&ssl=1&resize=700%2C400 2x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/users\/106"}],"replies":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/comments?post=5717"}],"version-history":[{"count":4,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5717\/revisions"}],"predecessor-version":[{"id":7493,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/posts\/5717\/revisions\/7493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media\/5818"}],"wp:attachment":[{"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/media?parent=5717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/categories?post=5717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.magetop.com\/blog\/wp-json\/wp\/v2\/tags?post=5717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}