{"id":9658,"date":"2026-06-03T08:29:09","date_gmt":"2026-06-03T06:29:09","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9658"},"modified":"2026-06-03T08:29:10","modified_gmt":"2026-06-03T06:29:10","slug":"how-to-point-a-domain-to-an-existing-website-directory","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/","title":{"rendered":"How to Point a Domain to an Existing Website Directory"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">If you have been building a website using a temporary or working address and want it to become available under your final domain name, you can configure the new domain to use the same website directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this example, the website is currently available under:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oldsite.mybox.dev<\/code><\/pre>\n\n\n\n<\/div>\n\n<div id=\"mybox-327548629\" 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\">and you want it to be available under:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of moving files, you can simply point the new domain to the existing website directory.<\/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-a-domain-to-an-existing-website-directory\/#Step_1_Check_the_Current_Website_Directory\" >Step 1: Check the Current Website Directory<\/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-a-domain-to-an-existing-website-directory\/#Step_2_Add_the_Target_Domain\" >Step 2: Add the Target Domain<\/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-a-domain-to-an-existing-website-directory\/#Step_3_Enter_the_New_Domain_Name\" >Step 3: Enter the New Domain Name<\/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-a-domain-to-an-existing-website-directory\/#Step_4_Change_the_Website_Directory\" >Step 4: Change the Website Directory<\/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-a-domain-to-an-existing-website-directory\/#Step_5_Save_the_Configuration\" >Step 5: Save the Configuration<\/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-a-domain-to-an-existing-website-directory\/#Additional_Configuration\" >Additional Configuration<\/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:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#WordPress\" >WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#PrestaShop\" >PrestaShop<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#Joomla\" >Joomla<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#Custom_PHP_Applications\" >Custom PHP Applications<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#DNS_Considerations\" >DNS Considerations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/how-to-point-a-domain-to-an-existing-website-directory\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Check_the_Current_Website_Directory\"><\/span>Step 1: Check the Current Website Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Log in to the mybox Panel and go to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Websites<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Select the website currently using the working address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the website details, locate the directory path assigned to the website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/oldsite.mybox.dev\/public_html\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Make a note of this path, as you will use it when adding the new domain.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Add_the_Target_Domain\"><\/span>Step 2: Add the Target Domain<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the <strong>Websites<\/strong> section, click:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>+ Add<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">and select:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Blank Website<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Enter_the_New_Domain_Name\"><\/span>Step 3: Enter the New Domain Name<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the website address field, enter the domain that should become the main address of the website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The system will automatically suggest a new web directory based on the domain name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yourdomain.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_4_Change_the_Website_Directory\"><\/span>Step 4: Change the Website Directory<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Instead of using the newly suggested directory, replace it with the directory used by the working website.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, change:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yourdomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>oldsite.mybox.dev<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The selected directory path should now match the existing website location:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/oldsite.mybox.dev\/public_html\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This tells the server to load the website files from the existing directory rather than creating a new one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_5_Save_the_Configuration\"><\/span>Step 5: Save the Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Complete the website creation process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After a few minutes, once the server configuration has been reloaded, the new domain will begin serving content from the existing website directory.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Additional_Configuration\"><\/span>Additional Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the CMS or application you are using, additional updates may be required.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Common examples include:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"WordPress\"><\/span>WordPress<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Update:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WordPress Address (URL)<\/li>\n\n\n\n<li>Site Address (URL)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">or modify the values stored in the database.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"PrestaShop\"><\/span>PrestaShop<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Update:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Shop URL<\/li>\n\n\n\n<li>Domain settings<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Joomla\"><\/span>Joomla<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Update:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configuration settings<\/li>\n\n\n\n<li>Base URL settings (if applicable)<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Custom_PHP_Applications\"><\/span>Custom PHP Applications<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Update:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configuration files<\/li>\n\n\n\n<li>Base URLs<\/li>\n\n\n\n<li>Redirect rules<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"DNS_Considerations\"><\/span>DNS Considerations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before the domain becomes publicly accessible, ensure that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The domain points to the correct hosting server.<\/li>\n\n\n\n<li>DNS records are configured correctly.<\/li>\n\n\n\n<li>DNS propagation has completed.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Propagation can take up to:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>24 hours<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">depending on the domain registrar and DNS provider.<\/p>\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\">To use an existing website directory with a new domain:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check the directory used by the current working website.<\/li>\n\n\n\n<li>Add the new domain as a Blank Website.<\/li>\n\n\n\n<li>Replace the automatically suggested website directory with the existing one.<\/li>\n\n\n\n<li>Save the configuration.<\/li>\n\n\n\n<li>Update CMS or application settings if required.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once the configuration has propagated, the new domain will display the website already stored in the existing directory without requiring any file migration.<\/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":[125],"manual_kb_tag":[4963,5026,5027,5028,5029,5030,518,2775,2896,3277],"class_list":["post-9658","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-websites","manual_kb_tag-document-root","manual_kb_tag-domain-pointing","manual_kb_tag-domain-mapping","manual_kb_tag-domain-alias","manual_kb_tag-website-directory","manual_kb_tag-web-directory","manual_kb_tag-public_html","manual_kb_tag-point-domain","manual_kb_tag-blank-website","manual_kb_tag-add-domain"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9658","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\/9658\/revisions"}],"predecessor-version":[{"id":9659,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/9658\/revisions\/9659"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=9658"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9658"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=9658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}