{"id":832,"date":"2024-06-21T10:55:33","date_gmt":"2024-06-21T08:55:33","guid":{"rendered":"https:\/\/artheodoc.fr\/?page_id=832"},"modified":"2024-07-17T09:01:50","modified_gmt":"2024-07-17T07:01:50","slug":"installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat","status":"publish","type":"page","link":"https:\/\/artheodoc.fr\/index.php\/installation-dun-site-sur-le-serveur-web-apache-avec-nom-de-domaine-et-certificat\/","title":{"rendered":"Installation d\u2019un site sur le serveur WEB Apache avec nom de domaine et certificat"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"220\" src=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/apache2-logo1.png\" alt=\"\" class=\"wp-image-835\" srcset=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/apache2-logo1.png 320w, https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/apache2-logo1-300x206.png 300w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><strong>1 \u2013 Cr\u00e9ation du nom de sous-domaine avec FreeDNS<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/1-Creer_un_nom_de_sous_domaine_avec_FreeDNS.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/1-Creer_un_nom_de_sous_domaine_avec_FreeDNS.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Cr\u00e9er un nom de sous-domaine avec FreeDNS<\/a><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-8acbf7fb44376406a87b6626c3c214c3\"><em><strong>Notez votre nom de sous-domaine.<\/strong><\/em><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>2 \u2013 Installation de la machine sous Debian 12<\/strong><\/p>\n\n\n\n<p>Dans un premier temps, on installe Debian 12 sur le serveur sans interface graphique avec les serveurs WEB Apache et SSH. Cette machine peut \u00eatre virtuelle sous VirtualBox ou physique du moment o\u00f9 elle est sur votre r\u00e9seau local.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-de-debian-12-dans-une-machine-virtuelle-sous-virtualbox\/\" data-type=\"page\" data-id=\"951\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Debian 12 dans une machine virtuelle sous VirtualBox<\/a><\/p>\n\n\n\n<p>Votre serveur doit avoir une IP fixe sur votre r\u00e9seau local (<em><strong>\u00e0 d\u00e9finir et \u00e0 noter<\/strong><\/em>) en dehors de la plage DHCP s\u2019il y en a une.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>3 \u2013 Configuration des r\u00e8gles NAT sur la Livebox 5<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/2-Configuration_de_la_livebox_5_Orange_regles_NAT.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/2-Configuration_de_la_livebox_5_Orange_regles_NAT.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Configuration de la Livebox 5 Orange r\u00e8gles NAT<\/a><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-link-color has-medium-font-size wp-elements-a7554957bb6dbbb0678ed0ba28afd964\"><em>Pour la suite, remplacez les param\u00e8tres<\/em> <strong>mon_nom_de_domaine.com<\/strong>, <strong>mon_nom_de_domaine.conf<\/strong>, <strong>mon_serveur<\/strong> <em>par les v\u00f4tres.<\/em><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>4 \u2013 Configuration du serveur WEB Apache avec nom de domaine (HTTP-80)<\/strong><\/p>\n\n\n\n<p>Remplacer <strong><em>mon_nom_de_domaine.conf<\/em><\/strong> par le nom de domaine cr\u00e9\u00e9 pr\u00e9c\u00e9demment (chez FreeDNS dans mon cas) avec l\u2019extention .conf et <strong><em>mon_serveur<\/em><\/strong> par le nom des dossiers pour le site et les logs.<\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/3-Configuration_du_serveur_WEB_Apache_avec_nom_de_domaine.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/3-Configuration_du_serveur_WEB_Apache_avec_nom_de_domaine.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Configuration du serveur WEB Apache avec nom de domaine<\/a><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>5 \u2013 Installation et configuration pour le certificat (HTTPS-443)<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/4-Installation_de_Certbot_et_du_certificat.pdf\" data-type=\"link\" data-id=\"https:\/\/artheodoc.fr\/wp-content\/uploads\/2024\/06\/4-Installation_de_Certbot_et_du_certificat.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Certbot et du certificat<\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Plus d&rsquo;informations<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/fichiers-et-dossiers-du-navigateur-web-apache-et-commandes-utiles-pour-la-configuration\/\" data-type=\"page\" data-id=\"22\" target=\"_blank\" rel=\"noreferrer noopener\">Fichiers et dossiers du navigateur WEB Apache et commandes utiles pour la configuration<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/consulter-le-log-pour-apache-sous-debian-12\/\" data-type=\"page\" data-id=\"27\" target=\"_blank\" rel=\"noreferrer noopener\">Consulter le log pour Apache sous Debian 12<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/installation-de-certbot\/\" data-type=\"page\" data-id=\"96\" target=\"_blank\" rel=\"noreferrer noopener\">Installation de Certbot<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/pour-renouveler-manuellement-les-certificats-lets-encrypt\/\" data-type=\"page\" data-id=\"102\" target=\"_blank\" rel=\"noreferrer noopener\">Pour renouveler manuellement les certificats Let\u2019s Encrypt<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/artheodoc.fr\/index.php\/gestion-des-certificats\/\" data-type=\"page\" data-id=\"650\" target=\"_blank\" rel=\"noreferrer noopener\">Gestion des certificats<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 \u2013 Cr\u00e9ation du nom de sous-domaine avec FreeDNS Cr\u00e9er un nom de sous-domaine avec FreeDNS Notez votre nom de sous-domaine. 2 \u2013 Installation de la machine sous Debian 12 Dans un premier temps, on installe Debian 12 sur le serveur sans interface graphique avec les serveurs WEB Apache et SSH. Cette machine peut \u00eatre [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-832","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/comments?post=832"}],"version-history":[{"count":25,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/832\/revisions"}],"predecessor-version":[{"id":954,"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/pages\/832\/revisions\/954"}],"wp:attachment":[{"href":"https:\/\/artheodoc.fr\/index.php\/wp-json\/wp\/v2\/media?parent=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}