How to Deploy CloudPages on DigitalOceal?

The goal of this article is to show you how to install CloudPages on a DigitalOcean droplet. DigitalOcean is a cloud computing vendor that offers an Infrastructure as a Service (IaaS) platform for software developers. And CloudPages is a SaaS-based platform to manage and your WordPress site and web applications in an easy way.

To get started, you will need to buy a server from Digital Ocean, and then you will be able to deploy CloudPages on that server. I will show you step by step how to do both.

Step-1: Get Digital Ocean Server

If you do not already have an account on DigitalOcean, you can register for free, and if you do already have an account, click on the Sign In button to sign in.

To create a new server on the digital ocean, click the button in the top right corner.

On the Create tab, you will see a variety of options. Click on Droplets.

Create a server in this step.

Step-1: Choose an image

You must choose Ubuntu 20.04 LTS x64 in this section since CloudPages only works with Ubuntu.

Step-2: Choose a plan

The price of the plan will depend on the system specification, so choose a plan that you think will be best for your sites.

Step-3: Add block storage

For extra storage, you may choose this step if you wish.

Step-4: Choose a data center region

In this step, select location closest to your end-users

Step-5: VPC Network

Go with defaults in this section

Step-6: Select additional options

Go with defaults in this section

Step-7: Authentication 

At the top, you will see a radio button for the SSH key and the password. Choose the SSH key, as it is more secure. The previously added SSH keys will now appear on your screen. You can select one or select all from here, and if you don’t want to add a key, click on the New SSH key button.

Alternatively, if you don’t have a key or don’t want to set up key-based authentication, you can select the password option.

Step-8: Finalize and create

In this step, leave these options as default and click on Create Droplet button.

By clicking on the Create Droplet button, you will be taken to the dashboard where a new droplet will be created. You can see your server is created and listed on the Dashboard once the process is complete.

Please note the IP Address of your droplet as this will be needed in the next step.

Step-2: Deploy CloudPages

To start, you’ll need to sign up for an account on CloudPages, if you do not already have one. If you already have an account, please click Login, on which you provide your credentials, and then click Sign In.

Once you have logged in, now follow the step-by-step procedure.

Step-1: Create a project

You will be redirected to the dashboard after logging in. On the top bar, click Create New Project.

Once you click the Create New Project button, you will be redirected to a page where an input box will ask for the Project Name.

Choose a name for your project and click on Create Project to move on.

If this is your first project, you will automatically get 7 days free trial, you can continue to deploy servers.

Step-2: Deploy Server

On the Dashboard page, select the project on which you want to deploy the server.

Then Click on Deploy Server on the sidebar.

Once you open the deploy server page you can see these 3 input boxes, provide the required data and click on Deploy Server.

  1. Chose server type if you have LiteSpeed Enterprise license then chose that one otherwise chose OpenLiteSpeed
  2. Provide your server name anything you want.
  3. Provide Your server IP, this should be a valid public static IP.

After providing all the details click Deploy Now.

Step 3: Login to your server SSH as root

Log in to your server using SSH. This is the server on which you wish to deploy it. Must be logged in as root.

Then copy and paste this command into the terminal

The following installation process will be triggered in your browser using the command you pasted on the terminal.

After some time you can see CloudPages agent is successfully installed on your server.

Step 4 – Server Dashboard

Once your deployment is done you will be redirected to the server dashboard.

You can now Start Deploying WordPress on your CloudPages server

 

[Solved] ‘SSH Connection refused in DigitalOcean’

In this article, we are going to discuss four primary reasons behind the error ‘SSH Connection refused in DigitalOcean’ and how to fix those errors. SSH clients such as Putty and OpenSSH are used to manage remote Linux servers with SSH installed on them, but sometimes users get a particular error such as ‘SSH connection refused’ in the DigitalOcean Droplets.

If you are looking for managed service you can visit our DigitalOcean Cloud Plans, where we do everything for you and let you run your business with ease. Continue reading…

 

[Solved] Disk Quota Exceeded

Disk Quota Exceeded is a very scary and common Linux error in web hosting servers. When this happens you as a website owner may fail to restart MySQL database, fail to upload a file or even failed to restart your webserver if it is down.

Generally, it looks like you exceeded your allotted disk limit or your overall disk space is full as the error message is very obvious (Disk Quota Exceeded) meaning you reached the limit of your disk quota assigned to you.. Due to which various services like MySQL database and web server can’t start as they need to create files for their proper functioning. We at CyberHosting use CyberPanel control panel, if you are using CyberPanel you can easily see disk space usage on your dashboard after your login.

Continue reading…

 

How to resolve “localhost connection refused”?

When on windows you usually use putty to connect to remote SSH servers or terminal when on Linux. While connecting sometimes you can get error such as localhost connection refused on putty or your Linux terminal. Now, this can be very annoying as you can’t get to SSH of your remote server and perform your tasks.

This problem can be from the server or client-side. In this tutorial, we will see probable causes of this error and how to fix them. If you are using our managed vps, then you just have to contact us via ticket or live chat and we should fix this for you.

Continue reading…

 

FTP 550 No such file or directory

FTP (File Transfer Protocol) is a standard network protocol used to transfer files between clients and servers. It is the fastest way to upload your file on the server. If you are using CyberPanel, you can also use File manager, but it is always recommended to use FTP to transfer large files to your server. However, as with any other software people face an issue with FTP as well. In this tutorial will discuss one FTP error called ‘FTP 550 No such file or directory’. This means file or folder does not exist. Today will see what are the main reasons behind this error and how to fix them.

Continue reading…