{"id":6213,"date":"2021-05-21T12:01:47","date_gmt":"2021-05-21T12:01:47","guid":{"rendered":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/why-is-an-addon-domain-connected-to-a-subdomain-hosting\/"},"modified":"2021-05-21T12:01:47","modified_gmt":"2021-05-21T12:01:47","slug":"why-is-an-addon-domain-connected-to-a-subdomain-hosting","status":"publish","type":"post","link":"https:\/\/oxhosting.com\/blog\/2021\/05\/21\/why-is-an-addon-domain-connected-to-a-subdomain-hosting\/","title":{"rendered":"Why is an addon domain connected to a subdomain? &#8211; Hosting"},"content":{"rendered":"<p> <script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n<\/p>\n<div id=\"article\">&#038;#13<\/p>\n<p style=\"text-indent: 25px;\">The procedure of including an addon area entails the creation of the corresponding subdomain. In terms of Apache VirtualHost entries, an addon is a parked area on that subdomain.&#038;#13\n<\/p>\n<p>&#038;#13<\/p>\n<p style=\"text-indent: 25px;\">There is no way to include an addon with out a subdomain staying developed, this is the essential principle of cPanel architecture. Yet, it is a common wish to make the inbound links &#8211; <i>addon.maindomain.com<\/i> and <i>maindomain.com\/addon<\/i> unavailable.&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>There are two techniques to accomplish this:&#038;#13<br \/>\n&#038;#13<br \/>\n<\/p>\n<p>&#038;#13<\/p>\n<p style=\"text-indent: 25px;\">&#038;#13<br \/>\n<br \/>1. Redirect each backlinks to a Not Located website page employing .htaccess which is to be put into the addon domain website root listing:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>&#038;#13<\/p>\n<pre class=\"prettyprint\"><IfModule mod_rewrite.c><br\/>RewriteEngine On<br\/>RewriteCond %HTTP_HOST <span>addon.maindomain.com<\/span>$<br\/>RewriteRule ^(.*)$ \"http:\/\/<span>maindomain.com<\/span>\/404\" [R=301,L]<br\/><\/IfModule>&#13\n<\/pre>\n<p>&#038;#13<br \/>\n<br \/>Make positive to update addon and main domain names correspondingly.&#038;#13<br \/>\n&#038;#13<\/p>\n<p>2. Point subdomains <i>addon.maindomain.com<\/i> and <i>www.addon.maindomain.com<\/i> to a non-performing IP tackle, e.g., localhost (loopback tackle) <b>127&#8230;1<\/b> or just get rid of these DNS entries.&#038;#13<br \/>\n&#038;#13<br \/>\nIt can be accomplished in your cPanel account in the subsequent way:&#038;#13<br \/>\n&#038;#13\n<\/p>\n<p>Go to your <b>cPanel<\/b> account > <b>Domains <\/b>area ><b> Zone Editor<\/b> menu: &#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/Why-is-an-addon-domain-connected-to-a-subdomain.png\"\/><\/p>\n<p>Click on <b>Deal with <\/b>next to the key domain identify:&#038;#13\n<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621598506_513_Why-is-an-addon-domain-connected-to-a-subdomain.png\"\/><\/p>\n<p>&#038;#13<br \/>\n&#038;#13<br \/>\nDiscover <b>A documents<\/b> for the <b>subdomain <\/b>in the listing. <\/p>\n<p>You can delete these 2 DNS information or edit them by clicking the <b>Edit<\/b> button. Then, <b>Help save History<\/b>:<\/p>\n<p><img class=\"kb-image\" src=\"https:\/\/oxhosting.com\/blog\/wp-content\/uploads\/2021\/05\/1621598506_911_Why-is-an-addon-domain-connected-to-a-subdomain.png\"\/><\/p>\n<p>That is it!<\/p>\n<p>\u00a0\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Have to have any support? Speak to our Helpdesk<\/p>\n<\/div>\n<script data-ad-client=\"ca-pub-3214842754935876\" async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>&#038;#13 The procedure of including an addon area entails the creation of the corresponding subdomain. In terms of Apache VirtualHost entries, an addon is a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6213"}],"collection":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/comments?post=6213"}],"version-history":[{"count":0,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/posts\/6213\/revisions"}],"wp:attachment":[{"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/media?parent=6213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/categories?post=6213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oxhosting.com\/blog\/wp-json\/wp\/v2\/tags?post=6213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}