{"id":18155,"date":"2024-12-03T10:53:12","date_gmt":"2024-12-03T10:53:12","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=18155"},"modified":"2025-04-09T15:09:40","modified_gmt":"2025-04-09T15:09:40","password":"","slug":"how-to-install-ispconfig-on-debian-12","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/","title":{"rendered":"How to install ispconfig on Debian 12"},"content":{"rendered":"\n<p>This guide will take through the process of installing ISPConfig panel on debian 12 server. \\<\/p>\n\n\n\n<p>Follow all the steps to ensure proper configuration.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. Log in to the server as root<\/h2>\n\n\n\n<p>To switch to root user.<\/p>\n\n\n\n<p>On debian:<\/p>\n\n\n\n<p><code>su - <\/code>or<code> su --login<\/code><\/p>\n\n\n\n<p>On Ubuntu<\/p>\n\n\n\n<p><code>su -s<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. Configure the hostname and hosts<\/h2>\n\n\n\n<p><code>nano \/etc\/hosts<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>127.0.0.1 localhost.localdomain localhost # This line should be changed to the correct servername: 127.0.1.1 srv2.yourdomain.com server1 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters<\/p>\n\n\n\n<p>Then edit the \/etc\/hostname file: <\/p>\n\n\n\n<p><code>nano \/etc\/hostname<\/code><\/p>\n\n\n\n<p>It shall contain only the subdomain part, in our case: <\/p>\n\n\n\n<p><code>srv2<\/code><\/p>\n\n\n\n<p>Type the command below for changes to take effect.<\/p>\n\n\n\n<p><code>exec bash<\/code><\/p>\n\n\n\n<p>or <\/p>\n\n\n\n<p>reboot the server<\/p>\n\n\n\n<p><code>reboot<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"-update-the-system\">3. Update the system<\/h2>\n\n\n\n<p>To update the system packages, run the command:<\/p>\n\n\n\n<p><code>apt update &amp;&amp; apt upgrade<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"-run-the-autoinstaller\">4. Run the autoinstaller<\/h2>\n\n\n\n<p>Download and run the installation script.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Install ISPConfig with Apache web server<\/h5>\n\n\n\n<p><code>wget -O - https:\/\/get.ispconfig.org | sh -s -- --use-ftp-ports=40110-40210 --unattended-upgrades <\/code><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Install ISPConfig with Nginx web server<\/h5>\n\n\n\n<p><code>wget -O - https:\/\/get.ispconfig.org | sh -s -- --use-nginx --use-ftp-ports=40110-40210 --unattended-upgrades<\/code><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Once installation is completed, you can access the panel using the url<\/p>\n\n\n\n<p>ISconfig uses port 8080<\/p>\n\n\n\n<p>https:\/\/11.22.33.44:8080\/  *Replace with your server IP.<\/p>\n\n\n\n<p>or use your server hostname<\/p>\n\n\n\n<p>server.yourdomain.com:8080\/login<\/p>\n\n\n\n<p><a href=\"https:\/\/srv2.lintsawa.com:8080\/login\">https:\/\/srv2.lintsawa.com:8080\/login<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"971\" height=\"596\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png\" alt=\"\" class=\"wp-image-18162\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png 971w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104-300x184.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104-768x471.png 768w\" sizes=\"auto, (max-width: 971px) 100vw, 971px\" \/><\/figure>\n\n\n\n<p>Once logged in, you will see a page as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"532\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-102-1024x532.png\" alt=\"\" class=\"wp-image-18157\" style=\"width:840px;height:auto\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-102-1024x532.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-102-300x156.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-102-768x399.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-102.png 1329w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">5. Setting up the firewall<\/h2>\n\n\n\n<p>Log in to the ISPConfig UI, and go to <code><strong>System -> Firewall.<\/strong><\/code> Then click &#8220;<strong><code>Add new firewall record<\/code><\/strong>&#8220;.<\/p>\n\n\n\n<p>For a normal setup, it would look like this:<\/p>\n\n\n\n<p>TCP:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">20,21,22,25,80,443,40110:40210,110,143,465,587,993,995,53,8080,8081<\/pre>\n\n\n\n<p>UDP:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">53<\/pre>\n\n\n\n<p>The necessary ports for every service are:<\/p>\n\n\n\n<p>Web: 20, 21, 22, 80, 443 and 40110:40210 (All TCP, no UDP)<\/p>\n\n\n\n<p>Mail: 25, 110, 143, 465, 587, 993, and 995 (All TCP, no UDP)<\/p>\n\n\n\n<p>DNS: 53 (TCP and UDP)<\/p>\n\n\n\n<p><code>Panel: 8080 and 8081 (All TCP, no UDP)<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"512\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-103-1024x512.png\" alt=\"\" class=\"wp-image-18158\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-103-1024x512.png 1024w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-103-300x150.png 300w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-103-768x384.png 768w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-103.png 1323w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Congrats. You have successfully installed ispconfig on your server.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide will take through the process of installing ISPConfig panel on debian 12 server. \\ Follow all the steps to ensure proper configuration. 1. Log in to the server as root To switch to root user. On debian: su &#8211; or su &#8211;login On Ubuntu su -s 2. Configure the hostname and hosts nano [&hellip;]<\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[2140,2137],"doc_tag":[],"class_list":["post-18155","docs","type-docs","status-publish","hentry","doc_category-dns","doc_category-ispconfig"],"year_month":"2026-07","word_count":307,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Kibera","author_nicename":"dan-k","author_url":"https:\/\/truehost.com\/support\/author\/dan-k\/"},"doc_category_info":[{"term_name":"DNS","term_url":"https:\/\/truehost.com\/support\/docs-category\/dns\/"},{"term_name":"IspConfig","term_url":"https:\/\/truehost.com\/support\/docs-category\/ispconfig\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to install ispconfig on Debian 12 -<\/title>\n<meta name=\"description\" content=\"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install ispconfig on Debian 12 -\" \/>\n<meta property=\"og:description\" content=\"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-09T15:09:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/\",\"name\":\"How to install ispconfig on Debian 12 -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/image-104.png\",\"datePublished\":\"2024-12-03T10:53:12+00:00\",\"dateModified\":\"2025-04-09T15:09:40+00:00\",\"description\":\"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/image-104.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/image-104.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-install-ispconfig-on-debian-12\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install ispconfig on Debian 12\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install ispconfig on Debian 12 -","description":"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.","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:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to install ispconfig on Debian 12 -","og_description":"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/","article_modified_time":"2025-04-09T15:09:40+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/","name":"How to install ispconfig on Debian 12 -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png","datePublished":"2024-12-03T10:53:12+00:00","dateModified":"2025-04-09T15:09:40+00:00","description":"This guide will take through the process of installing ISPConfig panel on debian 12 server. Follow all the steps keen as shown below.","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/12\/image-104.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-install-ispconfig-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to install ispconfig on Debian 12"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=18155"}],"version-history":[{"count":3,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18155\/revisions"}],"predecessor-version":[{"id":18163,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/18155\/revisions\/18163"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=18155"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=18155"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=18155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}