{"id":9133,"date":"2026-05-31T20:15:36","date_gmt":"2026-05-31T18:15:36","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9133"},"modified":"2026-05-31T20:15:37","modified_gmt":"2026-05-31T18:15:37","slug":"how-to-point-two-web-accounts-to-the-same-directory-in-mybox","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/","title":{"rendered":"How to point two web accounts to the same directory in mybox"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">In mybox, it is possible to configure two web accounts so that they both point to the same directory. This means that both domains or web accounts will serve the same website files from a single location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This setup is useful when you want multiple domains to display the same website content without duplicating files.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/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:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#How_web_account_directories_work\" >How web account directories work<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#Step_1_Check_the_existing_web_account_directory\" >Step 1: Check the existing web account directory<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#Step_2_Create_a_new_web_account\" >Step 2: Create a new web account<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#What_happens_after_configuration\" >What happens after configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#Practical_implications\" >Practical implications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#When_to_use_this_setup\" >When to use this setup<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-two-web-accounts-to-the-same-directory-in-mybox\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_web_account_directories_work\"><\/span>How web account directories work<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-2414378193\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Each web account is assigned a specific directory on the hosting server. This directory contains all website files for that domain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A typical path looks like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/yourdomain.com\/public_html\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">All website content is stored in this folder.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Check_the_existing_web_account_directory\"><\/span>Step 1: Check the existing web account directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before creating a second web account, identify the directory used by the first one.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the <strong>mybox panel<\/strong><\/li>\n\n\n\n<li>Go to the <strong>Websites<\/strong> section<\/li>\n\n\n\n<li>Find the existing web account<\/li>\n\n\n\n<li>Check the directory path assigned to it<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This is the directory you will reuse.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Create_a_new_web_account\"><\/span>Step 2: Create a new web account<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">When adding a new web account:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter the new domain name<\/li>\n\n\n\n<li>In the directory\/path field, specify the same directory as the existing web account<\/li>\n\n\n\n<li>Save the configuration<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Both web accounts will now point to the same file location.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_happens_after_configuration\"><\/span>What happens after configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once both web accounts share the same directory:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>both domains load the same website content<\/li>\n\n\n\n<li>any file changes affect both domains simultaneously<\/li>\n\n\n\n<li>updates do not need to be duplicated between folders<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Practical_implications\"><\/span>Practical implications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This configuration does not create separate websites. Instead, it creates multiple access points to the same content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>changes made in one place affect both domains<\/li>\n\n\n\n<li>there is a single source of files<\/li>\n\n\n\n<li>both domains behave identically at the content level<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Care should be taken when modifying files, as changes are reflected across all connected web accounts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"When_to_use_this_setup\"><\/span>When to use this setup<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">This configuration is commonly used when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>multiple domains should display the same website<\/li>\n\n\n\n<li>branding variations are not required<\/li>\n\n\n\n<li>redirect-free multi-domain setups are needed<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Two web accounts in mybox can point to the same directory by assigning the same file path during setup. This allows multiple domains to serve identical website content from a single shared location.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[25],"manual_kb_tag":[242,773,774,1892,5028,5936,5937,5938,5939,5940],"class_list":["post-9133","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-hosting","manual_kb_tag-mybox","manual_kb_tag-website-files","manual_kb_tag-website-content","manual_kb_tag-web-accounts","manual_kb_tag-domain-alias","manual_kb_tag-shared-directory","manual_kb_tag-same-directory","manual_kb_tag-multiple-domains","manual_kb_tag-hosting-server","manual_kb_tag-directory-path"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9133","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9133\/revisions"}],"predecessor-version":[{"id":9134,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9133\/revisions\/9134"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=9133"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9133"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=9133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}