{"id":5267,"date":"2022-08-28T14:52:16","date_gmt":"2022-08-28T18:52:16","guid":{"rendered":"https:\/\/www.cloudsurph.com\/?p=5267"},"modified":"2022-08-28T15:10:27","modified_gmt":"2022-08-28T19:10:27","slug":"how-to-install-and-setup-the-apache-web-server-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/","title":{"rendered":"How to Install and Setup the Apache Web Server on CentOS 7"},"content":{"rendered":"<p>In this article, we will show How to Install and Setup the Apache Web Server on CentOS 7 VPS server.<\/p>\n<p>The\u00a0<a href=\"https:\/\/www.apache.org\/\">Apache<\/a>\u00a0HTTP server is the most widely used web server in the digital world. It provides us with many powerful features including robust media support, dynamically loadable modules, and extensive integration with other popular software.<\/p>\n<h4>We will need the following to complete this article also:<\/h4>\n<h5><em><strong>You can purchase your\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">hosting from Cloudsurph.com<\/a>,\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">Cloudsurph hosting<\/a>\u00a0is a reliable hosting option for business and personal projects. We offer insight and help on system configuration issues and code errors or bugs<\/strong>.<\/em><\/h5>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>A non-root user with sudo privileges configured on your server, you can see the\u00a0<a href=\"https:\/\/www.cloudsurph.com\/initial-server-setup-with-centos-7\/\">initial server setup guide for CentOS 7<\/a><\/li>\n<li>A basic firewall configured by the following\u00a0Configuration and <a href=\"https:\/\/www.cloudsurph.com\/configuration-and-additional-recommended-steps-for-new-centos-7-servers\/\">Additional Recommended Steps for New CentOS 7 Servers\u00a0<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h3>Installing Apache<\/h3>\n<p>Apache is a default software repository within CentOS 7, which means we can install it with the yum package manager. <strong><em>Love to Code? We\u2019re Your Helping Partner,\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">click here for<\/a>\u00a0\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">Buy Our Service<\/a><\/em><\/strong><\/p>\n<p>As the non-root sudo user is configured in the prerequisites, update the local Apache httpd package index to consider the latest upstream changes: <em><strong>IF you want then buy a good, reliable, secure web\u00a0<a href=\"https:\/\/www.cloudsurph.com\/windows-vps-hosting\/\">hosting<\/a>\u00a0service \u00a0from here:\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">click here<\/a><\/strong><\/em><\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo yum update httpd\r\n<\/pre>\n<p>When the packages are updated, then install the Apache package:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo yum install httpd\r\n<\/pre>\n<p>When completed the installation, yum will install Apache and all required are dependencies. Now we can do this by enabling firewalld\u2019s http service with the following below command: <strong><em>Love to Code? We\u2019re Your Helping Partner,\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">click here for<\/a>\u00a0\u00a0<a href=\"https:\/\/www.cloudsurph.com\/love-to-code\/\">Buy Our Service<\/a><\/em><\/strong><\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo firewall-cmd --permanent --add-service=http\r\n<\/pre>\n<p>Here, if you plan to configure Apache to serve content over HTTPS, you will also want to open up port\u00a0443\u00a0by enabling the\u00a0https\u00a0service:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo firewall-cmd --permanent --add-service=https\r\n<\/pre>\n<p>After then, reload the firewall to enter these new rules into effect:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo firewall-cmd --reload\r\n<\/pre>\n<p>After the firewall is active, you are ready to start your service and need to check the web server.<\/p>\n<h3>Checking Web Server<\/h3>\n<p>Apache does not start automatically on CentOS7 once the installation is completed. You will need to start the Apache process manually by the following command: <em><strong>IF you want then buy a good, reliable, secure web\u00a0<a href=\"https:\/\/www.cloudsurph.com\/windows-vps-hosting\/\">hosting<\/a>\u00a0service \u00a0from here:\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">click here<\/a><\/strong><\/em><\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl start httpd\r\n<\/pre>\n<p>Now, need to verify that the service is running with the following command:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl status httpd\r\n<\/pre>\n<p>Here you will see an\u00a0active\u00a0status your service is running:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5272\" src=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-active-status.jpg\" alt=\"\" width=\"1294\" height=\"855\" srcset=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-active-status.jpg 1294w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-active-status-1280x846.jpg 1280w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-active-status-980x648.jpg 980w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-active-status-480x317.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1294px, 100vw\" \/><\/p>\n<p>The service appears to have started successfully as you can see from this output. However, the best way is to test and this is to request a page from Apache.<\/p>\n<p>Now, you can access the default Apache landing page to confirm that the software is running properly through your VPS IP address.<\/p>\n<p>If you do not know your VPS server\u2019s IP address, you can get it a few different ways from the command line interface.<\/p>\n<p>You can type the following at your server\u2019s command prompt:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# hostname -I\r\n<\/pre>\n<p>When you have your VPS server\u2019s IP address, open any browser and enter it into your browser\u2019s address bar:<\/p>\n<pre class=\"prettyprint\">http:\/\/your_server_ip\r\n<\/pre>\n<p>You will see the default CentOS 7 Apache web testing page:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5273\" src=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-CentOS-7-Apache-web-testing-page.jpg\" alt=\"\" width=\"1294\" height=\"855\" srcset=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-CentOS-7-Apache-web-testing-page.jpg 1294w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-CentOS-7-Apache-web-testing-page-1280x846.jpg 1280w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-CentOS-7-Apache-web-testing-page-980x648.jpg 980w, https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7-CentOS-7-Apache-web-testing-page-480x317.jpg 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) and (max-width: 1280px) 1280px, (min-width: 1281px) 1294px, 100vw\" \/><\/p>\n<h3>Managing the Apache Process<\/h3>\n<p>Now, you have your web server up and running, so let\u2019s go over some basic management by commands.<\/p>\n<p>To stop your web server, type the following code:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl stop httpd\r\n<\/pre>\n<p>Now for start the web server when it is stopped, type the following code:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl start httpd\r\n<\/pre>\n<p>To stop and then start the service again, type the following code:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl restart httpd\r\n<\/pre>\n<p>Here, if you are simply making configuration changes, the Apache can often reload without dropping connections. So, here we need to use the following command:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl reload httpd\r\n<\/pre>\n<p>By default, Apache is configured to start automatically when the server boots and if this is not what you want, disable this behavior by typing the following code:<\/p>\n<p>Now, for re-enabling the service to start up at boot, type the following code:<\/p>\n<pre class=\"prettyprint\">[root@ronykayes ~]# sudo systemctl enable httpd\r\n<\/pre>\n<p>That\u2019s it, now Apache will start automatically when the server boots again. By the default configuration for Apache will allow our server to host a single website. If you plan on hosting multiple domains on your VPS server, then you will need to configure virtual hosts on your Apache web server.<\/p>\n<p>That\u2019s it. If you enjoyed reading this article and have more questions please reach out to our\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/submitticket.php?step=2&amp;deptid=1\">support team<\/a>\u00a0via live chat or\u00a0<a href=\"mailto:support@cloudsurph.com\">email<\/a>\u00a0and we would be glad to help you. we provide server\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">hosting<\/a>\u00a0for all types of need and we can even get your\u00a0<a href=\"https:\/\/hosting.cloudsurph.com\/\">server<\/a>\u00a0up and running with the service of your choice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we will show How to Install and Setup the Apache Web Server on CentOS 7 VPS server. The\u00a0Apache\u00a0HTTP server is the most widely used web server in the digital world. It provides us with many powerful features including robust media support, dynamically loadable modules, and extensive integration with other popular software. We [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":5268,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[157,25,158,159,44,1],"tags":[54,47,105,103,48,113],"class_list":["post-5267","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos-7","category-web-hosting-virtualization","category-linux-basics","category-linux-server","category-kvm-xen","category-virtual-private-servers","tag-best-vps-hosting-server-maryland","tag-cheap-cloud-servers","tag-cheap-storage-server-hosting","tag-cheapest-vps","tag-dedicated-server-hosting-in-washington-d-c","tag-speed-test-vps"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install and Setup the Apache Web Server on CentOS 7 -<\/title>\n<meta name=\"description\" content=\"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install and Setup the Apache Web Server on CentOS 7 -\" \/>\n<meta property=\"og:description\" content=\"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Cloudsurph Web Hosting Washington D.C.\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CloudSurph\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-28T18:52:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-28T19:10:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1264\" \/>\n\t<meta property=\"og:image:height\" content=\"760\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Rony\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cloudsurph\" \/>\n<meta name=\"twitter:site\" content=\"@Cloud_Surph\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rony\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/\"},\"author\":{\"name\":\"Rony\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/person\\\/ac9b4dd136d96e50d5f29c560191e7ed\"},\"headline\":\"How to Install and Setup the Apache Web Server on CentOS 7\",\"datePublished\":\"2022-08-28T18:52:16+00:00\",\"dateModified\":\"2022-08-28T19:10:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/\"},\"wordCount\":750,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg\",\"keywords\":[\"Best VPS hosting server Maryland\",\"Cheap Cloud Servers\",\"Cheap Storage Server Hosting\",\"Cheapest VPS\",\"Dedicated Server Hosting in Washington D.C\",\"Speed test VPS\"],\"articleSection\":[\"CentOS 7\",\"Cloud Hosting\",\"Linux Basics\",\"Linux Server\",\"Virtualization\",\"VPS Servers\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/\",\"name\":\"How to Install and Setup the Apache Web Server on CentOS 7 -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg\",\"datePublished\":\"2022-08-28T18:52:16+00:00\",\"dateModified\":\"2022-08-28T19:10:27+00:00\",\"description\":\"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg\",\"contentUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg\",\"width\":1264,\"height\":760},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/how-to-install-and-setup-the-apache-web-server-on-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cloudsurph.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install and Setup the Apache Web Server on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#website\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/\",\"name\":\"Cloudsurph Web Hosting Washington D.C.\",\"description\":\"Dedicated Server Hosting\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cloudsurph.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#organization\",\"name\":\"CloudSurph Technology Solutions\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/cloudsurph-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.cloudsurph.com\\\/wp-content\\\/uploads\\\/2016\\\/04\\\/cloudsurph-logo.png\",\"width\":2348,\"height\":1692,\"caption\":\"CloudSurph Technology Solutions\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/CloudSurph\\\/\",\"https:\\\/\\\/x.com\\\/Cloud_Surph\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cloudsurph.com\\\/#\\\/schema\\\/person\\\/ac9b4dd136d96e50d5f29c560191e7ed\",\"name\":\"Rony\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g\",\"caption\":\"Rony\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/cloudsurph\"],\"url\":\"https:\\\/\\\/www.cloudsurph.com\\\/author\\\/ron\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install and Setup the Apache Web Server on CentOS 7 -","description":"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install and Setup the Apache Web Server on CentOS 7 -","og_description":"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process","og_url":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/","og_site_name":"Cloudsurph Web Hosting Washington D.C.","article_publisher":"https:\/\/www.facebook.com\/CloudSurph\/","article_published_time":"2022-08-28T18:52:16+00:00","article_modified_time":"2022-08-28T19:10:27+00:00","og_image":[{"width":1264,"height":760,"url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg","type":"image\/jpeg"}],"author":"Rony","twitter_card":"summary_large_image","twitter_creator":"@cloudsurph","twitter_site":"@Cloud_Surph","twitter_misc":{"Written by":"Rony","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/"},"author":{"name":"Rony","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/person\/ac9b4dd136d96e50d5f29c560191e7ed"},"headline":"How to Install and Setup the Apache Web Server on CentOS 7","datePublished":"2022-08-28T18:52:16+00:00","dateModified":"2022-08-28T19:10:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/"},"wordCount":750,"publisher":{"@id":"https:\/\/www.cloudsurph.com\/#organization"},"image":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg","keywords":["Best VPS hosting server Maryland","Cheap Cloud Servers","Cheap Storage Server Hosting","Cheapest VPS","Dedicated Server Hosting in Washington D.C","Speed test VPS"],"articleSection":["CentOS 7","Cloud Hosting","Linux Basics","Linux Server","Virtualization","VPS Servers"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/","url":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/","name":"How to Install and Setup the Apache Web Server on CentOS 7 -","isPartOf":{"@id":"https:\/\/www.cloudsurph.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#primaryimage"},"image":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg","datePublished":"2022-08-28T18:52:16+00:00","dateModified":"2022-08-28T19:10:27+00:00","description":"How to Install and setup the Apache Web Server on CentOS 7, Installing Apache, Checking your Web Server, Managing the Apache Process","breadcrumb":{"@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#primaryimage","url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg","contentUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2022\/08\/How-to-Install-and-setup-the-Apache-Web-Server-on-CentOS-7.jpg","width":1264,"height":760},{"@type":"BreadcrumbList","@id":"https:\/\/www.cloudsurph.com\/how-to-install-and-setup-the-apache-web-server-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cloudsurph.com\/"},{"@type":"ListItem","position":2,"name":"How to Install and Setup the Apache Web Server on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.cloudsurph.com\/#website","url":"https:\/\/www.cloudsurph.com\/","name":"Cloudsurph Web Hosting Washington D.C.","description":"Dedicated Server Hosting","publisher":{"@id":"https:\/\/www.cloudsurph.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cloudsurph.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.cloudsurph.com\/#organization","name":"CloudSurph Technology Solutions","url":"https:\/\/www.cloudsurph.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2016\/04\/cloudsurph-logo.png","contentUrl":"https:\/\/www.cloudsurph.com\/wp-content\/uploads\/2016\/04\/cloudsurph-logo.png","width":2348,"height":1692,"caption":"CloudSurph Technology Solutions"},"image":{"@id":"https:\/\/www.cloudsurph.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CloudSurph\/","https:\/\/x.com\/Cloud_Surph"]},{"@type":"Person","@id":"https:\/\/www.cloudsurph.com\/#\/schema\/person\/ac9b4dd136d96e50d5f29c560191e7ed","name":"Rony","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/40163fe1eb49d5eddd81954e8ad5122633e141df15b0733d07fbe4a156688ba5?s=96&d=mm&r=g","caption":"Rony"},"sameAs":["https:\/\/x.com\/cloudsurph"],"url":"https:\/\/www.cloudsurph.com\/author\/ron\/"}]}},"_links":{"self":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/comments?post=5267"}],"version-history":[{"count":6,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5267\/revisions"}],"predecessor-version":[{"id":5276,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/posts\/5267\/revisions\/5276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/media\/5268"}],"wp:attachment":[{"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/media?parent=5267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/categories?post=5267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cloudsurph.com\/wp-json\/wp\/v2\/tags?post=5267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}