{"id":8375,"date":"2019-05-16T10:10:42","date_gmt":"2019-05-16T08:10:42","guid":{"rendered":"https:\/\/blog.unelink.es\/?p=8375"},"modified":"2019-11-22T11:26:59","modified_gmt":"2019-11-22T10:26:59","slug":"reiniciar-el-servicio-http-desde-ssh","status":"publish","type":"post","link":"https:\/\/hosting.airetech.es\/blog\/wiki\/reiniciar-el-servicio-http-desde-ssh\/","title":{"rendered":"Reiniciar el servicio HTTP desde SSH"},"content":{"rendered":"\n<p>Si tienes contratado un <a rel=\"noreferrer noopener\" aria-label=\"servidor VPS (abre en una nueva pesta\u00f1a)\" href=\"https:\/\/www.unelink.es\/servidores-virtuales-33.html\" target=\"_blank\">servidor VPS<\/a> o <a href=\"https:\/\/www.unelink.es\/servidores-dedicados-32.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"dedicado (abre en una nueva pesta\u00f1a)\">dedicado<\/a>, y necesitas reiniciar el servicio web HTTP, puedes hacerlo desde la consola de comandos por una conexi\u00f3n SSH.<\/p>\n\n\n\n<p>Lo que tienes que hacer es <strong>acceder como root por SSH<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-2.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"198\" src=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-2.jpg\" alt=\"Acceso root SSH\" class=\"wp-image-8376\" srcset=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-2.jpg 677w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-2-300x88.jpg 300w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/acceso-ssh-2-600x175.jpg 600w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><figcaption>Acceso root SSH<\/figcaption><\/figure><\/div>\n\n\n\n<p>Introduce el <strong>siguiente comando<\/strong> y pulsa intro.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/init.d\/httpd restart<\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-http-ssh.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"198\" src=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-http-ssh.jpg\" alt=\"Reiniciar HHTP por SSH\" class=\"wp-image-8377\" srcset=\"https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-http-ssh.jpg 677w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-http-ssh-300x88.jpg 300w, https:\/\/hosting.airetech.es\/blog\/wp-content\/uploads\/2019\/05\/reiniciar-http-ssh-600x175.jpg 600w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/a><figcaption>Reiniciar HHTP por SSH<\/figcaption><\/figure><\/div>\n\n\n\n<p>Ten en cuenta que <strong>dependiendo de la distribuci\u00f3n<\/strong> que tengas instalada, as\u00ed como del panel de control y servicio web utilizado, <strong>el comando puede variar<\/strong>.<\/p>\n\n\n\n<p>De esta forma reiniciar\u00e1s el servicio HTTP.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"Si tienes contratado un servidor VPS o dedicado, y necesitas reiniciar el servicio web HTTP, puedes hacerlo desde la consola de comandos por una conexi\u00f3n SSH. Lo que tienes que hacer es acceder como root por SSH Introduce el siguiente comando y pulsa intro. \/etc\/init.d\/httpd restart Ten en cuenta que dependiendo de la distribuci\u00f3n que tengas instalada, as\u00ed como del&nbsp;<a href=\"https:\/\/hosting.airetech.es\/blog\/wiki\/reiniciar-el-servicio-http-desde-ssh\/\" class=\"read-more\">Seguir leyendo<\/a>","protected":false},"author":1,"featured_media":8377,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,7,8,515,349,507,6],"tags":[216,337,338,213,214,169],"class_list":["post-8375","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-servidores-dedicados","category-servidores-virtuales-vps","category-ssh-servidores-virtuales-vps","category-ssh","category-ssh-servidores-dedicados","category-wiki","tag-linux","tag-reiniciar-http","tag-reiniciar-web","tag-servidores-dedicados","tag-servidores-virtuales-vps","tag-ssh","cat-10-id","cat-7-id","cat-8-id","cat-515-id","cat-349-id","cat-507-id","cat-6-id"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/comments?post=8375"}],"version-history":[{"count":1,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8375\/revisions"}],"predecessor-version":[{"id":8379,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/posts\/8375\/revisions\/8379"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media\/8377"}],"wp:attachment":[{"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/media?parent=8375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/categories?post=8375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.airetech.es\/blog\/wp-json\/wp\/v2\/tags?post=8375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}