{"id":218,"date":"2013-12-23T10:41:52","date_gmt":"2013-12-23T10:41:52","guid":{"rendered":"https:\/\/blogs.ua.es\/jpm33\/?p=218"},"modified":"2014-10-09T11:26:50","modified_gmt":"2014-10-09T11:26:50","slug":"corregir-apache2-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername","status":"publish","type":"post","link":"https:\/\/blogs.ua.es\/jpm33\/2013\/12\/23\/corregir-apache2-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername\/","title":{"rendered":"Corregir: apache2: Could not reliably determine the server&#8217;s fully qualified domain name, using 127.0.1.1 for ServerName"},"content":{"rendered":"<h1>Problema arrancando apache con Server&#8217;s fully qualified domain name<\/h1>\n<p>Hace poco, he tenido un peque\u00f1o &#8220;problema&#8221; instalando un servidor web apache2 y quer\u00eda resolver c\u00f3mo lo he solucionado. Trans instalar apache2 al realizar cualquier operaci\u00f3n de administrador obtengo este mensaje:<\/p>\n<pre>* Starting web server apache2\r\napache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<\/pre>\n<p>Tranquilidad, no ocurre nada. S\u00f3lo que apache no sabe que nombre (DNS) tiene el servidor y por defecto emplea la IP de loopback (127.0.0.1). esto es as\u00ed porqu\u00e9 <strong>httpd.conf<\/strong> est\u00e1 vac\u00edo, una soluci\u00f3n ser\u00eda a\u00f1adir la cadena<strong>ServerName<\/strong>, pero con la nueva estructura de directorios de Apache2 disponemos de la siguiente opci\u00f3n:<\/p>\n<pre>sudo sh -c 'echo \"ServerName localhost\" &gt;&gt; \/etc\/apache2\/conf.d\/name' &amp;&amp; sudo service apache2 restart<\/pre>\n<p>Con lo cual queda asignado este nombre y solucionado el problema.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problema arrancando apache con Server&#8217;s fully qualified domain name Hace poco, he tenido un peque\u00f1o &#8220;problema&#8221; instalando un servidor web apache2 y quer\u00eda resolver c\u00f3mo lo he solucionado. Trans instalar apache2 al realizar cualquier operaci\u00f3n de administrador obtengo este mensaje: &hellip; <a href=\"https:\/\/blogs.ua.es\/jpm33\/2013\/12\/23\/corregir-apache2-could-not-reliably-determine-the-servers-fully-qualified-domain-name-using-127-0-1-1-for-servername\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3080,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[135,374],"tags":[154,236729,236718,23],"class_list":["post-218","post","type-post","status-publish","format-standard","hentry","category-linux","category-programacion","tag-ingenieria","tag-linux","tag-programacion-2","tag-web"],"_links":{"self":[{"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/posts\/218","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/users\/3080"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/comments?post=218"}],"version-history":[{"count":2,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/posts\/218\/revisions"}],"predecessor-version":[{"id":292,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/posts\/218\/revisions\/292"}],"wp:attachment":[{"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/media?parent=218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/categories?post=218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.ua.es\/jpm33\/wp-json\/wp\/v2\/tags?post=218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}