{"id":3886,"date":"2026-07-22T21:33:33","date_gmt":"2026-07-22T21:33:33","guid":{"rendered":"https:\/\/disoh.com\/support\/how-do-i-change-a-domains-document-root-in-directadmin\/"},"modified":"2026-07-22T21:33:33","modified_gmt":"2026-07-22T21:33:33","password":"","slug":"hoe-wijzig-ik-de-documentroot-van-een-domein-in-directadmin","status":"publish","type":"docs","link":"https:\/\/disoh.com\/nl\/support\/how-do-i-change-a-domains-document-root-in-directadmin\/","title":{"rendered":"Hoe wijzig ik de documentroot van een domein in DirectAdmin?"},"content":{"rendered":"<p>De documentroot is de map op de server waarin de websitebestanden van een domein zijn opgeslagen. Door deze aan te passen, kun je een domein naar een andere map laten verwijzen. Dit is handig bij het reorganiseren van websites of wanneer je een app vanuit een submap wilt uitvoeren. In deze handleiding wordt uitgelegd hoe je dit in DirectAdmin kunt doen.<\/p>\n<h2>Wat de documentroot is<\/h2>\n<p>Standaard staan de bestanden van een domein in een map zoals <em>publieke_html<\/em> (of een domeinspecifieke map). De documentroot is simpelweg de map die het domein als website aanbiedt. Door deze te wijzigen, geef je de server de opdracht om een andere locatie te laden.<\/p>\n<h2>Wanneer je dit zou kunnen aanpassen<\/h2>\n<ul>\n<li>Een website onderbrengen in een overzichtelijkere mappenstructuur.<\/li>\n<li>Een domein koppelen aan de openbare submap van een framework.<\/li>\n<li>Een vernieuwde website aanbieden vanuit een nieuwe map.<\/li>\n<\/ul>\n<h2>De documentroot wijzigen<\/h2>\n<ol>\n<li>Log in bij DirectAdmin.<\/li>\n<li>Openen <strong>Domein instellen<\/strong> en selecteer het domein.<\/li>\n<li>Zoek de optie om de documentroot of de verwerking van `private_html` in te stellen of te wijzigen.<\/li>\n<li>Voer het pad naar de nieuwe map in.<\/li>\n<li>Opslaan.<\/li>\n<\/ol>\n<h2>Na het wijzigen van<\/h2>\n<ul>\n<li>Zorg ervoor dat de bestanden van je website daadwerkelijk in de nieuwe map staan.<\/li>\n<li>Laad je website opnieuw om te controleren of de juiste inhoud wordt weergegeven.<\/li>\n<li>Pas indien nodig alle vastgelegde paden aan.<\/li>\n<\/ul>\n<h2>Problemen oplossen<\/h2>\n<ul>\n<li><strong>De website toont een lege pagina of een indexlijst:<\/strong> Controleer of uw bestanden, inclusief de index, zich in de nieuwe documentroot bevinden.<\/li>\n<li><strong>Oude inhoud wordt nog steeds geladen:<\/strong> Wis de cache en vernieuw de pagina.<\/li>\n<\/ul>\n<h2>Hulp nodig?<\/h2>\n<p>Mocht het wijzigen van de documentroot problemen opleveren, dan staat ons ondersteuningsteam klaar om u via de livechat te helpen.<\/p>","protected":false},"excerpt":{"rendered":"<p>The document root is the folder on the server where a domain&#8217;s website files live. Changing it lets you point a domain to a different folder, which is useful when reorganising sites or running an app from a subfolder. This guide explains how in DirectAdmin. What the document root is By default, a domain&#8217;s files [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[12],"doc_tag":[],"class_list":["post-3886","docs","type-docs","status-publish","hentry","doc_category-webhosting"],"year_month":"2026-10","word_count":226,"total_views":"171","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jorn","author_nicename":"jorn","author_url":"https:\/\/disoh.com\/nl\/author\/jorn\/"},"doc_category_info":[{"term_name":"Webhosting","term_url":"https:\/\/disoh.com\/nl\/docs-category\/webhosting\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How do I change a domain&#039;s document root in DirectAdmin? &#8211; Disoh<\/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:\/\/disoh.com\/nl\/steun\/hoe-wijzig-ik-de-documentroot-van-een-domein-in-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How do I change a domain&#039;s document root in DirectAdmin? &#8211; Disoh\" \/>\n<meta property=\"og:description\" content=\"The document root is the folder on the server where a domain&#8217;s website files live. Changing it lets you point a domain to a different folder, which is useful when reorganising sites or running an app from a subfolder. This guide explains how in DirectAdmin. What the document root is By default, a domain&#8217;s files [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/disoh.com\/nl\/steun\/hoe-wijzig-ik-de-documentroot-van-een-domein-in-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"Disoh\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/disohhosting\" \/>\n<meta property=\"og:image\" content=\"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Geschatte leestijd\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minuut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fr\\\/soutien\\\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/fr\\\/soutien\\\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\\\/\",\"name\":\"How do I change a domain's document root in DirectAdmin? &#8211; Disoh\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#website\"},\"datePublished\":\"2026-07-22T21:33:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/fr\\\/soutien\\\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/disoh.com\\\/fr\\\/soutien\\\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/disoh.com\\\/fr\\\/soutien\\\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/disoh.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I change a domain&#8217;s document root in DirectAdmin?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#website\",\"url\":\"https:\\\/\\\/disoh.com\\\/sv\\\/\",\"name\":\"Disoh\",\"description\":\"Digital Solutions Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/disoh.com\\\/sv\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#organization\",\"name\":\"Disoh LLC\",\"url\":\"https:\\\/\\\/disoh.com\\\/sv\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"contentUrl\":\"https:\\\/\\\/disoh.com\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/favicon_1.svg\",\"width\":615,\"height\":615,\"caption\":\"Disoh LLC\"},\"image\":{\"@id\":\"https:\\\/\\\/disoh.com\\\/sv\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/disohhosting\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Hoe wijzig ik de documentroot van een domein in DirectAdmin? \u2013 Disoh","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:\/\/disoh.com\/nl\/steun\/hoe-wijzig-ik-de-documentroot-van-een-domein-in-directadmin\/","og_locale":"nl_NL","og_type":"article","og_title":"How do I change a domain's document root in DirectAdmin? &#8211; Disoh","og_description":"The document root is the folder on the server where a domain&#8217;s website files live. Changing it lets you point a domain to a different folder, which is useful when reorganising sites or running an app from a subfolder. This guide explains how in DirectAdmin. What the document root is By default, a domain&#8217;s files [&hellip;]","og_url":"https:\/\/disoh.com\/nl\/steun\/hoe-wijzig-ik-de-documentroot-van-een-domein-in-directadmin\/","og_site_name":"Disoh","article_publisher":"https:\/\/www.facebook.com\/disohhosting","og_image":[{"width":1536,"height":1024,"url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/07\/disoh_about.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Geschatte leestijd":"1 minuut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/disoh.com\/fr\/soutien\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\/","url":"https:\/\/disoh.com\/fr\/soutien\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\/","name":"Hoe wijzig ik de documentroot van een domein in DirectAdmin? \u2013 Disoh","isPartOf":{"@id":"https:\/\/disoh.com\/sv\/#website"},"datePublished":"2026-07-22T21:33:33+00:00","breadcrumb":{"@id":"https:\/\/disoh.com\/fr\/soutien\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/disoh.com\/fr\/soutien\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/disoh.com\/fr\/soutien\/comment-modifier-le-repertoire-racine-dun-domaine-dans-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/disoh.com\/"},{"@type":"ListItem","position":2,"name":"How do I change a domain&#8217;s document root in DirectAdmin?"}]},{"@type":"WebSite","@id":"https:\/\/disoh.com\/sv\/#website","url":"https:\/\/disoh.com\/sv\/","name":"Disoh","description":"Hosting voor digitale oplossingen","publisher":{"@id":"https:\/\/disoh.com\/sv\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/disoh.com\/sv\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"nl-NL"},{"@type":"Organization","@id":"https:\/\/disoh.com\/sv\/#organization","name":"Disoh LLC","url":"https:\/\/disoh.com\/sv\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@id":"https:\/\/disoh.com\/sv\/#\/schema\/logo\/image\/","url":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","contentUrl":"https:\/\/disoh.com\/wp-content\/uploads\/2025\/06\/favicon_1.svg","width":615,"height":615,"caption":"Disoh LLC"},"image":{"@id":"https:\/\/disoh.com\/sv\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/disohhosting"]}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/docs\/3886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/comments?post=3886"}],"version-history":[{"count":0,"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/docs\/3886\/revisions"}],"wp:attachment":[{"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/media?parent=3886"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/doc_category?post=3886"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/disoh.com\/nl\/wp-json\/wp\/v2\/doc_tag?post=3886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}