{"id":429,"date":"2026-07-31T18:04:24","date_gmt":"2026-07-31T16:04:24","guid":{"rendered":"https:\/\/onartline.com\/onartline-multisite-domain-mapping-einrichten\/"},"modified":"2026-08-02T23:28:25","modified_gmt":"2026-08-02T21:28:25","slug":"setting-up-onartline-multisite-domain-mapping","status":"publish","type":"post","link":"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/","title":{"rendered":"Setting Up Onartline Multisite Domain Mapping"},"content":{"rendered":"<section class=\"l-section wpb_row height_large\" id=\"content\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #0c121f;color:#0c121f\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #0c121f;color:#0c121f\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Onartline_Multisite_Domain_Mapping_How_Every_Website_in_Your_Network_Gets_Its_Own_Domain\" >Onartline Multisite Domain Mapping: How Every Website in Your Network Gets Its Own Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Table_of_Contents\" >Table of Contents<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#What_Is_Domain_Mapping_%E2%80%93_and_Why_Do_You_Need_It\" >What Is Domain Mapping \u2013 and Why Do You Need It?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Requirements_for_Onartline_Multisite_Domain_Mapping\" >Requirements for Onartline Multisite Domain Mapping<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Ready_to_Get_Started\" >Ready to Get Started?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Setting_Up_Onartline_Multisite_Domain_Mapping_Installation_and_Activation\" >Setting Up Onartline Multisite Domain Mapping: Installation and Activation<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_1_Install_the_Plugin\" >Step 1: Install the Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_2_Network-Activate_the_Plugin\" >Step 2: Network-Activate the Plugin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_3_Set_Up_sunrisephp\" >Step 3: Set Up sunrise.php<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_4_Plesk_Users_%E2%80%93_Disable_%E2%80%9CPreferred_Domain%E2%80%9D\" >Step 4: Plesk Users \u2013 Disable &#8220;Preferred Domain&#8221;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_5_Map_Your_First_Domain\" >Step 5: Map Your First Domain<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Step_6_Set_DNS_Records\" >Step 6: Set DNS Records<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Features_at_a_Glance\" >Features at a Glance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#The_Plugin_Isnt_Working_%E2%80%93_Heres_What_to_Do\" >The Plugin Isn&#8217;t Working \u2013 Here&#8217;s What to Do<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Frequently_Asked_Questions_About_Onartline_Multisite_Domain_Mapping\" >Frequently Asked Questions About Onartline Multisite Domain Mapping<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/onartline.com\/en\/setting-up-onartline-multisite-domain-mapping\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Onartline_Multisite_Domain_Mapping_How_Every_Website_in_Your_Network_Gets_Its_Own_Domain\"><\/span>Onartline Multisite Domain Mapping: How Every Website in Your Network Gets Its Own Domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In the last post, you set up your WordPress network with subdirectories \u2013 since then, all your websites are reachable under subdirectories of the same main domain (e.g., <code>your-domain.com\/shop<\/code>). For many projects, that&#8217;s completely sufficient. But as soon as a single website in the network should run under its own, individual domain \u2013 say, <code>myshop.com<\/code> instead of <code>your-domain.com\/shop<\/code> \u2013 domain mapping comes into play.<\/p>\n<p>With the free Onartline Multisite Domain Mapping plugin, you can set this up entirely without code changes. In this post, we&#8217;ll show you step by step how to install the plugin, configure it, and connect the first custom domain to a website in your network.<\/p>\n<\/div><\/div><div class=\"w-separator size_medium\"><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Table_of_Contents\"><\/span>Table of Contents<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"What_Is_Domain_Mapping_%E2%80%93_and_Why_Do_You_Need_It\"><\/span>What Is Domain Mapping \u2013 and Why Do You Need It?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Within a <a title=\"Setting Up WordPress Multisite\" href=\"https:\/\/onartline.com\/en\/setting-up-wordpress-multisite\/\">Multisite network using subdirectories<\/a>, all websites technically share the same main domain \u2013 recognizable from the outside by the URL structure with a subdirectory. For an internal area, a test project, or a collection of thematically related sites, that&#8217;s often exactly right.<\/p>\n<p>But as soon as a website is meant to appear as a standalone offering \u2013 with its own brand identity, its own domain name on a business card, or independent marketing \u2013 a subdirectory of the main domain often feels out of place.<\/p>\n<p>Domain mapping solves exactly this problem: it connects any domain you choose to a specific website within your network, so visitors land directly on that custom domain, without ever noticing the underlying network or subdirectory.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Requirements_for_Onartline_Multisite_Domain_Mapping\"><\/span>Requirements for Onartline Multisite Domain Mapping<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Before you get started, make sure the following points are covered:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>An activated WordPress Multisite network.<\/strong> The plugin won&#8217;t work on a single WordPress installation without an active network, since domain assignment is based directly on the site ID assigned by WordPress within the network.<\/li>\n<li><strong>WordPress 7.0 or higher and PHP 8.3 or higher.<\/strong> These requirements are deliberately set above the minimum requirements for a plain WordPress installation, since the plugin relies on current PHP features.<\/li>\n<li><strong>Write permissions in the <code>wp-content<\/code> directory<\/strong>, so the plugin can automatically copy the <code>sunrise.php<\/code> file there upon activation. This file is a key technical building block: it needs to load before WordPress itself initializes, so domain assignment already takes effect on the very first page load \u2013 which is why a normal plugin alone isn&#8217;t enough here.<\/li>\n<li><strong>A valid SSL certificate per domain,<\/strong> if you want to use HTTPS (recommended). The plugin itself doesn&#8217;t issue a certificate, but ensures HTTPS is correctly recognized and enforced within WordPress once a valid certificate is in place server-side.<\/li>\n<li><strong>Preferably a new Multisite installation not yet in production use.<\/strong> Onartline Multisite Domain Mapping is specifically designed for fresh networks; deploying it in an already active, production network afterward is not recommended, as it can lead to conflicts with existing domain configurations or other plugins offering similar functionality.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>More information directly in the <a title=\"Onartline Multisite Domain Mapping\" href=\"https:\/\/wordpress.org\/plugins\/onartline-multisite-domain-mapping\/\" target=\"_blank\" rel=\"noopener\">WordPress Plugin Directory<\/a><\/p>\n<\/div><\/div><div class=\"w-separator size_medium\"><\/div><div class=\"w-actionbox us_custom_3c9a41b4 color_primary controls_right\"><div class=\"w-actionbox-text\"><h2 class=\"w-actionbox-title\"><span class=\"ez-toc-section\" id=\"Ready_to_Get_Started\"><\/span>Ready to Get Started?<span class=\"ez-toc-section-end\"><\/span><\/h2><div class=\"w-actionbox-description\"><p>You can already download the <em>Onartline Multisite Domain Mapping<\/em> plugin here.<\/p>\n<\/div><\/div><div class=\"w-actionbox-controls\"><a class=\"w-btn us-btn-style_2\" target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/onartline-multisite-domain-mapping\/\" rel=\"noopener\"><span class=\"w-btn-label\">Download Current Version<\/span><\/a><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Setting_Up_Onartline_Multisite_Domain_Mapping_Installation_and_Activation\"><\/span>Setting Up Onartline Multisite Domain Mapping: Installation and Activation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Step_1_Install_the_Plugin\"><\/span>Step 1: Install the Plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Since the plugin is now available in the official WordPress repository, the easiest way is to search for &#8220;Onartline Multisite Domain Mapping&#8221; directly under Network Admin \u2192 Plugins \u2192 Add New and install it with a single click.<\/p>\n<p>Alternatively, you can upload the <code>onartline-multisite-domain-mapping<\/code> folder to the \/<code>wp-content\/plugins\/<\/code> directory, or install the plugin directly via <strong>Network Admin<\/strong> \u2192 <strong>Plugins<\/strong> \u2192 <strong>Add New<\/strong>.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_2_Network-Activate_the_Plugin\"><\/span>Step 2: Network-Activate the Plugin<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Activate the plugin via <strong>Network Admin<\/strong> \u2192 <strong>Plugins<\/strong> \u2192 <strong>Network Activate<\/strong>. This matters: a regular activation on a single website in the network isn&#8217;t enough, since domain mapping needs to work network-wide.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Step_3_Set_Up_sunrisephp\"><\/span>Step 3: Set Up sunrise.php<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If write permissions are sufficient, the plugin automatically copies the <code>sunrise.php<\/code> file to your <code>wp-content<\/code> directory \u2013 a success message appears in the Network Admin. If the automatic copy fails (for example, due to missing write permissions), you can do this manually:<\/p>\n<ol>\n<li>Copy <code>sunrise.php<\/code> from the plugin folder to <code>\/wp-content\/sunrise.php<\/code>.<\/li>\n<li>Add the line <code>define( 'SUNRISE', true );<\/code> to your <code>wp-config.php<\/code> \u2013 it&#8217;s important that this line comes before the line <code>require_once ABSPATH . 'wp-settings.php';<\/code>. Only this way is <code>sunrise.php<\/code> actually loaded before WordPress itself initializes, which is essential for domain mapping to work correctly. You&#8217;ll find this section toward the end of your <code>wp-config.php<\/code>.<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_4_Plesk_Users_%E2%80%93_Disable_%E2%80%9CPreferred_Domain%E2%80%9D\"><\/span>Step 4: Plesk Users \u2013 Disable &#8220;Preferred Domain&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>If your server runs on Plesk, this step isn&#8217;t optional, it&#8217;s mandatory: disable the &#8220;Preferred Domain&#8221; setting for every domain you want to map. Otherwise, Plesk intercepts the redirect before WordPress can even respond \u2013 the result is redirect loops or a domain assignment that simply doesn&#8217;t take effect.<\/p>\n<ol>\n<li>Log in to Plesk<\/li>\n<li><strong>Websites &amp; Domains<\/strong> \u2192 <strong>your domain<\/strong> \u2192 <strong>Hosting Settings<\/strong><\/li>\n<li>Set <strong>Preferred Domain<\/strong> to <strong>&#8220;None&#8221;<\/strong><\/li>\n<li>Save the settings<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_5_Map_Your_First_Domain\"><\/span>Step 5: Map Your First Domain<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ol>\n<li>Go to <strong>Network Admin<\/strong> \u2192 <strong>Domain Mapping<\/strong> \u2192 <strong>Add Domain<\/strong><\/li>\n<li>Select the target website in your network<\/li>\n<li>Enter the domain (without <code>http:\/\/<\/code> or <code>https:\/\/<\/code>)<\/li>\n<li>Optionally set whether this should be the primary domain, and enable HTTPS if needed<\/li>\n<li>Save<\/li>\n<\/ol>\n<h3><span class=\"ez-toc-section\" id=\"Step_6_Set_DNS_Records\"><\/span>Step 6: Set DNS Records<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For the domain to reach your server at all, the DNS settings need to be correctly set with the respective domain provider:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li><strong>A record<\/strong>: <code>@<\/code>, value: your server&#8217;s IP address<\/li>\n<li><strong>CNAME record:<\/strong> name <code>www<\/code>, value: your primary domain or your server&#8217;s CNAME<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The specific values for your server are shown directly in the plugin under Network Admin \u2192 Domain Mapping \u2192 Settings, so you don&#8217;t have to look them up yourself.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Features_at_a_Glance\"><\/span>Features at a Glance<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li><strong>Domain assignment via site ID:<\/strong> Every website in the network can be connected to, changed, or have its own domain assignment removed using its WordPress-assigned site ID \u2013 with no need to touch the database or write code.<\/li>\n<li><strong>Primary domain with automatic redirect:<\/strong> When visitors access a non-primary but assigned domain, they&#8217;re automatically redirected to the main domain you&#8217;ve set \u2013 consistent, and without duplicate content for search engines.<\/li>\n<li><strong>Automatic HTTPS with 301 redirect:<\/strong> Insecure HTTP requests are automatically redirected to the secure HTTPS version via an SEO-friendly 301 redirect, provided a valid SSL certificate is in place.<\/li>\n<li><strong>Management by site administrators:<\/strong> Optionally, the Super Admin can allow individual site administrators to manage their own domain settings under Network Admin \u2192 Domain Mapping \u2192 Settings \u2192 Site Admin Domain Mapping.<\/li>\n<li><strong>Automated background maintenance:<\/strong> An hourly, network-wide cron job cleans up expired login tokens and checks all stored domain assignments for reachability. For higher-traffic websites, it&#8217;s recommended to replace the built-in WordPress cron with a real server cron job, since it&#8217;s more reliable and resource-efficient.<\/li>\n<li><strong>Object cache compatibility:<\/strong> The plugin works with common object cache solutions like Redis or Memcached, which noticeably improves load times, especially for networks with many assigned domains.<\/li>\n<\/ul>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"The_Plugin_Isnt_Working_%E2%80%93_Heres_What_to_Do\"><\/span>The Plugin Isn&#8217;t Working \u2013 Here&#8217;s What to Do<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<\/div><\/div><div class=\"w-separator size_medium\"><\/div><div class=\"w-tabs accordion toggle_style_1 has_scrolling\" style=\"--sections-title-size:inherit;--sections-gap:0.5rem;\"><div class=\"w-tabs-sections titles-align_none icon_chevron cpos_right\"><div class=\"w-tabs-section\" id=\"te63\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-te63\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">The domain redirects in a loop<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-te63\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> This is usually caused by a duplicate redirect \u2013 for example, when &#8220;Preferred Domain&#8221; in Plesk and the plugin&#8217;s 301 redirect are both active at the same time. First, check whether &#8220;Preferred Domain&#8221; is really set to &#8220;None,&#8221; and whether <code>define( 'SUNRISE', true );<\/code> is correctly present in <code>wp-config.php<\/code>.<\/p>\n<p>If your hosting already applies its own 301 redirects for the domain and you want to keep those, disable the 301 option in the plugin instead, to avoid duplicate redirects.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"fff1\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-fff1\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">sunrise.php wasn&#8217;t copied automatically<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-fff1\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> Copy the file manually from the plugin folder to <code>\/wp-content\/sunrise.php<\/code> and add <code>define( 'SUNRISE', true );<\/code> to <code>wp-config.php<\/code>, as described in Step 3.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"a16f\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-a16f\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">Fehler wie &#8220;headers already sent&#8220; nach der Deinstallation<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-a16f\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> When uninstalled, the plugin automatically removes its files as well as <code>sunrise.php<\/code>, but it can&#8217;t remove the line <code>define( 'SUNRISE', true );<\/code> from <code>wp-config.php<\/code> itself. If that line remains, WordPress will keep trying to load the now-missing <code>sunrise.php<\/code> \u2013 in that case, remove the line from <code>wp-config.php<\/code> manually.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions_About_Onartline_Multisite_Domain_Mapping\"><\/span>Frequently Asked Questions About Onartline Multisite Domain Mapping<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<\/div><\/div><div class=\"w-separator size_medium\"><\/div><div class=\"w-tabs accordion toggle_style_1 has_scrolling\" style=\"--sections-title-size:inherit;--sections-gap:0.5rem;\"><div class=\"w-tabs-sections titles-align_none icon_chevron cpos_right\"><div class=\"w-tabs-section\" id=\"s0de\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-s0de\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">Can I install the plugin on an already existing, active Multisite network?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-s0de\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> We recommend against it. The plugin is designed for new Multisite installations. If you&#8217;re already running an active network, we recommend first setting up a new WordPress Multisite installation and installing and configuring the Onartline Multisite Domain Mapping plugin there. You can then migrate your existing content to wherever you&#8217;d like it.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"g253\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-g253\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">What&#8217;s the difference between domain mapping and the subdirectory structure from the previous post?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-g253\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> With the subdirectory structure, all websites share the main domain and only differ in their subdirectory. Domain mapping adds to this the ability to assign individual websites within the same network a completely independent, custom domain on top of that.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"q3bb\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-q3bb\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">Do I need a separate SSL certificate for each mapped domain?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-q3bb\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> Yes, for HTTPS to work on a mapped domain, a valid SSL certificate for that exact domain needs to be in place server-side. The plugin correctly detects and enforces HTTPS, but doesn&#8217;t issue the certificate itself.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"c519\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-c519\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">Does the plugin support automatic updates?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-c519\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> Yes. The plugin is published in the official WordPress plugin directory, so automatic updates work as usual through the WordPress admin, just as you&#8217;re already used to with other plugins. You can find out what each new version brings in our continuously updated <a title=\"Onartline Multisite Domain Mapping - Changelog\" href=\"https:\/\/onartline.com\/en\/onartline-multisite-domain-mapping-changelog\/\">Changelog<\/a>.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"r674\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-r674\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">Is Onartline Multisite Domain Mapping paid?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-r674\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> No, the plugin is completely free to use \u2013 including unlimited domain assignments, automatic HTTPS, SEO-friendly 301 redirects, and full Multisite compatibility. There are no hidden costs, and no credit card is required.<\/p>\n<\/div><\/div><\/div><\/div><\/div><div class=\"w-tabs-section\" id=\"e7cd\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><button class=\"w-tabs-section-header\" aria-controls=\"content-e7cd\" aria-expanded=\"false\"><div class=\"w-tabs-section-title\" itemprop=\"name\">How long does it take to set up Onartline Multisite Domain Mapping?<\/div><div class=\"w-tabs-section-control\"><\/div><\/button><div  class=\"w-tabs-section-content\" id=\"content-e7cd\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"w-tabs-section-content-h i-cf\" itemprop=\"text\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p><strong>Answer:<\/strong> Installing and setting up the plugin takes no more than 5 minutes before you can start mapping and routing your first domains. This assumes, of course, that you&#8217;ve checked everything beforehand so the plugin installation goes smoothly.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section><section class=\"l-section wpb_row height_large\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>With that, you&#8217;ve successfully set up Onartline Multisite Domain Mapping. With Onartline Multisite Domain Mapping, every website in your WordPress network can be made reachable under its own, individual domain \u2013 with no manual code changes or complicated server configuration required.<\/p>\n<p>Combined with the subdirectory structure from the previous post, you now have a complete, free solution for managing any number of independent websites centrally through a single WordPress installation \u2013 while giving each individual site its own custom domain presence.<\/p>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Onartline Multisite Domain Mapping: How Every Website in Your Network Gets Its Own Domain In the last post, you set up your WordPress network with subdirectories \u2013 since then, all your websites are reachable under subdirectories of the same main domain (e.g., your-domain.com\/shop). For many projects, that&#8217;s completely sufficient. But as soon as a single...","protected":false},"author":2,"featured_media":430,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[74,71,72],"tags":[83,56,84,61,85,66,69,86],"class_list":["post-429","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","category-domains","category-installation","tag-domain-management","tag-domain-mapping","tag-multisite-network","tag-subdomain","tag-wordpress-for-beginners","tag-wordpress-multisite","tag-wordpress-plugin","tag-wordpress-security"],"_links":{"self":[{"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/posts\/429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/comments?post=429"}],"version-history":[{"count":11,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/posts\/429\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/posts\/429\/revisions\/432"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/media\/430"}],"wp:attachment":[{"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/media?parent=429"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/categories?post=429"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onartline.com\/en\/wp-json\/wp\/v2\/tags?post=429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}