{"id":8750,"date":"2015-03-17T19:43:16","date_gmt":"2015-03-17T19:43:16","guid":{"rendered":"https:\/\/wp.okra.host\/article\/creating-a-subdomain\/"},"modified":"2021-03-07T14:49:27","modified_gmt":"2021-03-07T13:49:27","slug":"creating-a-subdomain","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/creating-a-subdomain\/","title":{"rendered":"Erstellen einer Subdomain"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>A subdomain is an extension of your primary domain or an <a title=\"Erstellen einer Addon-Domain\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/creating-addon-domain\/\">Addon-Dom\u00e4ne<\/a> that can serve as both an <a title=\"Authorizing hostnames to handle e-mail\" href=\"https:\/\/kb.okra.host\/de\/e-mail\/authorizing-hostnames-handle-e-mail\/\">e-mail domain<\/a> und <a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">website location<\/a>.<\/p>\n<h2 id=\"creating-a-subdomain\" >Erstellen einer Subdomain<\/h2>\n<h3 id=\"configuration-parameters\" >Configuration parameters<\/h3>\n<p>A subdomain may be added within the <a title=\"Anmeldung am Bedienfeld\" href=\"https:\/\/kb.okra.host\/de\/control-panel\/logging-into-the-control-panel\/\">Bedienfeld<\/a> unter <strong>Web<\/strong> &gt; <strong>Subdomains<\/strong>. A subdomain may exist in a few flavors and likewise function\u00a0differently:<\/p>\n<p><strong>Subdomain<\/strong><\/p>\n<ul>\n<li><strong>create a new subdomain<\/strong>: basic subdomain name, e.g. &#8220;kb&#8221; -&gt; kb.okra.host<\/li>\n<li><strong>create a\u00a0subdomain fallthrough<\/strong>: a fallthrough will serve documents if and only if no other subdomain is matched. This is useful for WordPress <a href=\"http:\/\/codex.wordpress.org\/Create_A_Network\">multisite<\/a> setups on a subdomain, e.g. sports.myblog.com, people.myblog.com, finance.myblog.com all served from 1 location. Any subdomain that exists, however, will serve content from that <a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">Dokumentenstamm<\/a>.<\/li>\n<\/ul>\n<p><strong>Subdomain affinity<\/strong><\/p>\n<ul>\n<li>A <em>subdomain affinity<\/em> will create the subdomain on one or many\u00a0domains. DNS will be automatically created for these domains so long as you use <a title=\"Nameserver-Einstellungen\" href=\"https:\/\/kb.okra.host\/de\/dns\/nameserver-settings\/\">our nameservers<\/a>.<\/li>\n<\/ul>\n<p><strong>Subdomain document root<\/strong><\/p>\n<ul>\n<li>A document root is the location from which web site content <a title=\"Von wo aus werden die Inhalte der Website bereitgestellt?\" href=\"https:\/\/kb.okra.host\/de\/web-content\/where-is-site-content-served-from\/\">is served<\/a>. This may be shared by multiple subdomains by specifying the same location.<\/li>\n<\/ul>\n<h3 id=\"www-exception\" >www exception<\/h3>\n<p>Any subdomain is valid, except a subdomain beginning with a &#8220;-&#8221; or &#8220;_&#8221; and <em>www<\/em>&#8220;, which is an alias to the domain from\u00a0which the subdomain is created.<\/p>\n<h3 id=\"placeholder-file\" >Placeholder file<\/h3>\n<p>Once a subdomain is created, a basic <code>index.html<\/code> placeholder is created in the directory to let you know everything is working.\u00a0Remove or replace this file once confirmation is acknowledged. This is necessary to run <a title=\"Fahrgastunterst\u00fctzte Anwendungen\" href=\"https:\/\/kb.okra.host\/de\/cgi-passenger\/passenger-supported-apps\/\">Passenger-based<\/a> applications or even PHP applications, like WordPress or Drupal.<\/p>\n<h3 id=\"setting-dns-if-using-third-party\" >Setting DNS if using third-party<\/h3>\n<p>In certain esoteric and baffling circumstances you may wish to use third-party nameservers apart <a title=\"Nameserver-Einstellungen\" href=\"https:\/\/kb.okra.host\/de\/dns\/nameserver-settings\/\">from ours<\/a>. If you use third-party nameservers, you are responsible for setting DNS for the subdomain. Submit the following DNS template to your third-party DNS provider:<\/p>\n<pre>&lt;subdomain&gt;     IN A &lt;IP address&gt;\r\nwww.&lt;subdomain&gt; IN A &lt;IP address&gt;<\/pre>","protected":false},"excerpt":{"rendered":"<p>Overview A subdomain is an extension of your primary domain or an addon domain that can serve as both an e-mail domain and website location. Creating a subdomain Configuration parameters A subdomain may be added within the control panel under Web &gt; Subdomains. A subdomain may exist in a few&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[54],"ht-kb-tag":[],"class_list":["post-8750","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-web-content"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8750","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8750"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8750\/revisions"}],"predecessor-version":[{"id":8751,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8750\/revisions\/8751"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8750"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8750"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}