How to Manage Unmanaged WordPress Hosting?

siddhant sugan dodrai
By -
0

If you are looking to move your WordPress site from Shared WordPress hosting to VPS, then you are in the right spot. In this tutorial, we will provide you with all the details about how to install WordPress on VPS. You will be able to move all your existing WordPress site as-is in just a few minutes.

How to install WordPress in Unmanaged VPS and Migrate for Shared Hosting?


Why You Need VPS Hosting

A VPS, or virtual private server, is a type of hosting service that divides a physical server into separate partitions for each user. VPS platforms use virtualization technology, such as a hypervisor, to divide a server into separate partitions. This allows each user to have their own dedicated resources.

A VPS can be used for a variety of large projects and websites. It’s one of the more popular hosting options for large websites.

What is the difference between a VPS and a dedicated server hosting?

When you’re using a VPS for a large website or project, you’ll need a dedicated server. Dedicated servers usually have higher performance, but they’re more expensive. That’s where VPS comes in.

Here are some of the benefits of moving from a shared hosting plan to a virtual private server (VPS):

✔️ Server resources – VPS hosting plans offer more CPU, more RAM, and more storage space than shared hosting. This increases speed and allows you to scale your site for more traffic.
✔️ Server space – VPS hosting offers dedicated server space, which is different from shared web hosting. This allows users to have their own dedicated space for their websites or projects.
✔️ Privacy – VPS hosting improves the privacy of users and improves the security of their data.
✔️ System Management – VPS hosting provides users with root access and dedicated IP address. This gives them complete control over the server technology, such as the ability to install software and OS freely.
✔️ A self-healing environment: VPS can deploy automatic failover in the event of misconfiguration or a system failure.
The cloud platform: VPS uses a constantly customizing and reconfiguring cloud platform, which dedicated servers don’t have.
✔️ Security and privacy: With shared hosting services, one server’s security issues can affect all the sites hosted. VPS partitions protect against this risk.

If you’re looking for hosting scalability and complete control over your server, you’ll want to upgrade from a shared plan to a VPS. VPS plans are more cost-effective than dedicated servers and come with additional features.

Web hosting providers provide VPS plans at varying prices based on features and resource allocation. Most providers also offer unmanaged VPS and managed VPS plans.

Managed VPS allows users to configure, manage and maintain their own server. The web hosting company takes care of the server configuration, security patching, etc.

Shared VPS and VPS Plans: Most hosting providers offer shared VPS and shared VPS plans. This makes it easier to upgrade.

Choosing the Right Hosting Provider: If you’re looking for a new hosting company, choose one with strong VPS security and features, as well as support.

In today’s tutorial, we’re going to use Vultr’s Virtual Private Server. Vultr is the company that provides virtual private servers. Vultr has data centers in 40 countries. Its data centers are located in Delhi, Mumbai, Chennai of India.

You can also create a free Vultr account by clicking on the following link:


What kind of tools do you need For Migration?

1️⃣ If you have bought a VPS, then you need to connect to your VPS using SSH. You can also connect to your computer or your smartphone. If you are using a computer, then you can use Putty to connect to your computer. However, if you are using an Android phone, you will need to connect to the VPS using Juice SSH which is available in Google Play Store. Both these tools can be easily found on the internet.
2️⃣ All-in-One Migration WordPress Tool will be used to make a backup of your entire WordPress file as well as your website from shared WordPress hosting.
We will be using one of its extension, google drive extension for all migration WordPress plugin. Installing it on old shared wp hosting. Uploading and updating it.

You can download all these plugins from the link below.



The first step is to go to your old shared WordPress hosting site’s WordPress dashboard and use the All-in one migration plugin to backup your WordPress in Google Drive.

Once you have done that, you can start searching for a suitable virtual private server (VPS).

You can set up your own VPS with Vultr by clicking the link we provided. Or, you can install your WordPress CMS directly on your VPS by visiting Vulture’s marketplace.

You can also find its full tutorial on Vulturer’s dashboard. You don’t need to have an SSH connection to install WordPress. After installing WordPress on your new virtual private server, go to your newly installed WordPress and install the “All in One Migration” backup plugin. You can also export your backup from your google drive.

However, if you want to manage it on your own by setting up your own virtual private server, then you can continue to our article.

In today’s tutorial, we’ll be installing WordPress on your virtual private server using Webionly Stack.

You can read its detailed tutorial directly on our website by clicking here. 

How to Create Account in Vultr Cloud and SSH to VPS?

How to Create an Account on Vultr Cloud?
You can create your account on Vultr just like you would on Facebook. After filling in all the information on the form, here you will need to provide your payment information.
Click here to create your Vultr account directly from Vulture's website.

Create or Deploy a Server in Vultr and install Webionly 

You have now set up your Vultr account. Next, you need to select your data center based on your website. Next, you can select a shared VPS, a bare metal VPS or a dedicated VPS. After that, you must select Ubuntu under Linux distro. Depending on your budget, you will be able to deploy a VPS from here for between $6 and $250.

After that, you will need to select an SSH key or a Password. If this is the first time you are creating a VPS, then we will make sure that you can deploy it by choosing a password.

After deploying the virtual private server, it will take at least 2-5 minutes to boot, so you can wait a while for the virtual private server to deploy in the cloud correctly.

Once the virtual private server has been deployed, you can connect to the virtual private server with a public IP and password, or you can use an SSH key to connect to the server.

You can connect to the server using Putty, or if you would like to set up the virtual private server on a smartphone, you can connect using Juice SSH.

Now that you have connected to the server, the first step is to run the following on the virtual private server:
sudo su -

Now it's time to update and upgrade the virtual private server. To do this, just type the following command in your terminal:
sudo apt update
sudo apt upgrade
Your Virtual Private Server has been upgraded and updated. Now you can install Webionly on the VPS. The installation process may take 5-10 minutes. To install Webionly, type the following command in your terminal:
wget -qO weby qrok.es/wy && sudo bash weby
When the installation is complete, you will receive your MySQL/MariaDB users password:
Install Webionly and Wordpress


Congratulations, you have successfully deployed webionly to your VPS. Now, you need to set up a WordPress site on your VPS. First, you need to add your domain to A record, along with your VPS IP address. This will allow you to install SSL Certificate on your domain free of charge.

To set up a WordPress site on your VPS, you can run the following command:
# Create a WordPress site with FastCGI Cache
sudo site your-domain.com -wp -cache=on

# SSL Certificate (HTTPS) for your site
sudo site your-domain.com -ssl=on
You have also set up your WordPress site. Now, it’s time to protect your WordPress login page. To do this, you can use the following command:
# Visit https://your-domain.com and finish WP setup
# Webinoly protects WP login pages (wp-admin / wp-login), we need to create a user for HTTP Authentication.
sudo httpauth -add

# Enable www-data user to upload and modify files via SFTP.
sudo webinoly -login-www-data=on
You can now check your domain on your web browser by typing https://your-domain.com . 

Welcome to your WordPress login page. To log in to your WordPress dashboard, type the following: 
To log in to WordPress, type the following URL: 
(Your-Domain.com/WP-login) on your browser: 
You will be taken to the WordPress login page. You can now use the password you entered during setup.

If you want to know what to do after installing your WordPress on the VPS for the first time, you can read this article on our website above.

Migrate Your Website to New VPS

Now it’s time to move your site to your new VPS. To do this, you’ll need to install the All in One WP Migration plugin on your new VPS as well as the Google Drive extension.

Once you have both plugins installed on your new VPS WordPress, you can move your website from Google Drive directly to your new VPS.

If you migrate from shared WordPress hosting to your new VPS using this method, the best part is that you don’t need to set anything else. Your WordPress theme, your images on your WordPress site, your old WordPress Admin password, your WordPress content, plugins, and even SEO settings are all set up on your new VPS.

How to manage VPS 

✅ You can back up your WordPress site to your google drive with All in one WP Migration Plugin, and you can back up your virtual private server with Vultr as well.
✅ Your SSL Certificate gets renewed automatically.
✅ You can connect your WordPress site to CDN with cloudflare.
✅ You can upgrade PHP for your WordPress site by writing the following commands on your virtual private server:
# Update php of Your WordPress 
sudo site your-domain.com -php=8.2
✅ You can also update or upgrade your VPS from time to time by running the following 2 commands on your VPS.
sudo apt update
sudo apt upgrade

This will enable you to manage your VPS.

Anyway, I hope you enjoyed our tutorial on installing and managing WordPress on Unmanaged VPS today. If you have any queries or suggestions related to today’s tutorial, please feel free to leave us a comment.

Have a great time blogging!

Post a Comment

0Comments

Post a Comment (0)

#buttons=(Ok, Go it!) #days=(20)

Our website uses cookies to enhance your experience. Learn more
Ok, Go it!