Let’s face it! Good hosting is expensive and once you have found the perfect hosting solution, you wish to get the most bang out of the many bucks you spend every month. This is why hosting just a single website on a cloud server makes little (in fact, no) financial sense.
To extract the maximum benefit from your cloud servers, you need to do two things — first, opt for a managed cloud hosting solution that takes care of server management hassles for you. Secondly, select a hosting provider which allow you to host multiple websites on one single server.
Fortunately, Cloudways fits both the criteria flawlessly. You have a managed solution that takes care of server management and security and allows you to leverage the power of cloud hosting to power your multiple website hosting.
If this sound interesting, read on!
Sign up for Cloudways
First, sign up for Cloudways Platform for a free trial by completing a simple form and click LAUNCH NOW button. You can also continue with using your LinkedIn, Github, and Google account or if you have already signed up, log in to your account.
Now verify your email address to complete the signup process.
1. Enter Your Server & Application Details
Choose the latest version of WordPress with WooCommerce, name your Managed App, Server and select your Project.
Note: For the purpose of this article, I named my Managed App as My WooCommerce, Server as My Server and the project as My Project. However, you are free to choose any other names for your Application & Server Details.
2. Select Your Cloud Infrastructure
Cloudways is a PaaS (Platform as a Service) provider, it has integrated top-of-the-line cloud infrastructures for its users including DigitalOcean, Linode, Vultr, Amazon Web Services, Google Compute Engine, and Kyup (auto-scalable server). I choose DigitalOcean server, which is one of them.
3. Select Your Server Size
With DigitalOcean server, you have the option to host WooCommerce store on 1GB to 192GB server. I choose 1GB server, which has 1GB RAM, 25GB SSD, 1TB Transfer, and 1 Core Processor.
4. Select Your Server Location
Choosing Server Location is of the utmost importance since it has the direct impact on the speed of your WooCommerce store; hence your sales. Therefore, you should choose the location, which is nearest to your target audience to decrease latency. I choose New York for this tutorial.
Launch WooCommerce Store on DigitalOcean
After entering the Server & Application Details, click LAUNCH NOW button.
Now, wait for a few minutes, till the server is ready!
Once the server is ready, go to Cloudways Platform and click Applications in the top-left menu.
Note: The server launched on WooCommerce currently uses MySQL 5.5.
Then click on your WooCommerce application.
Log in to WooCommerce Admin Panel
Go to ACCESS DETAILS > ADMIN PANEL. From there, you can find login credentials and the URL of your WooCommerce store. Click the URL and use the credentials to log in to the WooCommerce Dashboard.
Copy and paste Username and Password from the Access Details > ADMIN PANEL into WooCommerce Log In page.
After getting into WooCommerce Dashboard, you can notice that there is a pre-installed caching plugin, Breeze, welcomes you. This is because I chose optimized WooCommerce application while launching the server on Cloudways Platform.
That’s all in launching a WooCommerce store on DigitalOcean. Now let’s move on to the next installation. I choose Magento as my next application although there are other applications as well to choose from!
Launch Magento on DigitalOcean
Go back to Cloudways Platform and click Applications from the top menu bar.
Then click +Add Application.
After that, a pop-up will appear asking you to select the server from the drop-down menu. Select that server, which you choose to launch WooCommerce store and click ADD APPLICATION.
Select Magento 1 or 2 from the drop-down menu and name it. I choose Magento 2 and named it as My Magento. Then, click ADD APPLICATION.
Wait for few seconds as the application is adding to your server.
After that, you can notice an error which persists you to upgrade MySQL to MySQL 5.6 or MariaDB 10.
Go back to Servers from the top menu bar in Cloudways Platform and click on your server.
Under Server Management, go to Settings & Packages > PACKAGES > MySQL, update MySQL 5.5 to 5.6 and click SAVE button.
Now, repeat the process of adding an application to the existing server and this time you can easily launch your Magento and can see it under Applications.
Log in to Magento Admin Panel
Go to ACCESS DETAILS > ADMIN PANEL. From there, you can find login credentials and the URL of your Magento store. Click the URL and use the credentials to log in to Magento Admin Page.
Copy and paste Username and Password from the Access Details > ADMIN PANEL and click Log In button.
That’s all! You have successfully launched Magento and WooCommerce on DigitalOcean using Cloudways Platform. Although you can also launch other PHP-based applications such as WordPress, Custom PHP, Laravel, Drupal, OpenCart, PrestaShop, and Joomla.
Launching and managing multiple websites on a single server has never been easy before Cloudways. It works as a sysadmin for you, which not only reduces the cost of having multiple servers for multiple websites but also purges you to face technical or server-side complexities. Furthermore, whenever required, you can easily upgrade resources of your server (such as RAM, storage, processor, and bandwidth) using Vertical Scaling under Server settings.