How to Install WordPress on Hostinger VPS with CyberPanel & Cloudflare CDN - Discount Coupon Code 2024

How to Install WordPress on Hostinger VPS with CyberPanel & Cloudflare CDN - Discount Coupon Code 2024

Upgrade your WordPress website with Hostinger VPS hosting—it's like giving your site a superpower boost for better speed, control, and security.

If you're currently using shared hosting, switching to VPS is like switching from a crowded bus to your own private car—it's smoother, safer, and just plain better!??

UP TO 94% Hostinger Coupon : 1SAHADAT41580

[Note: You must need to click on the coupon "1SAHADAT41580 " to activate it]

UP TO 80% Namecheap Coupon : https://devsdemy.link/namecheap

Set up a VPS or Migrating from shared hosting to a Virtual Private Server (VPS) can be a bit intimidating, especially since VPS platforms don’t come with built-in website managers like shared hosting does.

However, in this tutorial, I’ll guide you step-by-step on how to set up WordPress on a Hostinger VPS using CyberPanel.

Also, If you are planning to migrate your old website to a VPS without any data loss then read this article carefully.

Prerequisites:

First Things First you need to purchase Hostinger VPS. As you are following my guideline it’s my responsibility to make you happy.

Get up to 94% Hostinger Discount by clicking the link below.

No need to do anything. Just click and you will get a special extra 20% discount from me while purchasing.

Get Hostinger VPS with Discount

Get Hostinger Black Friday Special Discount now:

Hostinger VPS Discount Buy button

Steps To Purchase Hostinger VPS:

Follow the steps below to purchase the right plan for your VPS. It's really important to choose the correct package according to your business requirement.

If you prefer video tutorials over reading articles, you can watch this video tutorial as well:


1. Select VPS Plan

Hostinger VPS pricing plan

There are manily 4 VPS plan. Let me break down the VPS plans for you:

KVM1: Ideal for small business websites with low traffic. If your website doesn’t expect much traffic, this plan should suffice.

KVM2: Recommended for mid-level business, e-commerce, or blog websites. If you anticipate moderate to high traffic or expect growth in the near future, this plan is a good choice.

KVM4 and KVM8: These plans are suitable for larger websites or applications with substantial traffic. If your website experiences heavy usage or requires more resources, consider these options.

I recommend you to go for the second plan KVM2. Click on Choose plan.


2. Create / Sign in to Hostinger account

Create or sign in to hostinger account

You can sign in to hostinger with google or facebook with a click. Or you can create an account by inserting email address and Password. Keep in mind that the following criteria must be met for a password to be accepted:

  • The password must use 8 to 50 characters.
  • At least one number.
  • At least one symbol.
  • At least one uppercase letter.
  • At least one lowercase letter.
  • Only Latin letters (no special characters).


3. Select Payment Method

Hostinger vps payment method

Hostinger support 5 payment methods. 1) Credit card, 2) PayPal, 3) Google Pay, 4) AliPay, 5) Coingate. Select one of your favourite payment method to purchase. Fill up all the information and click on Submit Secure Payment.


Setup Hostinger VPS

Step 1. Visit Dashboard and click on KVM2 Setup and Click on Start Now


Step 2. Select location for your VPS

Hostinger VPS Server Location

Hostinger has servers all around the world, so you can pick the one closest to where most of your website traffic comes from. Their servers are located in:

  • Europe: France, Lithuania
  • Asia: India
  • North America: USA
  • South America: Brazil

By choosing a server near your main audience, you can ensure your website loads quickly and runs smoothly for your visitors. I am selecting United States.


Step 3. Choose Operating System

Hostinger VPS operating System

There are mainly 3 option to choose. To follow this tutorial select OS with Control Panel.

  • OS with Control Panel: Ideal if you want easier VPS management and are familiar with control panels. This is the option we'll use for this tutorial.
  • Plain OS: Best for experienced developers who are comfortable managing VPS without a control panel and have a solid understanding of server management and Linux.
  • Applications: Choose this if you want a pre-installed CMS (Content Management System) for your VPS.


Step 4. Select Control Panel

Hostinger VPS control panel

Click on "I want to choose a different control panel" select CyberPanel, and then click "Continue." CyberPanel offers many benefits, including support for LSCache, easy backup and restore, GIT deployment, multi-object caching, an auto installer, and HTTP/3 & QUIC support.

If you are already using CloudPanle, you can change it to CyberPanel by visiting Dashboard > OS & Panle > Operating System.


Step 5. Set Your Control Panel Password

Your control panel default username is admin. You need to set a password for that and click ‘Continue’ to proceed. While setting password make sure that you follow the following rules:

  • At least one number
  • One symbol (e.g., #%+ =? @)
  • One lowercase letter
  • One uppercase letter
  • Password length is between 12 and 50 characters
  • Only use Latin letters.


Step 6. Set Secure root password

You need to set you secure root password. I recomment to use the similar password as your control panel so you won't forget. Click on save and continue.


Step 7. Click on Finish Setting Up


Step 8. Click on Manage server

Hostinger VPS dashboard Manage Server


Step 9. Visit Dashboard & Click on Panel Access

Hostinger VPS Dashboard panel access

Visit Dashboard, click on Overview and then click on Panel Access. Here you can see Login URL and username. Click on login URL.


Step 10. Proceed CyberPanel SSL warning

Proceed CyberPanel SSL warning

By Default Cyber Panel don't have an SSL and when you click panel access you may see an warning. DOn't worry, simply click on Advance and then click Proceed to..


Step 11. Login CyberPanel Dashboard

CyberPanel Dashboard Login

Enter username as admin and your given password. Click Sign in to continue.


Step 12. Click on Create Website

Click on Create Website from the CyberPanel dashboard. No worries, we will connect our domain later.


Step 13. Click on Create Website

Create Website CyberPanel

Select Package as default, select owner as admin. Write your Domain name and email adderss. Then select Latest PHP version (8.1). Mark additional features like SSL, DKIM Support, Open_basedir Protection, Create Mail Domain. Then click on Create Website and wait for the success message.

Step 13. Issue SSL

Issue SSL Cyber Panel

From the left sidebar click on SSL and then Manage SSL. Select your domain name and click on Issue SSL.

How to Connect Domain, Cloudflare CDN with Hostinger Cyber Panel VPS:

From left sidebar click on Website and then List Website. You can see your website is listed here. However, we have not yet installed WordPress or connected the domain name server. Also we are going to connect Cloudflare CDN with our domain and then VPS.

This is the most confusing part, but believe me, I will make it straightforward and easy to understand. I will also explain each step in detail, unlike anyone has ever done before.

If you don't have a domain name yet you can purchase it from namecheap.

Ok, now we have to configure 3 items before installing Wordpress. These are:

  • Namecheap Domain
  • Cloudflare CDN
  • Hostinger VPS

Many people get confused about which one to set up first and what to do next. To make it easier, take a look at the picture below.

Connect Domain, Cloudflare CDN with Hostinger Cyber Panel VPS

How to Install Cloudflare CDN

Step 1. Visit Cloudflare Official website

First Visit https://www.cloudflare.com/plans/ and Click Add a Website on the free plan. We don't need to pay extra as they are provideing free service for 1 website.

Step 2. Sign UP or Login

How to install cloudflare CDN step 2 sign up

If you already have an accound just simply login. Otherwise, input your email address and password. Click on verify you are human and Click on Sign UP.

Step 3. Click on Get Started and Add your Website

From the home click on Get Started and it will take you to the next page. Enter your domain name and click on Continue.

Step 4. Choose Free plan and Continue

How to install cloudflare CDN step 4 choose free plan

Scroll to the bottom and select the Free plan and hit the Continue button and wait for a few second so that cloudflare could scan your DNS record.

Step 5. Wait for auto scan and click on Continue

How to install cloudflare CDN step 5 auto scan and continue

Scaning process take some times and automatically add the necessary records. Click on Continue button.

Step 6. Copy Cloudflare nameservers

How to install cloudflare CDN step 6 Copy cloudflare nameserver

Scroll to the bottom and you can see there are 2 cloudflare nameserver listed. You need to copy two of them. You can keep that on notepad or word file. We will need this later. Click on Continue.

Step 7. Login namecheap dashboard and Click Manage

How to install cloudflare CDN step 7 login namecheap dashboard and manage domain

Login to Namecheap. If you are using different domain provider like hostinger, godaddy, etc you can continue also. Simply login to your dashboard and click on Domain List. From the list choose your domain which will be connected to cloudflare vps and on the right side you will get option to manage. Just Click on Manage.

We are going to change our DNS record for this domain. So if you are uing other provide you may find the settings differently. Just find out where you can change the DNS record for the domain. That's it.

Step 8. Select Custom DNS and paste cloudflare DNS

How to install cloudflare CDN step 8 Change DNS record

From Nameserver select Custom DNS and paste your cloudflare DNS. Click the Save icon to save the changes. DNS server may take up to 48 Hours to take effects. But from my experience, it could be done within 30 minutes.

Step 9. Check Cloudflare Status

How to install cloudflare hostingver vps step 9 Check Cloudflare Status

Aftyer few minutes visit you cloudflare dashboard and click on Overview. If you see Great news! Cloudflare is now protecting your site then you are good to go. Otherwise wait until the process complete.

Step 10. Change domain IP record from Cloudflare DNS

How to install cloudflare hostingver vps step 10 Change domain IP address on Cloudflare

From the left sidebar click on DNS > Records. Find your domain name A record and click on edit. Enter your Hostinger VPS IP address.

If you can't find your domain name A record don't worry. Just click on Add records. Type @ or domainname.com on Name Field. Insert hostinger IP address on IPv4 field and click Save.

Hostinger IP address set on cloudflare DNS

You can find your VPS IP address by visiting hostinger vps dashboard > Overview > VPS information.

hostinger vps ip address

Congratulations. You have successfully connect your domain name with cloudflare cdn and hostinger VPS. Now it's time to install wordpress from CyberPanel.

How to install wordpress on hostinger vps cyberpanel

Step 1. Visit CyberPanel and Click Manage Website

How to install wordpress on hostinger vps cyberpanel step 1

Visit your CyberPanel dashboard. From left sidebar click on Website > List Website. Then click on Manage.

Step 2. Click on WP + LSCache

How to install wordpress on hostinger vps cyberpanel step 2

Scroll to bottom and click on WP + LSCache and it will take you to the installation page.

Step 3. Fill up the fields and click Install Now

How to install wordpress on hostinger vps cyberpanel step 3

Enter your Blog tilte, Login User, Password (strong, using capital letter, small letter, number, Special char), Email address. Keep the path field Blank and click on Install Now.

Ok, so you have successfully installed wordpress on your vps and your website is live now hopefully. visit your website to check if it is reachable or not.

If the site is not loading clear your browser cache and try again or visit on incognito mode.

Check if cloudflare is enable or not

Check if cloudflare is enable or not

Go to https://webhostingdetector.com/ and enter your web address. Click on LookUp to check if your website is powered by cloudflare or not. If you see Web Hosting Provider: Cloudflare then congratulations!

Hostinger VPS Server Configuration

This is the most imporatnt thing while set up a VPS. By default most of the time VPS provider limit the memory, max execution time etc. For that reason sometimes wesite page doesn't load properly. We need to fix this now.

Step 1. Login to wordpress dashboard and click on site health

Hostinger VPS Server Configuration step 1

Login to your wordpress dashboard by visiting yourdomain.com/wp-admin . From left sidebar click on Tools > Site Health and then click on Server. You can see your server configuration here.

Step 2. Login CyberPanel dashboard and click on PHP

Hostinger VPS Server Configuration step 2

Simply login to your CyberPanel dashboard and scroll to bottom. From left sidebar click on PHP > Edit PHP Configs .

Step 3. Select PHP Version and Configure

Select PHP version 8.1 (latest) and then set

  • memory limit : 1024M
  • max_execution_time : 600
  • upload_max_filesize : 1024M
  • post_max_size : 1024M
  • max_input_time : 600

Click on Save Changes.

Step 4. Click on Website > List Website and Manage

Hostinger VPS Server Configuration step 4

From CyberPanel left sidebar click on Website > List Website. Then click on Manage.

Step 5. Click on Change PHP and Select PHP 8.1

Scroll down and click on Change PHP. Then click on select PHP and select the one which we configured previously (PHP 8.1). Click on Change PHP.

Step 6. Click on PHP > Edit PHP Config

Hostinger VPS Server Configuration step 6

From left sidebar click on PHP > Edit PHP Config and then click on Advanced. Select PHP 8.1 (as we previously configured 8.1).

Step 7. Remove : from max_input_vars and set value 5000

Hostinger VPS Server Configuration step 7

Click on the box and press (ctrl+F) for windows and (cmd + F) for mac to open search bar. Write max_input_vars and remove : from the beginning and set the value 5000. If you can't find the line just write it yourself.

Ok, now check your wordpress Tools > Site Health > Server. If the changes showing then you are good to go.

How to Migrate wordpress website to Hostinger VPS

Step 1. Login to your old website Dashboard and click on Plugins

Visit youroldwebsite.com/wp-admin and from the left sidebar click on Plugins > Add New Plugin.

Step 2. Search for "All in One WP Migration" and click on install Now

Search for All in One WP Migration Plugin and click on install Now. It will install the plugin. After installing the plugin we need to activate the plugin. Simply visit Plugin > installed plugins from left sidebar. And click on activate.

Step 3. Export All-in-one WP File

How to Migrate wordpress website to Hostinger VPS step 3

Click on All-in-one-WP-Migration from left sidebar. Then click on Export and then Export to FILE.

Step 4. Download to Localhost

How to Migrate wordpress website to Hostinger VPS step 4

Click on DOWNLOAD LOCALHOST and keep the file on your computer. we will import this on our newly installed VPS wordpress site.

Step 5. Login to your new website Dashboard and click on Plugins

How to Migrate wordpress website to Hostinger VPS step 5

Now it's time to work on our new website which we already set up on Hostinger VPS. Simply login and from left sidebar click on Plugins > Add New Plugins.

Step 6. Search for "All in One WP Migration" and click on install Now

How to Migrate wordpress website to Hostinger VPS step 6

Search for All in One WP Migration Plugin and click on install Now. It will install the plugin. After installing the plugin we need to activate the plugin. Simply visit Plugin > installed plugins from left sidebar. And click on activate.

Step 7. Click on All-in-one and Import

From left sidebar click on All-in-one WP Migrtion > Import and then click on IMPORT FROM. Select the old website exported file from your computer. Wait few minutes to import properly.

[Note: if your old website size is bigger than minimum upload filesize, then you need to increase minimum upload file size from your cyberpanel configuration. I have already written previously how to do that. Still if you need help, simply comment below.]

Step 8. Click on PROCEED

How to Migrate wordpress website to Hostinger VPS step 8

Ok, your file has imported successfully and click PROCEED to continue.

Step 9. Click on Permalinks Settings

How to Migrate wordpress website to Hostinger VPS step 9

Click on Permalinks Settings and then you will be redirected to Wordpress admin login page. Login with your Email and Password.

[ Note : Here you need to provide your old website Email and Password. As you imported the old website file , your new website got replaced with your old website ]

Step 9. Select Post name and Save Changes

How to Migrate wordpress website to Hostinger VPS step 10

On the Permalinks Settings select Post name and Click Save Changes. If it's already selected Post name as permalink then also Click on Save Changes.

[Note : Sometimes when you migrate any website and visit any page of the site you may face 404 Error. Don't worry. It's just because of caching problem. Clear your browser cache and also website cache. It will be all right]

Topic Covered:

How to Install WordPress on Hostinger VPS, Cyberpanle tutorial, Hostinger coupon, Hostinger discount, Hostinger vps, Hostinger vps coupon, Black friday hostinger coupon, Black friday hostinger discount, Black friday hosting coupon, Black friday hosting discount, what is vps hostinger, how to update php on hostinger vps, how to set up vps hostinger, how to migrate to vps hostinger, how to install wordpress on vps hostinger, how to connect domain to vps hostinger, how to cancel vps hostinger, can you host multiple websites on hostinger vps 2cpu, can you host multiple websites on hostinger vps 2 cpu, how to use hostinger vps, how to setup vps hostinger, how to point domain to vps hostinger, what is vps hosting, what is the vps server, what is a virtual private server, what is vps web hosting, what is vps server hosting, how to use vps, vps web hosting, best virtual private server hosting, buy vps hosting, buy virtual private server, us virtual server hosting, virtual private server hosting, vps hosting cheap, web hosting on vps, virtual private server cost, hostinger vps wordpress, hostinger setup wordpress on vps, wordpress vps hostinger, install wordpress on vps hostinger, vps install wordpress hostinger, hostinger wordpress vps, hostinger coupon code vps, hostinger vps coupon, hostinger vps coupon code, hostinger coupon code for vps, hostinger vps hosting coupon code, hostinger coupon vps, black friday deals, black friday deals 2023, best buy black friday, best black friday deals 2023, hostinger discount, black friday domain offer, black friday web hosting deals, namecheap promo, black friday website, black friday deals on hosting, black friday hosting deals, black friday web deals, hostinger black friday, website for black friday deals, black friday deals hosting, namecheap black friday, black friday web hosting, black friday vps, black friday hosting, black friday domain hosting, black friday vps deals, vps hosting black friday, web hosting black friday deals, website hosting black friday, best black friday hosting deals, best black friday web hosting deals, black friday hosting deal, cyber monday hosting deals, cyber monday web hosting deals, how to connect to a vps, how to connect to vps, how to buy vps, how to buy vps server, how to check vps performance, how to configure vps server, how to configure vps, how to connect domain to vps, how to install wordpress in vps, how to install wordpress on vps server, how to automatically install wordpress on vps, how to deploy wordpress to linode vps, how to host wordpress on vps, how to improve first byte time wordpress vps, how to install wordpress in subdirectory on vps, how to install wordpress in vps server, how to install wordpress on a running cpannel vps, how to install wordpress on a vps, how to install wordpress on a vps using digital ocean, how to install wordpress on cpanel vps optimized, how to install wordpress on godaddy vps server, how to install wordpress on running cpannel bluehost vps, how to install wordpress on ubuntu vps, how to install wordpress on vps bluehost, how to install wordpress on vps hosting, how to install wordpress on vultr vps and serverpilot, how to use duplicator to migrate wordpress to dreamhost vps, how to setup vps for wordpress, how to manually install wordpress on vps bluehost, how to make wordpress everything automatic running after restarting vps, how to install wordpress on vps, #hostingervps #VPS #HostingerVPSwordpress #VPSInstall #VPSsetup #hostinger #hostingercoupon #hostingerdiscount #blackfriday

Conclusion

Switching to a Hostinger VPS and setting up WordPress with CyberPanel is a game-changer for your website. The enhanced speed, improved control, and robust security features will take your site to the next level. By following this guide, you’ve taken the first step towards a smoother, safer, and more efficient web presence.

If you found this tutorial useful, please share it with your friends and colleagues who might benefit from it. Have questions or need further assistance? Drop a comment below, and I’ll be happy to help. Let's make the web a better place together!

For More Tutorial : NextProTips DevsDemy

Visit For More Details About Hostinger:


Harsh Kumar

Frontend Developer ? React JS ? JavaScript ? SEO ? Ex GeeksforGeeks ? Ex @Scaler ? BEU Patna

2 个月

Hi what if i want to install WordPress in a subdirectory?

回复
Kawsar Chowdhury

Web Design Lead at WPManageninja LLC

4 个月

Helpful topics thanks for your resources.

Mauro Hernández

Founder - Creative Director at Mahebo

4 个月

if you are interested in VPS service from hostinger, you can?use this lexclusive ink and get an additional 20% discount?on all hosting plans at Hostinger (including VPS)... Just access through the link and the discount will be applied automatically. https://hostinger.com/?REFERRALCODE=1HELLO894

回复
Ripa BD

I am Professional Web Developer and digital Marketer

4 个月
回复
Sayed Mohammad Mohiuddin

Deputy Marketing Lead at AuthLab

4 个月

Good one

要查看或添加评论,请登录

社区洞察