{"id":853,"date":"2025-12-19T10:01:45","date_gmt":"2025-12-19T09:01:45","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=853"},"modified":"2026-05-31T21:46:27","modified_gmt":"2026-05-31T19:46:27","slug":"redirecting-a-subdomain-to-another-server","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/redirecting-a-subdomain-to-another-server\/","title":{"rendered":"Redirecting a subdomain to another server"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">A subdomain can be directed to a different server by creating a DNS record that points to the destination server&#8217;s IP address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is commonly used when a specific service, application, or website section is hosted separately from the main domain.<\/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\/redirecting-a-subdomain-to-another-server\/#How_subdomain_routing_works\" >How subdomain routing works<\/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\/redirecting-a-subdomain-to-another-server\/#Step_1_Open_DNS_management\" >Step 1: Open DNS management<\/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\/redirecting-a-subdomain-to-another-server\/#Step_2_Add_an_A_record\" >Step 2: Add an A record<\/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\/redirecting-a-subdomain-to-another-server\/#Step_3_Configure_the_www_version_optional\" >Step 3: Configure the www version (optional)<\/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\/redirecting-a-subdomain-to-another-server\/#What_is_normal_behavior\" >What is normal behavior?<\/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\/redirecting-a-subdomain-to-another-server\/#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-7\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/redirecting-a-subdomain-to-another-server\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_subdomain_routing_works\"><\/span>How subdomain routing works<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-1964059926\" 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\">DNS records determine where a domain or subdomain sends traffic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a visitor opens a subdomain, DNS resolves the associated IP address and connects the visitor to the corresponding server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>blog.exampledomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">can point to a different server than:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>exampledomain.com<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Open_DNS_management\"><\/span>Step 1: Open DNS management<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Log in to the <strong>mybox panel<\/strong><\/li>\n\n\n\n<li>Open the <strong>Domains<\/strong> section<\/li>\n\n\n\n<li>Select the domain<\/li>\n\n\n\n<li>Open <strong>Manage DNS<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Add_an_A_record\"><\/span>Step 2: Add an A record<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new DNS record with the following values:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Field<\/th><th>Value<\/th><\/tr><tr><td>Name<\/td><td>sub.exampledomain.com<\/td><\/tr><tr><td>Type<\/td><td>A<\/td><\/tr><tr><td>Value<\/td><td>Server IP address<\/td><\/tr><tr><td>TTL<\/td><td>900<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Replace:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sub.exampledomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">with your actual subdomain.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Server IP address<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">with the IP address of the destination server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_3_Configure_the_www_version_optional\"><\/span>Step 3: Configure the www version (optional)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you also want the following address to work:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>www.sub.exampledomain.com<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">create an additional DNS record for that hostname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The exact configuration may depend on how the destination server is configured to handle hostnames.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_is_normal_behavior\"><\/span>What is normal behavior?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">After saving the DNS record:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>the change may not be visible immediately<\/li>\n\n\n\n<li>DNS propagation can take several minutes to several hours<\/li>\n\n\n\n<li>some networks may continue using cached DNS information temporarily<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This behavior is expected.<\/p>\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\">Creating an A record only directs traffic to the destination server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The destination server must also be configured to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>accept requests for the subdomain<\/li>\n\n\n\n<li>serve the correct website or application<\/li>\n\n\n\n<li>provide an SSL certificate if HTTPS is required<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Without server-side configuration, visitors may still see errors even if the DNS record is correct.<\/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 point a subdomain to another server, create an A record in the DNS zone that contains the destination server&#8217;s IP address. Once DNS propagation is complete and the target server is configured correctly, the subdomain will direct visitors to the new 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":[62,128],"manual_kb_tag":[177,201,997,998,1000,1047,1050,1088,1412,1610,1611,1612,1613,1614],"class_list":["post-853","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-domain-management-in-panel","manualknowledgebasecat-domains","manual_kb_tag-a-record","manual_kb_tag-dns-settings","manual_kb_tag-dns-record","manual_kb_tag-dns-management","manual_kb_tag-add-dns-record","manual_kb_tag-subdomain","manual_kb_tag-www-subdomain","manual_kb_tag-ip-address","manual_kb_tag-dns-configuration","manual_kb_tag-subdomain-redirect","manual_kb_tag-redirect-subdomain","manual_kb_tag-add-a-record","manual_kb_tag-server-redirect","manual_kb_tag-domain-forwarding"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/853","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":2,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/853\/revisions"}],"predecessor-version":[{"id":4721,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/853\/revisions\/4721"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=853"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=853"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}