{"id":49251,"date":"2024-11-06T12:30:00","date_gmt":"2024-11-06T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=49251"},"modified":"2024-11-18T12:53:07","modified_gmt":"2024-11-18T18:53:07","slug":"wordpress-multisite-with-openlitespeed-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/","title":{"rendered":"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\" alt=\"How to Set Up WordPress Multisite With OpenLiteSpeed On Ubuntu 24.04\" class=\"wp-image-49522\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This tutorial will explain how to set up WordPress Multisite with an OpenLiteSpeed web server on Ubuntu 24.04 OS.<\/p>\n\n\n\n<p>WordPress is a free and open-source content management system written in PHP that uses MySQL to store data and Apache, Nginx, or OpenLiteSpeed as a web server. OpenLiteSpeed is a high-performance, lightweight, open-sourced HTTP web server that helps your site load faster than any other web server. A WordPress multisite configuration enables multiple websites on the same WordPress installation.<\/p>\n\n\n\n<p>Everything we explained above will be installed in the following paragraphs in less than half an hour. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f1e6353242f\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f1e6353242f\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-2-Install-OpenLiteSpeed\" >Step 2. Install OpenLiteSpeed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-3-Access-the-OpenLiteSpeed-Admin-dashboard\" >Step 3. Access the OpenLiteSpeed Admin dashboard<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-4-MariaDB-installation-and-Database-creation\" >Step 4. MariaDB installation and Database creation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-5-PHP-installation\" >Step 5. PHP installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-6-Download-and-install-WordPress\" >Step 6. Download and install WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-7-Configure-OpenLiteSpeed\" >Step 7. Configure OpenLiteSpeed<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-8-Finish-WordPress-Installation\" >Step 8. Finish WordPress Installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#Step-9-Configure-WordPress-Multisite\" >Step 9. Configure WordPress Multisite<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">server with Ubuntu 24.04<\/a> as OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n\n\n\n<li>Minimum server requirements are 4x CPU and 4GB of RAM (Our <a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">NVMe 4 VPS<\/a> plan)<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For this installation, we need a fresh server, and after a clean installation of the OS, we need to update the system packages to the latest available version. To do that, you need to execute the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-OpenLiteSpeed\"><\/span>Step 2. Install OpenLiteSpeed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, we need to download the repository for the OpenLiteSpeed installation with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget -O openlitespeed.sh https:\/\/repo.litespeed.sh<\/pre>\n\n\n\n<p>Once the repo is added, we need to add the OpenLiteSpeed repo to the APT sources:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo bash openlitespeed.sh<\/pre>\n\n\n\n<p>You will get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo bash openlitespeed.sh\nLiteSpeed repository has been setup!\n<\/pre>\n\n\n\n<p>Once the repo is added, we can proceed with the installation process:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install openlitespeed -y<\/pre>\n\n\n\n<p>Once the installation is complete, we need to start and enable the <strong>lshttpd<\/strong> OpenLiteSpeed service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start lshttpd &amp;&amp; sudo systemctl enable lshttpd\n<\/pre>\n\n\n\n<p>To check the status of the OpenLiteSpeed service, you need to use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status lshttpd<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status lshttpd\n\u25cf lshttpd.service - OpenLiteSpeed HTTP Server\n     Loaded: loaded (\/etc\/systemd\/system\/lshttpd.service; enabled; preset: enabled)\n     Active: active (running) since Tue 2024-09-17 18:01:54 CDT; 4min 5s ago\n   Main PID: 3935 (litespeed)\n     CGroup: \/system.slice\/lshttpd.service\n             \u251c\u25003935 \"openlitespeed (lshttpd - main)\"\n             \u251c\u25003946 \"openlitespeed (lscgid)\"\n             \u251c\u25003975 \"openlitespeed (lshttpd - #01)\"\n             \u251c\u25003976 \"openlitespeed (lshttpd - #02)\"\n             \u2514\u25003977 \"openlitespeed (lshttpd - #03)\"\n\nSep 17 18:01:52 host.test.vps systemd[1]: Starting lshttpd.service - OpenLiteSpeed HTTP Server...\nSep 17 18:01:52 host.test.vps lswsctrl[3908]: [OK] litespeed: pid=3935.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Access-the-OpenLiteSpeed-Admin-dashboard\"><\/span>Step 3. Access the OpenLiteSpeed Admin dashboard<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>When we install OpenLiteSpeed, we can access it using the URL http:\/\/YourIPAddress:7080. As you can see, it is accessible via the server IP address and port 7080. Before we access it, we need to create an admin username and password. To do that, you need to execute the following command, which will invoke the script made for that:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo bash \/usr\/local\/lsws\/admin\/misc\/admpass.sh<\/pre>\n\n\n\n<p>Once you execute this command, there will be Username input for your username (admin is the default one, and you can hit enter to proceed) and Password.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo bash \/usr\/local\/lsws\/admin\/misc\/admpass.sh\n\nPlease specify the user name of administrator.\nThis is the user name required to login the administration Web interface.\n\nUser name [admin]: <strong>You can hit Enter here, admin is the default username<\/strong>\n\nPlease specify the administrator's password.\nThis is the password required to login the administration Web interface.\n\nPassword: <strong>YourStrongPasswordHere<\/strong>\nRetype password: <strong>YourStrongPasswordHere<\/strong>\nAdministrator's username\/password is updated successfully!\n<\/pre>\n\n\n\n<p>After this is set up, you can access the OpenLiteSpeed in the browser at the following URL: <strong>http:\/\/YourIPAddress:7080<\/strong> using the credential you set before<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"370\" height=\"358\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic1.png\" alt=\"OpenLiteSpeed login\" class=\"wp-image-49252\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic1.png 370w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic1-300x290.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic1-150x145.png 150w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/figure>\n<\/div>\n\n\n<p>Once logged in, you will see the following dashboard.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"458\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-1024x458.png\" alt=\"WordPress Multisite with OpenLiteSpeed dashboard\" class=\"wp-image-49253\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-1024x458.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-300x134.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-150x67.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-768x344.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-1536x687.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2-1320x591.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic2.png 1841w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Now, it is recommended that the listening port of the OpenLiteSpeed server be changed from port <strong>8088<\/strong> to <strong>80<\/strong>.<\/p>\n\n\n\n<p>To do that, on the left menu, click on <strong>Listeners<\/strong> &#8212;&gt; <strong>View<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"225\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-1024x225.jpg\" alt=\"OpenLiteSpeed multisite summary\" class=\"wp-image-49254\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-1024x225.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-300x66.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-150x33.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-768x169.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-1536x338.jpg 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3-1320x290.jpg 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic3.jpg 1854w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Then click on the edit button:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"278\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-1024x278.jpg\" alt=\"OpenLiteSpeed general tab\" class=\"wp-image-49255\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-1024x278.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-300x82.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-150x41.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-768x209.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-1536x418.jpg 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4-1320x359.jpg 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic4.jpg 1629w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Change the port to 80 and click the save icon (top right corner).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"305\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-1024x305.jpg\" alt=\"OpenLiteSpeed port change\" class=\"wp-image-49256\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-1024x305.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-300x89.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-150x45.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-768x229.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-1536x457.jpg 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5-1320x393.jpg 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic5.jpg 1629w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Once done, restart the OpenLiteSpeed service.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"633\" height=\"281\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic6.jpg\" alt=\"WordPress OpenLiteSpeed\" class=\"wp-image-49257\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic6.jpg 633w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic6-300x133.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic6-150x67.jpg 150w\" sizes=\"(max-width: 633px) 100vw, 633px\" \/><\/figure>\n<\/div>\n\n\n<p>Now, we will proceed with MySQL installation and configuration, followed by the WordPress installation. Once this is done, we will have to make some OpenLiteSpeed configurations. Let&#8217;s proceed with the next step.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-MariaDB-installation-and-Database-creation\"><\/span>Step 4. MariaDB installation and Database creation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the MariaDB database server, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install mariadb-server -y<\/pre>\n\n\n\n<p>Once installed, start and enable the MariaDB database service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start mariadb &amp;&amp; sudo systemctl enable mariadb<\/pre>\n\n\n\n<p>To check the status of the service, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status mariadb<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status mariadb\n\u25cf mariadb.service - MariaDB 10.11.8 database server\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/mariadb.service; enabled; preset: enabled)\n     Active: active (running) since Wed 2024-09-18 10:37:23 CDT; 1min 49s ago\n       Docs: man:mariadbd(8)\n             https:\/\/mariadb.com\/kb\/en\/library\/systemd\/\n   Main PID: 11115 (mariadbd)\n     Status: \"Taking your SQL requests now...\"\n      Tasks: 10 (limit: 30450)\n     Memory: 78.6M (peak: 82.1M)\n        CPU: 1.175s\n     CGroup: \/system.slice\/mariadb.service\n             \u2514\u250011115 \/usr\/sbin\/mariadbd\n<\/pre>\n\n\n\n<p>Now, let&#8217;s create a database and database user for WordPress installation:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CREATE DATABASE wpdatabase;\nCREATE USER 'wpuser'@'localhost' IDENTIFIED BY 'StrongPasswordHere';\nGRANT ALL ON wpdatabase.* TO 'wpuser'@'localhost' WITH GRANT OPTION;\nFLUSH PRIVILEGES;\nEXIT;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-PHP-installation\"><\/span>Step 5. PHP installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next is to install the PHP with its extensions so WordPress can function properly. To install PHP with its extensions, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install lsphp83 lsphp83-mysql lsphp83-common lsphp83-curl lsphp83-imagick -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Download-and-install-WordPress\"><\/span>Step 6. Download and install WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We will download WordPress into the default document root of the OpenLiteSpeed. To do that, first, navigate to:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/lsws\/Example\/html\/<\/pre>\n\n\n\n<p>Download wordpress with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">wget https:\/\/wordpress.org\/latest.zip<\/pre>\n\n\n\n<p>Unzip the WordPress files:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">unzip  latest.zip<\/pre>\n\n\n\n<p>The wordpress files will be extracted in the following directory:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/usr\/local\/lsws\/Example\/html\/wordpress<\/pre>\n\n\n\n<p>Now, we need to set up the correct permissions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chown -R nobody:nogroup \/usr\/local\/lsws\/Example\/html\/wordpress<\/pre>\n\n\n\n<p>Next is to navigate to the WordPress directory and configure the database settings in the wp-config.php file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cd \/usr\/local\/lsws\/Example\/html\/wordpress\n\nmv wp-config-sample.php wp-config.php\n\nnano wp-config.php<\/pre>\n\n\n\n<p>Find these lines of code and adjust them with the database credentials you set before in Step 4.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/** The name of the database for WordPress *\/\ndefine('DB_NAME', 'wpdatabase');\n\n\/** MySQL database username *\/\ndefine('DB_USER', 'wpuser');\n\n\/** MySQL database password *\/\ndefine('DB_PASSWORD', 'StrongPasswordHere');\n\n\/** MySQL hostname *\/\ndefine('DB_HOST', 'localhost');\n<\/pre>\n\n\n\n<p>Save the file and close it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Configure-OpenLiteSpeed\"><\/span>Step 7. Configure OpenLiteSpeed<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, we need to configure OpenLiteSpeed to see the new path <strong>usr\/local\/lsws\/Example\/html\/wordpress<\/strong> so the website can be accessible in the browser.<\/p>\n\n\n\n<p>Go back to the OpenLiteSpeed dashboard, navigate to Virtual Hosts &gt; Example &gt; General, and modify the input to look like the picture below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"344\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-1024x344.jpg\" alt=\"OpenLiteSpeed WordPress Installation\" class=\"wp-image-49258\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-1024x344.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-300x101.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-150x50.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-768x258.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-1536x516.jpg 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7-1320x443.jpg 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic7.jpg 1838w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Restart the OpenLiteSpeed service and access your server IP address in the browser so you can finish the WordPress installation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-8-Finish-WordPress-Installation\"><\/span>Step 8. Finish WordPress Installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To finish the WordPress installation, choose the language and click Continue<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"401\" height=\"899\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic8.png\" alt=\"WordPress Installation Language Selection\" class=\"wp-image-49259\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic8.png 401w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic8-134x300.png 134w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic8-67x150.png 67w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/><\/figure>\n<\/div>\n\n\n<p>On the next window, enter your site title, username, password, and your email:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"753\" height=\"841\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic9.png\" alt=\"WordPress Installation\" class=\"wp-image-49260\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic9.png 753w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic9-269x300.png 269w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic9-134x150.png 134w\" sizes=\"(max-width: 753px) 100vw, 753px\" \/><\/figure>\n<\/div>\n\n\n<p>Once done, you will be redirected to log in to the WordPress dashboard with the credentials you set. Once logged in you will get the following screen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"319\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-1024x319.png\" alt=\"Welcome to WordPress\" class=\"wp-image-49261\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-1024x319.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-300x93.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-150x47.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-768x239.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-1536x479.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10-1320x411.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic10.png 1842w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-9-Configure-WordPress-Multisite\"><\/span>Step 9. Configure WordPress Multisite<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This is the last and the most crucial step of this post. To enable multisite in WordPress, you need to do the following:<\/p>\n\n\n\n<p>First, we need to enable the multisite in WordPress by clicking on <strong>Tools<\/strong> &#8212;&gt; <strong>Network Setup<\/strong> &#8212;&gt; <strong>Install<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"627\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11-1024x627.jpg\" alt=\"WordPress Network Setup\" class=\"wp-image-49262\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11-1024x627.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11-300x184.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11-150x92.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11-768x470.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic11.jpg 1187w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Once done, you will receive the following screen:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"623\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-1024x623.png\" alt=\"Create a Network of WordPress Sites\" class=\"wp-image-49263\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-1024x623.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-300x183.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-150x91.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-768x467.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12-1320x803.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic12.png 1412w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Open the wp-config.php file again and add these lines as the screenshot explains.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">define( 'MULTISITE', true );\ndefine( 'SUBDOMAIN_INSTALL', false );\ndefine( 'DOMAIN_CURRENT_SITE', 'YourServerIPAddress' );\ndefine( 'PATH_CURRENT_SITE', '\/' );\ndefine( 'SITE_ID_CURRENT_SITE', 1 );\ndefine( 'BLOG_ID_CURRENT_SITE', 1 );\n<\/pre>\n\n\n\n<p>Please save the file and close it.<\/p>\n\n\n\n<p>Next is to replace all lines in the <strong>.htaccess<\/strong> with the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">RewriteEngine On\nRewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]\nRewriteBase \/\nRewriteRule ^index\\.php$ - [L]\n\n# add a trailing slash to \/wp-admin\nRewriteRule ^([_0-9a-zA-Z-]+\/)?wp-admin$ $1wp-admin\/ [R=301,L]\n\nRewriteCond %{REQUEST_FILENAME} -f [OR]\nRewriteCond %{REQUEST_FILENAME} -d\nRewriteRule ^ - [L]\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(wp-(content|admin|includes).*) $2 [L]\nRewriteRule ^([_0-9a-zA-Z-]+\/)?(.*\\.php)$ $2 [L]\nRewriteRule . index.php [L]\n<\/pre>\n\n\n\n<p>Save the file, close it, refresh the website, and log in again.<\/p>\n\n\n\n<p>Now, navigate to <strong>My Sites<\/strong> &#8212;&gt; <strong>Network Admin<\/strong> &#8212;&gt; <strong>Click Dashboard<\/strong> as on the screenshot below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"398\" height=\"209\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic13.jpg\" alt=\"WordPress Multisite with OpenLiteSpeed Installed\" class=\"wp-image-49264\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic13.jpg 398w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic13-300x158.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic13-150x79.jpg 150w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, click on the Create a new Site button<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"484\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-1024x484.jpg\" alt=\"WordPress Dashboard\" class=\"wp-image-49265\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-1024x484.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-300x142.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-150x71.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-768x363.jpg 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14-1320x624.jpg 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic14.jpg 1412w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Next, you will have to fill in the info about your second website:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic15.png\" alt=\"Add New Site to WordPress Multisite with OpenLiteSpeed\" class=\"wp-image-49266\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic15.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic15-300x166.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic15-150x83.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/09\/pic15-768x425.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>That&#8217;s it. You successfully set up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04.<\/p>\n\n\n\n<p>Of course, if you have difficulties and are not familiar with Linux, you don\u2019t have to install WordPress multisite with OpenLiteSpeed server on Ubuntu 24.04. You can always contact our technical support. You only need to sign up for one of our monthly management plans and submit a support ticket. We are available 24\/7 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this post about setting up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will explain how to set up WordPress Multisite with an OpenLiteSpeed web server on Ubuntu 24.04 OS. WordPress &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#more-49251\" aria-label=\"Read more about How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":49522,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1698],"tags":[2153,2149,332,783,2136,148],"class_list":["post-49251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-2","tag-how-to-guide","tag-multisite","tag-openlitespeed","tag-ubuntu-24-04","tag-wordpress","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04<\/title>\n<meta name=\"description\" content=\"Learn how to set up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 using our easy to follow guide.\" \/>\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.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\" \/>\n<meta property=\"og:description\" content=\"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-06T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-18T18:53:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\",\"datePublished\":\"2024-11-06T18:30:00+00:00\",\"dateModified\":\"2024-11-18T18:53:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/\"},\"wordCount\":1025,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\",\"keywords\":[\"how to\",\"how to guide\",\"multisite\",\"openlitespeed\",\"Ubuntu 24.04\",\"wordpress\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/\",\"name\":\"WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\",\"datePublished\":\"2024-11-06T18:30:00+00:00\",\"dateModified\":\"2024-11-18T18:53:07+00:00\",\"description\":\"Learn how to set up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 using our easy to follow guide.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to Set Up WordPress Multisite With OpenLiteSpeed On Ubuntu 24.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04","description":"Learn how to set up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 using our easy to follow guide.","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.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04","og_description":"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-11-06T18:30:00+00:00","article_modified_time":"2024-11-18T18:53:07+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04","datePublished":"2024-11-06T18:30:00+00:00","dateModified":"2024-11-18T18:53:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/"},"wordCount":1025,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp","keywords":["how to","how to guide","multisite","openlitespeed","Ubuntu 24.04","wordpress"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/","url":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/","name":"WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp","datePublished":"2024-11-06T18:30:00+00:00","dateModified":"2024-11-18T18:53:07+00:00","description":"Learn how to set up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04 using our easy to follow guide.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/11\/how-to-set-up-wordpress-multisite-with-openlitespeed-on-ubuntu-24-04.webp","width":1024,"height":576,"caption":"How to Set Up WordPress Multisite With OpenLiteSpeed On Ubuntu 24.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/wordpress-multisite-with-openlitespeed-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set Up WordPress Multisite with OpenLiteSpeed on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=49251"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49251\/revisions"}],"predecessor-version":[{"id":49523,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49251\/revisions\/49523"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/49522"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=49251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=49251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=49251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}