This website uses cookies

Our website, platform and/or any sub domains use cookies to understand how you use our services, and to improve both your experience and our marketing relevance.

CloudwaysCDN — a powerful solution that offers superior performance and satisfied global audience for your business. Read More

Host Multiple Websites on One Server to Reduce Operational Cost

Updated on  22nd March

6 Min Read
launch-multiple-wordpress-m
Reading Time: 6 minutes

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 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 the cloud to host multiple websites on one server in just a few clicks.

launch multiple websites one server apps

Although you can also launch any other PHP-based applications.

In my example, I will install WordPress with WooCommerce and Magento on a single server. Steps will be the same for all applications. One can launch an unlimited number of servers as well as applications.

If this sound interesting, then 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.

launch multiple websites one server sign up

Now verify your email address to complete the signup process.

launch multiple websites one server launch

1. Enter Your Server & Application Details

Choose the latest version of WordPress with WooCommerce, name your Managed App, Server and select your Project.

launch multiple websites one server application and server details

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.

launch multiple websites one server digitalocean

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.

launch multiple websites one server launch server scale

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 multiple websites one server server location

Launch WooCommerce Store on DigitalOcean

After entering the Server & Application Details, click LAUNCH NOW button.

launch multiple websites one server

Now, wait for a few minutes, till the server is ready!

launch multiple websites one server adding server

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.

launch multiple websites one server application menu bar

Then click on your WooCommerce application.

launch multiple websites one server woocommerce applicaiton

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.

launch multiple websites one server woocommerce admin panel

Copy and paste Username and Password from the Access Details > ADMIN PANEL into WooCommerce Log In page.

launch multiple websites one server wordpress login

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.

launch multiple websites one server breeze

That’s all in launching a WooCommerce store on DigitalOcean. Now let’s move on to the next step to host multiple websites on one server. 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.

launch multiple websites one server application menu bar

Then click +Add Application.

launch multiple websites one server 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.

launch multiple websites one server select

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.

launch multiple websites one server add magento

Wait for few seconds as the application is adding to your server.

launch multiple websites one server adding magento

After that, you can notice an error which persists you to upgrade MySQL to MySQL 5.6 or MariaDB 10.

launch multiple websites one server magento error

Go back to Servers from the top menu bar in Cloudways Platform and click on your server.

launch multiple websites one server settings

Under Server Management, go to Settings & Packages > PACKAGES > MySQL, update MySQL 5.5 to 5.6 and click SAVE button.

launch multiple websites one server server settings and packages

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.

launch multiple websites one server my magento

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.

launch multiple websites one server magento admin panel

Copy and paste Username and Password from the Access Details > ADMIN PANEL and click Log In button.

launch multiple websites one server magento login

That’s all! You have successfully launched Magento and WooCommerce on DigitalOcean using Cloudways Platform.

Wrapping Up!

To host multiple websites on one server has never been easy before Cloudways. It works as a sysadmin for you, which not only reduces the cost of having multiple servers to host 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.

Share your opinion in the comment section. COMMENT NOW

Mansoor Ahmed Khan

Passionate about technology, entrepreneurship, and marketing, Mansoor Ahmed Khan is in computing since he knows how to type on a keyboard. His daily life is rocked by his family, projects, and his screen. Probably in this order, he likes to be convinced at least.

Convert visitors into buyers on your 100% faster Magento store.

Deploy your Magento stores on optimized Magento hosting servers.

 

Get Our Newsletter
Be the first to get the latest updates and tutorials.

THERE’S MORE TO READ.