{"id":562,"date":"2024-10-19T10:28:48","date_gmt":"2024-10-19T09:28:48","guid":{"rendered":"http:\/\/aldarias.es\/wordpress\/?p=562"},"modified":"2024-10-19T10:30:33","modified_gmt":"2024-10-19T09:30:33","slug":"pihole-local-dns-redirigido-a-admin","status":"publish","type":"post","link":"http:\/\/aldarias.es\/wordpress\/?p=562","title":{"rendered":"Pihole local dns redirigido a admin"},"content":{"rendered":"\n<p>El objetivo de ese art\u00edculo es explicar como hacer que pihole se identifique a el mismo con un subdominio y cambie de carpeta al entrar al index predefinido.<\/p>\n\n\n\n<p>Es decir, para entrar a pihole antes entraba con http:\/\/192.168.1.102\/admin, y ahora s\u00f3lo  tengo que poner http:\/\/pihole.aldarias.es<\/p>\n\n\n\n<p>Primero debemos entrar a admin de pihole dentro <strong>Local Dns &#8211; Dns Records <\/strong> y a\u00f1adir en domain pihole.aldarias.es y en  ip address 192.168.1.02.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"682\" src=\"http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen-1024x682.png\" alt=\"\" class=\"wp-image-565\" srcset=\"http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen-1024x682.png 1024w, http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen-300x200.png 300w, http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen-768x511.png 768w, http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen-451x300.png 451w, http:\/\/aldarias.es\/wordpress\/wp-content\/uploads\/2024\/10\/imagen.png 1101w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Segundo debemos entrar al archivo de configuraci\u00f3n index.lighttpd.html y a\u00f1adir unas lineas para rediriguir la p\u00e1gina.<\/p>\n\n\n\n<p>sudo nano \/var\/www\/html\/index.lighttpd.html<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;head&gt;\n     &lt;meta http-equiv=\"Refresh\" content=\"0;url=http:\/\/pihole.aldarias.es\/admin\/\"&gt;\n &lt;\/head&gt;\n &lt;body&gt;\n &lt;\/body&gt;\n\nProbar que funciona con el navegador: <a href=\"http:\/\/pihole.aldarias.es\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/pihole.aldarias.es<\/a>\n\nFuente: C\u00f3mo redirigir tu p\u00e1gina web a otra mediante el fichero index.html \n<a href=\"https:\/\/www.swhosting.com\/es\/comunidad\/manual\/como-redirigir-tu-pagina-web-a-otra-mediante-el-fichero-indexhtml\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.swhosting.com\/es\/comunidad\/manual\/como-redirigir-tu-pagina-web-a-otra-mediante-el-fichero-indexhtml<\/a><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>El objetivo de ese art\u00edculo es explicar como hacer que pihole se identifique a el mismo con un subdominio y cambie de carpeta al entrar al index predefinido. Es decir, para entrar a pihole antes entraba con http:\/\/192.168.1.102\/admin, y ahora &hellip; <a href=\"http:\/\/aldarias.es\/wordpress\/?p=562\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"none","_seopress_titles_title":"Pihole local dns redirigido a admin","_seopress_titles_desc":"Pihole local dns  redirigido a admin","_seopress_robots_index":"","_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"episode_type":"","audio_file":"","podmotor_file_id":"","podmotor_episode_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","footnotes":""},"categories":[265,151,264],"tags":[],"class_list":["post-562","post","type-post","status-publish","format-standard","hentry","category-dns","category-html","category-pihole"],"_links":{"self":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=562"}],"version-history":[{"count":2,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions"}],"predecessor-version":[{"id":568,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/562\/revisions\/568"}],"wp:attachment":[{"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=562"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=562"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/aldarias.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}