{"id":7937,"date":"2024-02-28T17:06:28","date_gmt":"2024-02-28T17:06:28","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=7937"},"modified":"2024-02-28T17:06:30","modified_gmt":"2024-02-28T17:06:30","slug":"setup-configure-litespeed-web-server-directadmin","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/","title":{"rendered":"How to install &#038; configure LiteSpeed web server with DirectAdmin"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1200\" height=\"675\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en.jpg\" alt=\"config LiteSpeed DirectAdmin configuration Debian Ubuntu Centos RHEL\" class=\"wp-image-7950\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en.jpg 1200w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en-150x84.jpg 150w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p>The web server is a crucial component of any web hosting environment. It is responsible for serving website files and processing requests from visitors. The two most popular web server software are Apache and LiteSpeed. Many web hosts use Apache by default since it&#8217;s free, open source, and time-tested. However, LiteSpeed is gaining popularity for its speed, scalability, and advanced caching capabilities.<\/p>\n\n\n\n<p>In this guide, we will walk through the steps to configure LiteSpeed web server with DirectAdmin control panel. We&#8217;ll also discuss the advantages of switching from Apache to LiteSpeed and how it can benefit your hosting business.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-choose-litespeed-over-apache\">Why Choose LiteSpeed Over Apache<\/h2>\n\n\n\n<p>Here are some of the key reasons to consider switching to LiteSpeed:<\/p>\n\n\n\n<ul>\n<li><strong>Faster performance<\/strong>&nbsp;&#8211; LiteSpeed uses an event-driven architecture that can handle more concurrent connections with lower CPU\/memory usage compared to Apache. Benchmark tests show 2x-10x better throughput and latency.<\/li>\n\n\n\n<li><strong>Scalability<\/strong>&nbsp;&#8211; LiteSpeed utilizes multiple caching layers like connection pooling, memory caching, and SSL session caching for high scalability. It can handle thousands of concurrent connections easily.<\/li>\n\n\n\n<li><strong>Advanced caching features<\/strong>&nbsp;&#8211; LiteSpeed comes with built-in caching for static files and dynamic content. This speeds up websites and lowers database load.<\/li>\n\n\n\n<li><strong>Easy migration<\/strong>&nbsp;&#8211; Switching from Apache to LiteSpeed is relatively seamless. The rewrite rules and&nbsp;<code>.htaccess<\/code>&nbsp;files work without changes.<\/li>\n\n\n\n<li><strong>Web app firewall<\/strong>&nbsp;&#8211; LiteSpeed has a built-in firewall that detects and blocks SQL injections, XSS, and other attacks.<\/li>\n\n\n\n<li><strong>WebSocket support<\/strong>&nbsp;&#8211; LiteSpeed can handle WebSocket connections for real-time web apps. Apache needs additional modules.<\/li>\n\n\n\n<li><strong>Cost effective<\/strong>&nbsp;&#8211; At high traffic levels, LiteSpeed delivers better performance at lower infrastructure costs. The savings offset the license fees.<\/li>\n<\/ul>\n\n\n\n<p>For resource-intensive sites, LiteSpeed can potentially deliver 5x more traffic than Apache on the same hardware. The performance gains and ease of scaling make it worthwhile for hosts to switch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install-litespeed-with-directadmin\">Install LiteSpeed with DirectAdmin<\/h2>\n\n\n\n<p>Let&#8217;s go through the installation steps to set up LiteSpeed with DirectAdmin control panel.<\/p>\n\n\n\n<ul>\n<li>Log in to the DirectAdmin server terminal as the root user.<\/li>\n\n\n\n<li>Navigate to the custom build directory:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ cd \/usr\/local\/directadmin\/custombuild<\/code><\/pre>\n\n\n\n<ul>\n<li>Update the custombuild scripts:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build update<\/code><\/pre>\n\n\n\n<ul>\n<li>Set LiteSpeed as the web server:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build set webserver litespeed<\/code><\/pre>\n\n\n\n<ul>\n<li>Set the PHP processing mode to LiteSpeed:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build set php1_mode lsphp \n$ .\/build set php2_mode lsphp\n$ .\/build set php3_mode lsphp\n$ .\/build set php4_mode lsphp<\/code><\/pre>\n\n\n\n<ul>\n<li>Install LiteSpeed:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build litespeed<\/code><\/pre>\n\n\n\n<ul>\n<li>Recompile PHP for LiteSpeed:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build php n<\/code><\/pre>\n\n\n\n<p>The commands above install LSWS with a trial license and build PHP for LSWS.<\/p>\n\n\n\n<p>More install options are described on the&nbsp;<a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:directadmin:custombuild-installation\">official LiteSpeed wiki<\/a>&nbsp;page.<\/p>\n\n\n\n<p>You may refer to these instructions to&nbsp;<a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:licenses:activating-a-license\">activate the license<\/a>.<\/p>\n\n\n\n<p>To activate license after trial expires &#8211; get one from them and:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ .\/build set litespeed_serialno XXXX-YYYY-ZZZZ\n$ .\/build litespeed<\/code><\/pre>\n\n\n\n<p>Restart services for changes to take effect:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ \/etc\/init.d\/lsws restart\n$ \/etc\/init.d\/lscpd restart <\/code><\/pre>\n\n\n\n<p>That covers the basic installation! LiteSpeed is now active and serving your websites. Next we&#8217;ll go through some recommended configuration tweaks.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"recommended-configuration-changes\">Recommended Configuration Changes<\/h2>\n\n\n\n<p>LiteSpeed has many powerful features hidden behind the scenes. Here are some configuration tips to tap into its full potential:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"1-enable-caching\">1. Enable caching<\/h3>\n\n\n\n<p>Caching static files and pages can dramatically speed up websites under load. To enable caching in DirectAdmin:<\/p>\n\n\n\n<ol>\n<li>Go to&nbsp;<code>Select Features<\/code>&nbsp;in DirectAdmin.<\/li>\n\n\n\n<li>Enable&nbsp;<code>LiteSpeed Web Cache<\/code>.<\/li>\n\n\n\n<li>Set the desired cache rules, like caching images, CSS files for 1 week.<\/li>\n\n\n\n<li>Save changes.<\/li>\n<\/ol>\n\n\n\n<p>This will activate LiteSpeed caching for new accounts. For existing accounts, you&#8217;ll have to enable caching manually per website or use&nbsp;<code>.htaccess<\/code>&nbsp;rules.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"2-adjust-max-connections\">2. Adjust max connections<\/h3>\n\n\n\n<p>Each web server process can handle a limited number of simultaneous connections. The default limit is too low for busy sites. To increase it:<\/p>\n\n\n\n<ol>\n<li>Edit LiteSpeed config:&nbsp;<code>\/usr\/local\/lsws\/conf\/httpd_config.conf<\/code><\/li>\n\n\n\n<li>Bump up&nbsp;<code>maxConnections<\/code>&nbsp;to a higher limit like 10000-50000 based on your traffic.<\/li>\n\n\n\n<li>Save and restart LiteSpeed.<\/li>\n<\/ol>\n\n\n\n<p>This enhances capacity to handle more visitors at once.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"3-enable-websockets\">3. Enable WebSockets<\/h3>\n\n\n\n<p>If you host any apps that use WebSockets, enable this in the config:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"xml\" class=\"language-xml\">&lt;moduleHandlers&gt;\n  <em>&lt;!-- WebSockets support --&gt;<\/em> \n  &lt;add name=\"WebSocket\"\/&gt;\n&lt;\/moduleHandlers&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"4-set-up-caching-for-database-queries\">4. Set up caching for database queries<\/h3>\n\n\n\n<p>You can add caching for database content like WordPress\/Joomla pages. This avoids repeatedly running the same queries.<\/p>\n\n\n\n<ol>\n<li>Install the&nbsp;<a href=\"https:\/\/www.litespeedtech.com\/support\/wiki\/doku.php\/litespeed_wiki:cache:lscwp\">LiteSpeed Cache for WordPress<\/a>&nbsp;plugin.<\/li>\n\n\n\n<li>For other apps, use query caching features in phpMyAdmin or database.<\/li>\n<\/ol>\n\n\n\n<p>Caching is one of the biggest performance wins of using LiteSpeed. Take advantage of the different layers offered.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"5-enable-lscache-plugins-for-cms\">5. Enable LSCache plugins for CMS<\/h3>\n\n\n\n<p>LiteSpeed Cache (LSCache) plugins further optimize popular CMS platforms like WordPress, Magento, and Joomla. Install these plugins and enable caching to speed up sites:<\/p>\n\n\n\n<ul>\n<li>WordPress &#8211;&nbsp;<a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscwp\/installation\/\">LiteSpeed Cache<\/a><\/li>\n\n\n\n<li>Magento &#8211;&nbsp;<a href=\"https:\/\/docs.litespeedtech.com\/lscache\/litemage\/installation\/\">LiteSpeed Cache for Magento<\/a><\/li>\n\n\n\n<li>Joomla &#8211;&nbsp;<a href=\"https:\/\/docs.litespeedtech.com\/lscache\/lscjoomla\/installation\/\">LiteSpeed Joomla Cache<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"6-add-a-waf-rule-to-block-malicious-requests\">6. Add a WAF rule to block malicious requests<\/h3>\n\n\n\n<p>LiteSpeed comes with a web application firewall (WAF) module. You can set up custom rules to protect against attacks.<\/p>\n\n\n\n<p>For example, block requests containing suspicious User-Agent strings:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"xml\" class=\"language-xml\">&lt;rule file=\"Block_Malicious_UserAgent.xml\"&gt;\n  &lt;ruleset&gt;\n    &lt;rule&gt;\n      &lt;pattern&gt;(libwww-perl|curl|python|nikto|scan|sqlmap|w3af|nmap)&lt;\/pattern&gt;\n      &lt;action&gt;block&lt;\/action&gt;\n    &lt;\/rule&gt;\n  &lt;\/ruleset&gt;\n&lt;\/rule&gt;<\/code><\/pre>\n\n\n\n<p>The WAF can help protect sites against exploits beyond normal .htaccess rules.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"migrating-from-apache-to-litespeed\">Migrating from Apache to LiteSpeed<\/h2>\n\n\n\n<p>If switching from an existing Apache setup, here is what&#8217;s needed to migrate smoothly:<\/p>\n\n\n\n<ul>\n<li><strong>Rewrite rules<\/strong>&nbsp;&#8211;&nbsp;<code>.htaccess<\/code>&nbsp;rewrite rules and Permalinks settings in WordPress will work as-is with LiteSpeed.<\/li>\n\n\n\n<li><strong>php.ini settings<\/strong>&nbsp;&#8211; Minor php.ini tweaks may be needed if PHP version is upgraded.<\/li>\n\n\n\n<li><strong>Modules<\/strong>&nbsp;&#8211; Enable LiteSpeed equivalents of any Apache modules in use, like&nbsp;<code>mod_rewrite<\/code>.<\/li>\n\n\n\n<li><strong>Layer 7 software<\/strong>&nbsp;&#8211; For proxy\/CDNs like Varnish, update to support HTTP\/2 and LiteSpeed.<\/li>\n\n\n\n<li><strong>Security rules<\/strong>&nbsp;&#8211; Migrate&nbsp;<code>.htaccess<\/code>&nbsp;security rules like IP blocking to LiteSpeed rulesets.<\/li>\n\n\n\n<li><strong>Performance testing<\/strong>&nbsp;&#8211; Do performance testing to tune caching settings and capacity limits.<\/li>\n\n\n\n<li><strong>Let&#8217;s Encrypt SSL<\/strong>&nbsp;&#8211; Migrate SSL certificates or set up a free Let&#8217;s Encrypt certificates.<\/li>\n\n\n\n<li><strong>Log formats<\/strong>&nbsp;&#8211; If needed, configure Apache style logs.<\/li>\n<\/ul>\n\n\n\n<p>Aside from minor tweaks, the switch from Apache to LiteSpeed is not overly complex. For the large performance gains, it&#8217;s worth the upfront migration effort.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Apache has been the go-to web server for many years, but LiteSpeed is emerging as a faster, more scalable successor. On high traffic sites, LiteSpeed can deliver significantly better performance and reduce server load.<\/p>\n\n\n\n<p>Switching web servers may seem daunting, but LiteSpeed makes it relatively smooth. With compatible rewrite rules and caching plugins, you can migrate existing sites over and immediately see gains.<\/p>\n\n\n\n<p>On fresh servers, using LiteSpeed from the start is an excellent choice. The combination of LiteSpeed&#8217;s speed with DirectAdmin&#8217;s ease of use is compelling for any hosting provider. Your customers will appreciate the faster load times while you benefit from scalability to grow your business.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The web server is a crucial component of any web hosting environment. It is responsible for serving website files and processing requests from visitors. The two most popular web server software are Apache and LiteSpeed. Many web hosts use Apache by default since it&#8217;s free, open source, and time-tested. However, LiteSpeed is gaining popularity for ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[198,4],"tags":[],"yoast_head":"\n<title>How to install &amp; configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.\" \/>\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.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install &amp; configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2024-02-28T17:06:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-28T17:06:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"How to install &#038; configure LiteSpeed web server with DirectAdmin\",\"datePublished\":\"2024-02-28T17:06:28+00:00\",\"dateModified\":\"2024-02-28T17:06:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\"},\"wordCount\":1045,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Web hosting Panels\",\"Web servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\",\"name\":\"How to install & configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2024-02-28T17:06:28+00:00\",\"dateModified\":\"2024-02-28T17:06:30+00:00\",\"description\":\"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install &#038; configure LiteSpeed web server with DirectAdmin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1784239260\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1784239260\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"How to install & configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations","description":"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.","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.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"How to install & configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations","og_description":"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.","og_url":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2024-02-28T17:06:28+00:00","article_modified_time":"2024-02-28T17:06:30+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2024\/02\/litespeed_directadmin_en.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"How to install &#038; configure LiteSpeed web server with DirectAdmin","datePublished":"2024-02-28T17:06:28+00:00","dateModified":"2024-02-28T17:06:30+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/"},"wordCount":1045,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Web hosting Panels","Web servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/","url":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/","name":"How to install & configure LiteSpeed web server with DirectAdmin - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2024-02-28T17:06:28+00:00","dateModified":"2024-02-28T17:06:30+00:00","description":"A guide to configuring the LiteSpeed web server with DirectAdmin control panel. Discusses performance benefits of switching from Apache and recommended configuration tweaks.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/setup-configure-litespeed-web-server-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"How to install &#038; configure LiteSpeed web server with DirectAdmin"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1784239260","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1784239260","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7937"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=7937"}],"version-history":[{"count":6,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7937\/revisions"}],"predecessor-version":[{"id":7957,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/7937\/revisions\/7957"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=7937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=7937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=7937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}