{"id":3298,"date":"2020-02-11T12:16:21","date_gmt":"2020-02-11T12:16:21","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=3298"},"modified":"2020-02-11T16:09:29","modified_gmt":"2020-02-11T16:09:29","slug":"apache-test-page","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=3298","title":{"rendered":"Apache test page"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Testing 123&#8230;<\/h2>\n\n\n\n<p>Immediately after the installation of Apache you can verify that it is actually running by opening the <strong>Apache test page<\/strong>, the following image shows how it looks.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-09-webpage-ok.png\"><img loading=\"lazy\" decoding=\"async\" width=\"815\" height=\"643\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-09-webpage-ok.png\" alt=\"\" class=\"wp-image-3278\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-09-webpage-ok.png 815w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-09-webpage-ok-300x237.png 300w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-09-webpage-ok-768x606.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><figcaption>Apache&#8217;s test page<\/figcaption><\/figure><\/div>\n\n\n\n<p>In order to open the Apache&#8217;s test page, you must use the browser of your preference (Firefox, Chrome, Opera, MS Edge, etc.) and type the IP Address of your CentOS Virtual Machine, we have to use the IP Address because we haven&#8217;t configured yet any DNS server on our LAB, that will be covered in a further article.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Apache error<\/h2>\n\n\n\n<p>It is quite common that you come across with an error page instead of the Apache&#8217;s test page, see image below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-04-firewall-entry-missing.png\"><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"432\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-04-firewall-entry-missing.png\" alt=\"\" class=\"wp-image-3265\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-04-firewall-entry-missing.png 739w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/linux-centos7-installing-Apache-web-server-04-firewall-entry-missing-300x175.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/a><figcaption>Apache test page not working<\/figcaption><\/figure><\/div>\n\n\n\n<p>Most of the times this error appears because the firewall is blocking the &#8220;http&#8221; traffic, that is, in case you don&#8217;t know, the Apache&#8217;s traffic, at this point in the LAB we only care about &#8220;http&#8221;, but in the near future we will also have to care about &#8220;https&#8221;, these are just two services that have to be added into the firewall exception list, you can take a look at <a rel=\"noreferrer noopener\" aria-label=\"this article (opens in a new tab)\" href=\"\/apache-and-firewall\/\" target=\"_blank\">this article<\/a> to see how that is done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Testing 123&#8230; Immediately after the installation of Apache you can verify that it is actually running by opening the Apache test page, the following image shows how it looks. In order to open the Apache&#8217;s test page, you must use the browser of your preference (Firefox, Chrome, Opera, MS Edge, etc.) and type the IP &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=3298\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Apache test page&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3298","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3298"}],"version-history":[{"count":13,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3298\/revisions"}],"predecessor-version":[{"id":3374,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3298\/revisions\/3374"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}