{"id":11587,"date":"2021-09-15T09:08:48","date_gmt":"2021-09-15T09:08:48","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=11587"},"modified":"2024-04-24T06:56:30","modified_gmt":"2024-04-24T05:56:30","slug":"optimize-apache-web-server-whm","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/","title":{"rendered":"How to Optimize Apache Web Server with WHM?"},"content":{"rendered":"<p>Apache is a popular web server that is freely available to all Linux-based systems with an &#8220;open source&#8221; license. As you know, the primary function of any web server is to accept and process the requests sent by clients (visitors). Apache is unique as it deploys advanced functions to its software like MPM(multi-processing modes) or <strong>mod_ssl<\/strong> for enabling SSL v3 and TLS support. The only thing is, you need to optimize the Apache web server. Otherwise, it becomes too restrictive in its functioning.<\/p>\n<h2>To Optimize Apache Web Server<\/h2>\n<p>1. Log in to WHM with your root account.<\/p>\n<p>2. Select the <strong>Service Configuration<\/strong>\u00a0option from the navigation menu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12022\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\" alt=\"\" width=\"1919\" height=\"869\" \/><\/p>\n<p>3. Click on <strong>Apache Configuration<\/strong>.<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12671\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/08\/whm_apache_configuration.png\" alt=\"\" width=\"1255\" height=\"249\" \/><\/p>\n<p>A list of configuration options for the Apache server will appear.<\/p>\n<p>4. Click on <strong>Global Configuration<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12871\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/09\/whm_apache_global_configuration.png\" alt=\"\" width=\"1353\" height=\"603\" \/><\/p>\n<p>A form-like panel will appear with various fields for Apache configuration.<\/p>\n<p>5. Set these values in the respective fields:<\/p>\n<p><code><strong>Start Servers<\/strong> = 5<br \/>\n<strong>Minimum Spare Servers<\/strong> = 5<br \/>\n<strong>Maximum Spare Servers<\/strong> = 10<br \/>\n<strong>Server Limit (Maximum: 20,000)<\/strong> = 500<br \/>\n<strong>Max Request Workers<\/strong> = 500<br \/>\n<strong>Max Connections Per Child<\/strong> = 4000<br \/>\n<strong>Timeout<\/strong> = 20<\/code><\/p>\n<p>6. If the above values are not set as default, you can select the text box to enter them manually.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12875\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/09\/whm_apache_configuration_fields.png\" alt=\"\" width=\"1373\" height=\"814\" \/><\/p>\n<p>7. Once you have entered all the values, scroll to the end and click the <strong>Save<\/strong> button.<\/p>\n<p>The system will save the settings and display them.<\/p>\n<p>8. Recheck the saved details and after you have confirmed, click the <strong>Rebuild Configuration and Restart Apache<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12876\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/09\/whm_apache_rebuildl_configuration_restart.png\" alt=\"\" width=\"1376\" height=\"693\" \/><\/p>\n<p>The system will rebuild and restart the Apache server.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-12877\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/09\/whm_apache_rebuild_restart.png\" alt=\"\" width=\"1382\" height=\"278\" \/><\/p>\n<p>With it you will successfully optimize the Apache web server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache is a popular web server that is freely available to all Linux-based systems with an &#8220;open source&#8221; license. As you know, the primary function of any web server is to accept and process the requests sent by clients (visitors). Apache is unique as it deploys advanced functions to its software like MPM(multi-processing modes) or [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,229,4],"tags":[112,2408,2464,2463,175,1423],"class_list":["post-11587","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","category-whm","category-web-hosting-faq","tag-apache-hosting","tag-apache-server-whm","tag-optimize-apache","tag-optimize-apache-web-server","tag-whm","tag-whm-root"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.\" \/>\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.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-15T09:08:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-24T05:56:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\" \/>\n<meta name=\"author\" content=\"Prasad Khartadkar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prasad Khartadkar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/\",\"name\":\"Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"datePublished\":\"2021-09-15T09:08:48+00:00\",\"dateModified\":\"2024-04-24T05:56:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\"},\"description\":\"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png\",\"width\":1919,\"height\":869},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Optimize Apache Web Server with WHM?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e\",\"name\":\"Prasad Khartadkar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g\",\"caption\":\"Prasad Khartadkar\"},\"description\":\"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb","description":"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.","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.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/","og_locale":"en_GB","og_type":"article","og_title":"Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb","og_description":"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2021-09-15T09:08:48+00:00","article_modified_time":"2024-04-24T05:56:30+00:00","og_image":[{"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","type":"","width":"","height":""}],"author":"Prasad Khartadkar","twitter_misc":{"Written by":"Prasad Khartadkar","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/","name":"Optimize Apache Web Server with WHM - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","datePublished":"2021-09-15T09:08:48+00:00","dateModified":"2024-04-24T05:56:30+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e"},"description":"In this tutorial you will learn to optimize the Apache web server on your hosting from the WHM panel.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2021\/06\/whm_service_configuration.png","width":1919,"height":869},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/optimize-apache-web-server-whm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Optimize Apache Web Server with WHM?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/c9138a9488172a8d0aa2d4f40878d83e","name":"Prasad Khartadkar","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fafb102a39aa8f8d38a11f3e2dcfa746?s=96&d=blank&r=g","caption":"Prasad Khartadkar"},"description":"Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/prasad-khartadkar\/"}]}},"views":339,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11587","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=11587"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11587\/revisions"}],"predecessor-version":[{"id":15550,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/11587\/revisions\/15550"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=11587"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=11587"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=11587"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}