VPS Archives - CloudMinister

The web hosting services are useful in getting some space for your website or online platform on the internet. Many individuals are interested in availing of the hosting services by owning a complete VPS server. If you are going to compare the VPS server with shared hosting plans, you can find lots of differences based on multiple factors such as performance. 

When it comes to finalizing the decision, you have to focus on selecting an operating system as well. Mainly there are two types of operating system available – Linux VPS server hosting and Windows VPS server hosting. Both types of operating systems are useful in their ways. Everyone does not have complete knowledge regarding such a thing and starts getting confused. 

With the help of information given in the upcoming paragraphs, you can easily differentiate both and figure out the suitable one. 

Linux-vps-server-vs-windows-vps-server

Key Difference 

Here, we will compare both Linux VPS server and Windows VPS server hosting based on multiple factors. 

1.  Performance 

When it comes to serving online, then performance plays an important role. Everyone is looking for a platform that can help them by working quickly and fulfilling their requirements in no time. It is also dependent on the selection of the server or hosting type. 

In case you are choosing the option of the Windows VPS server, then you have to reboot the server with every patch. Along with it, during the heavy traffic conditions or the availability of several tasks, the server may face downtime. Mainly these types of hosting plans are based on GUI (Graphical User Interface). 

If you proceed with the Linux VPS server hosting, you don’t have to focus on rebooting the server while facing heavy traffic. The server can easily change the configurations and other settings as per the requirements without restarting anything. 

2.  Control Panel 

With the help of a control panel, the website owners are capable of making things better, such as – customizing the settings, adding features to the website, and much more. Both types of hosting plans are having a different kind of control panels. The Windows VPS server hosting plans are associated with the usage of Plesk. Plesk has several features by which you can easily control the website. While using Plesk, you are capable of running the Windows version of MySQL, Apache, PHP stack, and Linux. For security, it has options of Docker, Git, and some other extensions as well. 

However, the Linux VPS server hosting plans are available with the cPanel as the control panel. The cPanel is available with several features by which you can make lots of things easier and install multiple applications on the web servers such as – WordPress and Drupal. Using this particular control panel makes it easier for everyone to create a website without using any coding knowledge. All you have to do is install a website building application with a single click only. 

linux vs windows vps server

3.  Server Accessibility  

All users love to get complete control over the server by which they can easily achieve all objectives. VPS hosting plans are also known for providing better control. If you focus on the Linux VPS server hosting plans, you will get complete server access on both SSH (Secure Shell) and FTP (File Transfer Protocol). In case you are working with the Windows hosting plans, then you don’t get full access. Generally, these plans allow only FTP access. Here, you do not have control over SSH. 

Read More:  Boost WordPress Website Performance in 20 Minutes

4.  Usage 

If we talk about the usage of a control panel or hosting servers, it depends on the users’ skills and knowledge. People who don’t have technical knowledge may find the Windows VPS easier to manage. It works on the basis of a Graphical User Interface. On the other hand, the users of Linux VPS server hosting need to use technical knowledge. Here, we can say, the option of Linux VPS hosting is not good for beginners. 

5.  Security 

Cybercrimes are increasing with day to day activities. Here, everyone tries to make sure they have the best sources where they can get quality cybersecurity. Due to it, all individuals want to choose the best server hosting plan by which they can easily prevent cybersecurity breaches. In the case of security, you can find the Linux VPS server superior while dealing with malware and spyware. On the other hand, a Windows VPS server hosting is also good. Here, users can hide sensitive files easily. 

These are some key facts by which you can easily understand the difference between both Linux VPS server and Windows VPS server. For more details, you can get help from professionals.

How to create subscription package in plesk panel

Here we discuss few step of how  to create subscription package in Plesk panel for you to understand in a better way:

Step: 1.  Login to the panel & the go to service plans & then click on Add plan

Step 2. Type the plan name first & then fulfill the the boxes of the plan i.e disk space in mb, bandwidth in mb, total mailboxes ,etc.

Step 3. And the finally click on OK & the package is created & see in the service plan list.

How to create mail account in Plesk panel

Plesk  is a control panel which can be used in both operating systems. We can use plesk panel in Linux VPS server as well as in Windows VPS server. It is also used for creating e-mail accounts on server . Here we are sharing the steps to create a mail account in Plesk panel.

Step 1.  Today we are going to do very easy task to create mail id’s in plesk panel click Website &  Domain –> Mail

Step 2. Next click on create email address  and fill information like mail name , password and save it.

Conclusion

Finally you have created e-mail  account successfully in Plesk panel.

How to configure postfix and dovecot with roundcube in centos 7 VPS?(Part 2)

Configure Roundcube

Roundcube WebMail is a browser-based IMAP client with an application like user interface, It provides full functionality you expect from an email client, including MIME support, address book, folder manipulation, message searching and spell checking.

RoundCube is for users who need a user-friendly web interface with some additional features available. 

Install LAMP

Firstly you have to configure LAMP stack in your managed VPS server for that run the following command:

    # yum install -y httpd php php-fpm php-mcrypt php-cli php-gd php-curl php-xml php-mysql php-mbstring php-pspell php-imagick  mariadb-server

Configure PHP settings

Open /etc/php.ini file with the vi editor by using the following command:

# vi /etc/php.ini

Search for date.timezone and edit the line, also remove “;” comment from the below line:

→ date.timezone = “Asia/Kolkata”

Configure MariaDB server

Run mysql_secure_installation in terminal and configure the basics settings of MariaDB.

Now create database for roundcube by using the following command:

# mysql -u root -p

       Enter your root password

MariaDB [(none)]> CREATE DATABASE roundcubemail 

MariaDB [(none)]> CREATE USER ’roundcube’@’localhost’ IDENTIFIED BY ‘=213@!#webL’;

MariaDB [(none)]> GRANT ALL PRIVILEGES ON roundcubemail.* TO ’roundcube’@’localhost’;

MariaDB [(none)]> FLUSH PRIVILEGES;

MariaDB [(none)]> exit

Next import the roundcube table layout to the newly created database.

    # cd /var/www/html/roundcubemail/

Configure Roundcube

Firstly, download the latest stable version (1.3.7 at the time of this writing) of Roundcube from thedownload page  to get it, and upload the files into your web server document root.

# wget -c https://github.com/roundcube/roundcubemail/releases/download/1.3.7/roundcubemail-1.3.7-complete.tar.gz

# mysql -u root -p roundcubemail < SQL/mysql.initial.sql

# tar xzf roundcubemail-1.3.7-complete.tar.gz 

# mv roundcubemail-1.3.7 /var/www/html/roundcubemail

Now set the appropriate permission on the roundcube web root files by using the following command:

    # chown -R apache:apache /var/www/html/roundcubemail

Last step to restart the apache and mariaDB server by using the following command:

    # systemctl restart httpd mariadb;

Now open browser and use the address

http://mail.you_domain.com/roundcube/installer

The configurations page allows you to setup your roundcube instance. We will only explain the important options for the scope of this guide.

Under the General Configuration, set a product_name for example Example.com Webmail.

Roundcube Product Name

Go to Database setup, enter the database host, name, user and password to connect to the MySQL server.

Roundcube Database Settings

Roundcube Database Settings

Then scroll down to IMAP and SMTP settings and enter the IP address of your IMAP and SMTP server, if its same server on which you are running roundcube, leave it as “localhost” and also specify other necessary parameters.

You can specify other settings according to your needs, once you are done, click on Create Config.

  1. You should new see a message saying ”The config file was saved successfully into /var/www/html/roundcubemail/config directory of your Roundcube installation.” Click on Continue.Roundcube Configuration File Created

Roundcube Configuration File Created

You can review your configuration from the Test config page as shown in the following screenshot.

Test Roundcube Configuration

Test Roundcube Configuration

Next, remove the whole installer folder (which contains files that may expose sensitive configuration data like server passwords and encryption keys to the public) from the roundcube root directory (or make sure that enable_installer option in config.inc.php is disabled).

# rm -rf /var/www/html/roundcubemail/installer

Finally, use the URL http://mail.example.com to access the roundcube login page. Enter your user name and password to view your mails.

Roundcube Webmail Login

CONCLUSION:

After the above installation, you will be able to use Postfix for SMTP, Dovecot for IMAP, Roundcube for IMAP web client.

PREVIOUS

How to configure postfix and dovecot with roundcube in centos 7 VPS?(Part 1)

Mail Server

Popularly also known as ‘email server’ that help to send and receive mail from client to server, fully managed VPS  server to different servers by using different protocols like SMTP(Simple Mail Transfer Protocol) that is used to send mails and POP3 or IMAP that is used to receive mails.

In this configuration we use Postfix as an SMTP protocol for sending mail and Dovecot as an IMAP or POP3 for receiving mail on email client from server, also use round cube for web based IMAP client.

Prerequisite

1. Centos 7 VPS

2.Domain Name

3. Postfix

4.Dovecot

5. Roundcube

Configure Centos 7 VPS

In Centos 7 VPS, enable SSH and HTTP port.

After that open machine with SSH in local system and Disabled the Se Linux by using the following command:

    # vi /etc/selinux/config

In place of SELINUX =Enforcing replace Enforcing with Disabled and save the configuration file with :wq.

Configure Domain Name 

Configure your domain name by creating new MX record in management console of your domain name, also create A record with Name ‘mail’ in the same domain.

You can configure it by using the following steps:
1. Open your Domain Name provider website and login with your own credentials.

2.Go inside your Domain Name and click on manage DNS, now after that give IP address of your Linux vps hosting  in Target field.

3. Now Create two records one is the A record by filing the following fields like:

Name    Type        TTL        Target

WWW      A        300        IP_Address

MAIL        A        300        IP_Address
4. After creating A record now create MX record by filling the following fields like:

5.Name Type     TTL        Target           

  MX        3600        mail.your_domain.com

  Priority:10
Save the configuration and exit from the settings.

Configure Postfix

Postfix is allowing server to send mail to email client and server by using SMTP protocol.

Install Postfix

First install postfix by using yum command:

    # yum -y install postfix

Edit the configuration file /etc/postfix/main.cf and set the value as follows:

    # vi /etc/postfix/main.cf (Open File with the vi editor)

myhostname = mail.securitylevel.ga (Enter your host.with_domain.com)

mydomain = securitylevel.ga (Enter your_domain.com)

myorigin = $mydomain

inet_interfaces = all

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

mynetworks = 192.168.1.0/24, 127.0.0.0/8 (Enter your own system IP address) not compulsory

home_mailbox = Maildir/

Uncomment ‘#’ from the above lines.

Once all the value has been set, after that set application to start during  system boot and start the service by using the following command:

    # chkconfig postfix on

    # service postfix start

Testing Postfix

To check if everything is working properly or not, you can send an email by type the following command from console: 

    # telnet localhost smtp

If telnet command not work then first download telnet with the following command:

    # yum -y install telnet

Before testing postfix create new user with help of following command:

    # useradd admin

    # passwd admin

Give New password and confirm password. 

After then give several inputs to send mail:
→ ehlo localhost

→ mail from: admin@securitylevel.ga(username@domain.com)

→ rcpt to: admin@securitylevel.ga(username@domain.com)

→ data

→ New Mail!

→ .

→ quit

To check if the mail has been received or not, go inside the following directory i.e. /home/username/Maildir/new/

    # cd /home/admin/Maildir/new/

    # ll

    # cat XXX.XXX.XXX.mail.securitylevel.ga(Domain Name)

If the mail received by the system then mail server is working properly.

Configure Dovecot

While Postfix acts as a Mail Transfer Agent(MTA)only, in order to retrieve emails using modern tools you need to enable IMAP/POP3 protocols. Dovecot is an application that acts as a secure IMAP and POP3 server.

Install Dovecot

By using yum command you can install Dovecot:

    # yum install dovecot

Edit the configuration file /etc/dovecot/dovecot.conf to enable the needed protocols.

    # vi /etc/dovecot/dovecot.conf

Uncomment ‘#’ from the following lines in this file:

→  protocols = imap pop3 lmtp

Then you need to specify the mail location by editing the file /etc/dovecot/conf.d/10-mail.conf.

    # vi /etc/dovecot/conf.d/10-mail.conf

→ mail_location = maildir:~/Maildir

Edit the file /etc/dovecot/conf.d/10-auth.conf and set the following values:

    # vi /etc/dovecot/conf.d/10-auth.conf

→ disable_plaintext_auth = no

→ auth_mechanisms = plain login

Last file to edit /etc/dovecot/conf.d/10-master.conf.

    # vi /etc/dovecot/conf.d/10-master.conf

unix_listener auth-userdb {

    #mode = 0600

    user = postfix

    group = postfix

}

Note: After done editing in each file save with :wq in vi editor.

Also set Dovecot to start at system boot and start the service.

    # chkconfig dovecot on

    # service dovecot start

Testing Dovecot

To check if everything is working properly or not, you can receive an email by type the following command from console:

    # telnet localhost pop3

After that give several input to retrieve mails.

→ user admin (use your_user_name)

→ pass password (use your_password)

→ list

→ retr 1

Now message is shown here and after checking the output quit the screen with:

→ quit

NEXT

How to configure Mail Server Account on Ms Outlook with SSL and without SSL?

Before configure Mail Server ID on Ms Outlook, you must configure Mail on Linux VPS Server with domain name, for this you can take the help of our document.

Prerequisite

 Domain Name

SSL certificate (for SSL)

Ms Office

Configure Ms Outlook

Open Ms outlook and click on File option on the top left corner.

Then click on the Add account option.

Click on Manually configure server settings.

Choose service i.e. Internet e-mail is used to connect SMTP with POP or IMAP server to send and receive a message.

.

Next step is to fill all the information like user, server, login.

In user information

Your name: user_name

Email Address: your_mail@your_domain.com

In sender information

Account type: IMAP or POP3

Incoming Mail Server: your_FQDN(mail.your_domain.com)

Outgoing Mail Server: your_FQDN(mail.your_domain.com)

In login information

User name: your_mail@your_domain.com

Password: your_password

After that click on More settings and in Outgoing server select the first option i.e. My outgoing server.

Also in advanced option search for cheap managed server provider port number here you will define Incoming and Outgoing port number with SSL or without SSL.

Ports

Incoming Ports for IMAP

Port 143 this is the default IMAP non- encrypted port

Port 993 this is the port you need to use if you want to connect using IMAP securely

Incoming Ports for POP3

Port 110 this is the default POP3 non-encrypted port

Port 995 this is the port you need to use if you want to connect using POP3 securely

Outgoing Ports for SMTP

Port 25 this is the default SMTP unencrypted port

Port 465 this is the port used if you want to send messages using SMTP securely

Port 2525 this port is opened on all SiteGround servers in case port 25 is filtered (by your ISP for example) and you want to send non- encrypted emails with SMTP

Configure with SSL

SSL certificate is mandatory at server end and if you don’t know how to configure then follow the document to configure Domain Name with SSL.   (https://manage.cloudminister.com/index.php?rp=/knowledgebase/98/How-to-configure-Domain-Name-with-VirtualHost-in-Centos-7-VPS-and-attach-SSL-certificate.html)

If you use IMAP then select 993 for SSL and If you use POP3 then select 995 and for SMTP use 465.

Configure without SSL

You don’t require any SSL certificate for non-encrypted configuration, here you can use IMAP with Port 143, POP3 with Port 110, SMTP 25 or 2525.

Now come back and click on test account settings and if it completed click on next otherwise search for the mistakes in the above entries.

In last click on finish and you will be able to use your account for receiving and sending mail in other networks.

 

CONCLUSION

From the above configuration you will be able to configure mail server account in outlook with SSL or without SSL.

Digital ocean vs AWS cloud platform : which one will you choose?

Cloud is a platform which provides resources on demand on the basis of pay as you go basis over the internet. It provides benefits to the firm can avoid the cost and maintaining of IT infrastructure by simply pay what they use.

It is an emerging computing technique. Its goal is to provide services over the internet. In recent years internet has develop very fast so data storage and power consumed and hardware requirement is increased. The storage space in data center cannot meet our needs. So to overcome these problems a new concept of cloud  come.

Cloud computing is the delivery of computing services like server, database, storage and many more. It provides services over the internet. We can use all these services by paying some amount according the service.

Cloud computing basically works on three services:

1 Platform-as-a-service

2 Software-as-a-service

3 Infrastructure-as-a-service

There are many cloud service providers. Here is a list of top five cloud service providers:

1 Microsoft Azure.

2 Amazon Web Services (AWS)

3 Google Cloud.

4 Alibaba Cloud.

5 IBM Cloud.

Today we will take a look of comparison between “DIGITAL OCEAN and AWS”.

What is Digital Ocean

Digital Ocean is an American company which is simple cloud service provider. It provides Infrastructure as a Service (IaaS) for software developers. It allows us to create multiple server using same account. It provides developer friendly platform with high speed. Digital Ocean is ideal choice for those people who provides Reliable hosting services on shared environment.

It is a unique cloud service provider which offers services so to business so that can scale their application that can run across multiple servers without compromising their performance.

Advantages

It is easy to set up and provide support on various operating server

2 It has User friendly management interface

3 It is very easy to learn because it provides much better official documentation then other cloud providers.

4 Its pricing strategy is much good as they provide Cheap Linux VPS services at much low price.

Disadvantage

1 There is a security issue in ssh host keys.

2 It has little bit low regions as compare to AWS

3 It does not have Storage Area network

4 You cannot install the system by yourself

5 It does not provide proper addressed of errors and bugs

What is Amazon web server (AWS)

AWS is a cloud service from amazon. It is a platform which offers flexible, reliable. It allows us to increase or decrease our storage as per our requirement. AWS provides Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS).

AWS is world leading cloud provider who provides many of the services over one click. There speed of service is quite high. AWS has data center in many regions so that they can speed up their services

 Advantages

1 Due to user friendly interface of AWS management console it is very simple to use.

2 One of the key benefits of AWS is its security. It is much capable to handle our information safe

Disadvantages

1 AWS provide limited resources on region basis . so it can determine how many resources you will have access.

2 It has little bit confusing bill portal mainly for the non-technical person

Digital Ocean Vs. Amazon

1 Digital Ocean only provide infrastructure as a service(IAAS) but AWS provides Platform as a service(PAAS), Infrastructure as a service(IAAS) as well as Software as a service(SAAS).

2 Digital Ocean is mostly suitable for small application and developers but AWS is capable for large application also.

3 Digital Ocean is simple cloud service provider but AWS is platform that is more reliable, capable and also cost effective cloud computing solution.

4 Digital Ocean allow us to manage database and operating system but AWS controls everything except applications so we don’t have to do anything to control it is automatically done by AWS.

5 Digital Ocean is not compatible with Microsoft windows operating system, it only supports linux. On the other hand AWS is compatible with all operating system.

6 Digital Ocean has mobile friendly user interface but AWS server does not have mobile friendly user interface.

7 Digital Ocean is for those who want SQL instance but AWS is for DEVOPS professional who don’t have time to install and update.

8 Digital Ocean sells managed VPS servers with flexible billing. Due to large no of user uses Digital Ocean is developers so it provides not much variety of services. On the other hand AWS provides services in every aspect.

Conclusion

So we conclude that Digital Ocean cannot be consider a competitor of AWS in any condition. AWS is the best solution for cloud services.

However if someone is looking for cost effective services then Digital Ocean is no doubt good option but if we need multiple services then AWS is the best solution.

Choosing the correct hosting control panel for your hosting VPS or Dedicated Server.

There are lots of open sources as well as paid control panel through you can manage VPS and dedicated servers, Control is being used by server admin to set up and manage the server and all services required for hosting like a mail server, LAMP stack i.e apache, mysql, php, and its modules effectively and By deciding correct control panel admin and user can save lots of its time and money too.

There are some advantages and disadvantages of control panels I am going to explain here.

1. GUI interface for admin and user end
2. Resource consumption
3. Automation
4. Paid or open-source
5. Advantages over multiple site hosting (shared Hosting)
6. Tomcat Hosting

1. whm and Cpanel

Advantages:

  1. GUI of whm is best for admin and user end.
  2. Automation is good in terms of auto backup, php modules installation configuration, security, multiple php modules.
  3. Best for multiple site hosting (shared server for hosting companies).
  4. All mysql versions can be installed by whm graphically in no time.
  5. Best for Cheap Linux Reseller Hosting.

 

Disadvantages:

  1. The license for VPS is 14.95 USD per month and the dedicated is 34.95 USD per month.
  2. Resource hungry required a minimum of 2 GB RAM for installation and generally, high load issues arise when resources are less.
  3. Manual installation of Nginx as a reverse proxy and varnish, Litespeed caused many issues over apache.
  4. Apache is only supported by default as a web server.
  5. Only support the Linux VPS Server.
  6. Tomcat automation is not good on whm like setup and war file deployment is not quite easy.

 

2. CentOS Web Panel

Advantages:

  1. GUI of whm is good for admin and user end.
  2. Automation is good in terms of auto backup, php modules installation configuration, security, multiple php modules.
  3. Best for standalone servers or a few personal websites server.
  4. All php versions can be installed by cwp graphically in less time.
  5. Multiple web server support with front end cache server like Nginx as a reverse proxy and varnish with apache.
  6. Its an opensource control panel.
  7. Consume fewer resources.

 

Disadvantages:

  1. Not good for shared servers where thousands of websites are hosted.
  2. Mysql automation for the upgrade option is missing.
  3. Only support Linux servers.
  4. Tomcat automation is not good on centos web panels like setup and war file deployment is not quite easy.
  5. Not good for Reseller Hosting.

 

3. Plesk control panel

Advantages:

  1. GUI of whm is good for admin and user end.
  2. Automation is good in terms of auto backup, php modules installation configuration, security, multiple php modules.
  3. Good for Reliable Linux Shared hosting servers.
  4. All php versions and MySQL versions can be installed graphically in less time.
  5. nginx and apache both supported.
  6. support Linux and Cheap Windows OS Dedicated Server Hosting.
  7. Tomcat automation is good on Plesk like setup and war file deployment is quite easy.
  8. Good for reseller Hosting

 

Disadvantages:

  1. License cost for VPS and dedicated on a monthly basis.
  2. Resource hungry required a minimum of 2 GB RAM for installation and generally, high load issues arise when resources are less.
  3. Manual installation of Nginx as a reverse proxy and varnish, Litespeed caused many issues over apache.
  4. Some times typical issues arise troubleshooting for admin is hard.
  5. Do not support DKIM authentication on the mail server yet.

 

4. Virtualmin

Advantages:

  1. GUI of Virtualmin is not so good for admin and user end.
  2. Automation is less.
  3. Can be used for a standalone server.
  4. nginx and apache webserver both supported but manual install is required.
  5. Its an opensource control panel. Pro license has some cost for support.
  6. Used fewer resources of the server for automation.

 

Disadvantages:

  1. Not good for shared servers where thousands of websites are hosted.
  2. Mysql automation for the upgrade option is missing.
  3. Manual installation of Nginx as a reverse proxy and varnish, Litespeed caused many issues over apache.
  4. Some times typical issues arise troubleshooting for admin is hard.
  5. Only support Linux servers.
  6. Tomcat automation is not good on Virtualmin like setup and war file deployment is not quite easy.
  7. Not good for Reseller Hosting.

How to Configure Centos Web Panel on your server through shell

How to Configure Centos Web Panel on your server through shell :-

Before installing CWP, you must know the following information:

:- CWP only supports static IP addresses. It does not support dynamic, sticky, or internal IP addresses.
:- CWP doesn’t has an uninstaller. After you install CWP, you must reinstall the server to remove it.
:- Only install CWP on a freshly installed operating system without any configuration changes.
:- Need atleast 512MB RAM for 32 bit systems.
:- 1024MB for 64 bit systems.
:- Need 4GB RAM or more to deploy all modules.
:- At least 20GB or hard disk space is required.

Step 1 :- Install Wget Package.

# yum install wget -y

Step 2 :- Update your server.

# yum update -y

Step 3 :- Download and Install CWP.

Download latest CWP version with command:

# wget http://centos-webpanel.com/cwp-latest

If the above URL doesn’t work, use the following link instead.

# wget http://dl1.centos-webpanel.com/files/cwp-latest

Then, start CWP installer using command with maria db database:

# sh cwp-latest -d mariadb

Now You can login your centos web panel on browser with URL :- https://xxx.xxx.xxx.xxx:2031

Get started with CloudMinister Today