{"id":1061,"date":"2008-11-22T22:53:58","date_gmt":"2008-11-22T15:53:58","guid":{"rendered":"http:\/\/www.jfdesignnet.com\/?p=1061"},"modified":"2008-11-22T22:53:58","modified_gmt":"2008-11-22T15:53:58","slug":"set-up-a-new-fqdn","status":"publish","type":"post","link":"https:\/\/www.jfdesignnet.com\/?p=1061","title":{"rendered":"Set up a new FQDN"},"content":{"rendered":"<h2>Informations<\/h2>\n<p>Many web or mail server control panel installation need a \u201cfully qualified domain name\u201d (FQDN) which is not a main domain to work. You can use a Subdomain as Example:<\/p>\n<p>Your Domain is: domain.id<br \/>\nYour FQDN is: srv01.server.domain.id (or something else!)<\/p>\n<p>It&#8217;s important that you take only one and every Time you have been asked after it you tell this one!<\/p>\n<h2>How to Set a new FQDN<\/h2>\n<div>\n<p>Now you have to set you new Hostname at \/etc\/hostname you can do that with this echo command. After that we will copy the hostname file for the Mailserver as Mailname:<\/p>\n<pre> \n echo your.full.qualified-domain-name.id &gt; \/etc\/hostname\n cp \/etc\/hostname \/etc\/mailname<\/pre>\n<p>Now edit the \/etc\/hosts file and correct the Information&#8217;s:<\/p>\n<pre> \n # Do not remove the following line, or various programs\n # that require network functionality will fail.\n 127.0.0.1\tlocalhost.localdomain localhost\n &lt;ip&gt;\t        &lt;myfullqualified.id&gt;  &lt;myfullqualified&gt;\n # The following lines are desirable for IPv6 capable hosts\n #(added automatically by netbase upgrade)\n ::1     ip6-localhost ip6-loopback\n feo0::0 ip6-localnet\n ff00::0 ip6-mcastprefix\n ff02::1 ip6-allnodes\n ff02::2 ip6-allrouters\n ff02::3 ip6-allhosts<\/pre>\n<p><strong>Note: You have to Replace &lt;ip&gt; with your IP, &lt;myfullqualified.id&gt; with your FQDN and &lt;myfullqualified&gt; with your Hostname without Domain-<acronym title=\"Top Level Domain\">TLD<\/acronym>(.id)!<\/strong><\/p>\n<p>Now restart the Hostname Service:<\/p>\n<pre> \n \/etc\/init.d\/hostname.sh stop\n \/etc\/init.d\/hostname.sh start<\/pre>\n<\/div>\n<p><!-- wikipage stop --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Informations Many web or mail server control panel installation need a \u201cfully qualified domain name\u201d (FQDN) which is not a main domain to work. You can use a Subdomain as Example: Your Domain is: domain.id Your FQDN is: srv01.server.domain.id (or something else!) It&#8217;s important that you take only one and every Time you have been [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4063,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,9],"tags":[95,114],"_links":{"self":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/1061"}],"collection":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1061"}],"version-history":[{"count":0,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/posts\/1061\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=\/wp\/v2\/media\/4063"}],"wp:attachment":[{"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jfdesignnet.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}