{"id":3110,"date":"2022-11-05T21:17:45","date_gmt":"2022-11-05T21:17:45","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=3110"},"modified":"2022-11-05T21:17:47","modified_gmt":"2022-11-05T21:17:47","slug":"comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/","title":{"rendered":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr.jpg\" alt=\"installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS\" class=\"wp-image-3113\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-install-apache\">Introduction<\/h2>\n\n\n\n<p>Les h\u00f4tes virtuels vous permettent de servir plusieurs sites Web sur un seul serveur. Cela peut \u00eatre utile si vous souhaitez h\u00e9berger plusieurs sites Web sur un seul serveur, ou si vous souhaitez d\u00e9placer un site Web existant vers un nouveau serveur.<\/p>\n\n\n\n<p>Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes virtuels sur un serveur Ubuntu 18.04.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-install-apache\">Etape 1&nbsp;: Installer Apache<\/h2>\n\n\n\n<p>Avant de pouvoir configurer des h\u00f4tes virtuels, nous devons installer le serveur web Apache.<\/p>\n\n\n\n<p>Nous pouvons installer Apache en utilisant le gestionnaire de paquets apt&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo apt update\n$ sudo apt install apache2<\/code><\/pre>\n\n\n\n<p>Une fois Apache install\u00e9, nous pouvons v\u00e9rifier qu\u2019il fonctionne en visitant l\u2019adresse IP de notre serveur dans un navigateur web&nbsp;:<\/p>\n\n\n\n<p>http:\/\/server_ip_address<\/p>\n\n\n\n<p>Vous devriez voir la page par d\u00e9faut d\u2019Apache, qui ressemble \u00e0 ceci&nbsp;:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"804\" height=\"555\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache-default-page-2.png\" alt=\"Apache ubuntu par par d\u00e9faut\" class=\"wp-image-3136\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache-default-page-2.png 804w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache-default-page-2-300x207.png 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache-default-page-2-768x530.png 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache-default-page-2-150x104.png 150w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-set-up-a-domain-name\">\u00c9tape 2&nbsp;: Configurer un nom de domaine<\/h2>\n\n\n\n<p>Pour que les h\u00f4tes virtuels fonctionnent, vous devrez configurer un nom de domaine qui pointe vers l\u2019adresse IP de votre serveur.<\/p>\n\n\n\n<p>Si vous n\u2019avez pas d\u00e9j\u00e0 un nom de domaine, vous pouvez en <a href=\"https:\/\/www.webhi.com\/enregistrer-nom-domaine\" target=\"_blank\" rel=\"noreferrer noopener\">acheter sur notre site web<\/a>.<\/p>\n\n\n\n<p>Une fois que vous avez un nom de domaine, vous devrez configurer un enregistrement A qui pointe vers l\u2019adresse IP de votre serveur.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-create-the-virtual-host-files\">\u00c9tape 3&nbsp;: Cr\u00e9er les fichiers de l\u2019h\u00f4te virtuel<\/h2>\n\n\n\n<p>Les fichiers h\u00f4tes virtuels sont stock\u00e9s dans le r\u00e9pertoire \/etc\/apache2\/sites-available.<\/p>\n\n\n\n<p>Nous allons cr\u00e9er un fichier h\u00f4te virtuel pour chaque site Web que nous voulons h\u00e9berger sur notre serveur.<\/p>\n\n\n\n<p>Par exemple, disons que nous voulions cr\u00e9er un fichier h\u00f4te virtuel pour un site Web appel\u00e9 example.com. Nous cr\u00e9erions un fichier appel\u00e9 \/etc\/apache2\/sites-available\/example.com.conf avec le contenu suivant&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">&lt;VirtualHost *:80&gt;\n    ServerAdmin webmaster@example.com\n    ServerName example.com\n    ServerAlias www.example.com\n    DocumentRoot \/var\/www\/example.com\/public_html\n    ErrorLog ${APACHE_LOG_DIR}\/error.log\n    CustomLog ${APACHE_LOG_DIR}\/access.log combin\u00e9s\n&lt;\/VirtualHost&gt;<\/code><\/pre>\n\n\n\n<p>Assurez-vous de remplacer le nom de domaine exemple.com par votre propre nom de domaine.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-4-enable-the-virtual-host-files\">\u00c9tape 4&nbsp;: Activer les fichiers de l\u2019h\u00f4te virtuel<\/h2>\n\n\n\n<p>Une fois que vous avez cr\u00e9\u00e9 vos fichiers h\u00f4tes virtuels, vous devez les activer.<\/p>\n\n\n\n<p>Vous pouvez activer les fichiers h\u00f4tes virtuels avec la commande a2ensite&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo a2ensite example.com.conf<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-5-disable-the-default-virtual-host\">\u00c9tape 5&nbsp;: D\u00e9sactiver l\u2019h\u00f4te virtuel par d\u00e9faut<\/h2>\n\n\n\n<p>Apache est livr\u00e9 avec un fichier h\u00f4te virtuel par d\u00e9faut appel\u00e9 000-default.conf. Ce fichier se trouve dans le r\u00e9pertoire \/etc\/apache2\/sites-available.<\/p>\n\n\n\n<p>Nous devons d\u00e9sactiver ce fichier afin qu\u2019il ne soit pas en conflit avec nos fichiers h\u00f4tes virtuels.<\/p>\n\n\n\n<p>Nous pouvons d\u00e9sactiver le fichier h\u00f4te virtuel par d\u00e9faut avec la commande a2dissite&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo a2dissite 000-default.conf<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-6-restart-apache\">\u00c9tape 6&nbsp;: Red\u00e9marrer Apache<\/h2>\n\n\n\n<p>Apr\u00e8s avoir cr\u00e9\u00e9 et activ\u00e9 vos fichiers h\u00f4tes virtuels, vous devez red\u00e9marrer le serveur web Apache afin que les modifications puissent prendre effet&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">$ sudo systemctl restart apache2<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-7-test-your-virtual-hosts\">\u00c9tape 7&nbsp;: Tester vos h\u00f4tes virtuels<\/h2>\n\n\n\n<p>Vous pouvez maintenant tester vos h\u00f4tes virtuels en visitant votre site Web dans un navigateur Web.<\/p>\n\n\n\n<p>Par exemple, si vous configurez un fichier h\u00f4te virtuel pour le domaine example.com, vous devez consulter l\u2019URL suivante dans votre navigateur Web&nbsp;:<\/p>\n\n\n\n<p>http:\/\/example.com<\/p>\n\n\n\n<p>Vous devriez voir le site Web que vous avez configur\u00e9 dans le r\u00e9pertoire DocumentRoot.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Dans ce guide, nous vous avons montr\u00e9 comment configurer des h\u00f4tes virtuels sur un serveur Ubuntu 18.04. Les h\u00f4tes virtuels vous permettent d\u2019h\u00e9berger plusieurs sites Web sur un seul serveur.<\/p>\n\n\n\n<p>Les h\u00f4tes virtuels vous permettent de servir plusieurs sites Web sur un seul serveur. Cela peut \u00eatre utile si vous souhaitez h\u00e9berger plusieurs sites Web sur un seul serveur, ou si vous souhaitez d\u00e9placer un site Web existant vers un nouveau serveur.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Les h\u00f4tes virtuels vous permettent de servir plusieurs sites Web sur un seul serveur. Cela peut \u00eatre utile si vous souhaitez h\u00e9berger plusieurs sites Web sur un seul serveur, ou si vous souhaitez d\u00e9placer un site Web existant vers un nouveau serveur. Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes virtuels ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[67,41],"tags":[],"yoast_head":"\n<title>Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.\" \/>\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.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-05T21:17:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-05T21:17:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\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\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS\",\"datePublished\":\"2022-11-05T21:17:45+00:00\",\"dateModified\":\"2022-11-05T21:17:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\"},\"wordCount\":612,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Administration syst\u00e8me Linux\",\"Serveurs web\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\",\"name\":\"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-11-05T21:17:45+00:00\",\"dateModified\":\"2022-11-05T21:17:47+00:00\",\"description\":\"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations","description":"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.","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.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/","og_locale":"en_US","og_type":"article","og_title":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations","og_description":"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.","og_url":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-11-05T21:17:45+00:00","article_modified_time":"2022-11-05T21:17:47+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/11\/apache_ubuntu_fr.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS","datePublished":"2022-11-05T21:17:45+00:00","dateModified":"2022-11-05T21:17:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/"},"wordCount":612,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Administration syst\u00e8me Linux","Serveurs web"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/","url":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/","name":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-11-05T21:17:45+00:00","dateModified":"2022-11-05T21:17:47+00:00","description":"Dans ce guide, nous allons vous montrer comment configurer des h\u00f4tes Apache virtuels sur un serveur Ubuntu 18.04\/20.04\/22.04 LTS.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/fr\/comment-installer-et-configurer-apache-hotes-virtuels-sur-ubuntu-18-04-20-04-22-04-lts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"Comment installer et configurer Apache H\u00f4tes virtuels sur Ubuntu 18.04\/20.04\/22.04 LTS"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1780005063","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3110"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=3110"}],"version-history":[{"count":8,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3110\/revisions"}],"predecessor-version":[{"id":3137,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/3110\/revisions\/3137"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=3110"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=3110"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=3110"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}