All categories » FAQ Overview

Domain Management

How to add, edit and delete emails on ClusterCS.com

See the video below for a quick overview of email management on ClusterCS.

Author: Alexandru Bucur
Last update: 2017-03-01 13:03


Adding and managing (sub)domains in ClusterCS

Adding and managing domains in ClusterCS is easy and straightforward. Subdomains are added in exactly the same way as main domains.

First of all, let's talk about Domain Groups:

A domain group is used to filter your domains, categorize them. For example, you can have two separate groups, "Personal websites" and "Work websites". The choice and whether you want to use them is up to you:

 

Now, adding a domain is the first step you have to do in order to have a working website:

 

In order, the data you need to insert:

Domain name: This is the full domain or subdomain name, without www. (E.g: example.org, subdomain.example.org). ClusterCS will allow that domain to answer to both non-www as well as www requests for that domain.

Username: In order to have a working domain, a system user needs to be created, here you can name it.

Password: Set a password for the user. Generate will set a random, very secure password for you.

Login Type: Set if you want to be able to login with the user using FTP or SSH (or neither). This is a way to give access only to the files used by the domain, without compromising the other services/domains.

Domain Group: Here you can assign the domain to a group, for filtering purposes. Recommended for accounts that hold a high number of domains.

Server: The server (If you have more than one) that you want to serve the domain requests.

Storage location: In case you have an environment with multiple storage locations, such as a NFS, you can set where the domain files will be stored.

Entry point: If you have a load balancer, such as haproxy, or another proxy service, you can have it as an entry point, and it will proxy/balance the requests to the appropiate services and servers.

PHP Version: If you have a multi-version PHP environment, you can freely choose the version you wish the domain to use. Some code works better on PHP 5.6, some works best on 7.0, for example.

IP: In case you have a server with multiple interfaces or subinterfaces, meaning multiple IPs, you can choose which IP to publicly use for the domain.

Enable DNS Management and Webland Cluster(dns1.webland.ro, dns2.webland.ro): If you wish, you can use our DNS server to set your own zone in the Cluster, which you can modify as you wish. Take note that you have to set your Nameservers to dns1.webland.ro and dns2.webland.ro in your tld provider!

 

Now you can see the domain dashboard. From here you can manage everything for your domain, such as Aliases, DNS, Databases, E-Mails. If you ever forget the password, you can click Show just under it.

For Aliases, you need to introduce the www as well as non-www. Aliases are used for a domain to answer to one or more domain names! E.g: I set my domain to answer requests for both example.org as well as aliasexample.org!

 

That's it! If you followed everything, you should have a working domain!

Author: Viorel Ciurusniuc
Last update: 2017-10-03 09:41


Add and manage WordPress or any CMS with ClusterCS!

ClusterCS offers easy CMS management (WordPress, Drupal, Joomla, PrestaShop, xCart, etc.)

First of all, if you need help to create a domain, you should check out adding and managing domains with ClusterCS 

A CMS needs a working database and access to it:

 

Set any name you wish for your Database:

 

You also need an user for the CMS to connect to the newly-created database:

 

Again, choose a fitting name, and you can use our generator for a secure password:

Keep localhost checked if you are on a single server environment, and need to connect only from within it. If you want to have access to the database remotely, or have a Cluster, then Anyhost will allow you so.

 

Giving pemissions to access the database to the user should be the next step. Keep in mind, you should give it only the permissions it needs. (For most CMS, the permissions needed are SELECT, INSERT, UPDATE, DELETE, however they may vary depending on the CMS and the plugins that you need).

 

Now you should have enough to install your chosen CMS... except for the CMS. Go ahead, download your CMS of choice and upload it to the public_html folder of your domain.

For example's sake, I have chosen wordpress, from https://wordpress.org/latest.zip

Accessing your domain will take you to the install script of the CMS. Here is what mine looked like:

 

Congratulations! You should now have a working CMS installed on your domain!

Author: Viorel Ciurusniuc
Last update: 2017-04-16 15:49


Caching on Wordpress using nginx

Caching your wordpress using ClusterCS
Whether you want more speed, a better experience for your visitors, for SEO, or any personal reason, chances are you want a caching layer on your website.
Caching in ClusterCS is achieved by spending only a few minutes in the Control Panel.
Start by going in the Speed tab of your domain.

 

Now you should scroll down to add a New Condition Set

 

and set the following conditions, which I will explain lower:

 

path - not_contains - admin_ajax.php - this file is the main endpoint for ajax calls that usually need to happen without cache

cookie - not_contains - wordpress_logged_in – WordPress maintains a cookie which is an indicator of this state – wordpress_logged_in - if it caches it, then some private user data may be shown publicly

method - get - other types usually have important actions being carried and shouldn’t be lost

 

Don't forget to set the last option with "cache_with Smart Traffic Manager/nginx"

Once everything is set up, you need to give your domain some time (About 30 minutes) to populate the cache. During that time, you may experience some higher resource load, which is totally normal.

Now you can take full advantage of your cache and serve more users, faster!

Author: Viorel Ciurusniuc
Last update: 2017-04-25 01:07


Setting up your email using ClusterCS (Android&Thunderbird)

If you want one (or more) email address on your domain, ClusterCS offers an easy way to setup it.

Start by navigating to the Email tab of your domain:

 

On the Add Email form, you have to set up an email address and a password. The extra options include setting a fixed Inbox size for the email address.

You can also set aliases (In the case of the picture below any mail sent to aliasexample[at]example[dot]com will be sent to this inbox - example[at]example[dot]com) and forwards (In this case all mails sent to example[at]example[dot]com will be also sent to example[at]clustercs[dot]com. Remember to press Enter after entering each alias/forward email in order to save it.

 

Now, you probably want to set an e-mail client for your new e-mail address. The ones we recommend are Thunderbird (For PCs) and the default GMail app (For Android).

For Thunderbird, the settings should be as follows (Replace example.com with your own domain):

 

As for Android, go into the GMail App and add a new account:

 

Here you have two choices: IMAP downloads the mails on your phone, but also keeps them on the server, while POP3 deletes the e-mails from the server and you can access them only from your phone. Choose the one that you want:

 

For the Incoming Server Settings, you have to use your e-mail address and your password. As mail server use mail.yourdomain.com

 

When you tap Next, the app will search for Security Certificates (SSL Certs), to select an appropriate protocol (SSL/TLS if you have a certificate installed and STARTTLS if you don't). If it doesn't find any, it will show a warning which you can just ignore, and you click next on this screen, as it has done the settings for you:

 

And for outgoing you should use the same settings as on Incoming:

 

That's it! Now you will receive e-mails on your Android Phone!

Author: Viorel Ciurusniuc
Last update: 2017-04-30 06:01


Backing up your domains with ClusterCS!

Everyone hates losing their data. That's why, most of us keep weekly, even daily backups.

ClusterCS allows for easy backup jobs management, with possibilities to store them locally, or upload them on a remote server.

Navigate to the backup tab of the Control Panel on the domain you want the job done:

 

Here you have two options:

  • Adding a repository - is not mandatory, in order to use an external FTP server to upload your backups to, you need to add a repository:

 

Name: It's a tag for your repository, to identify it

Hostname/IP: Either a domain or an IP

Backup directory: The directory to which the backups will be uploaded. It is relative to the user's root folder

FTP Username/Password: Credentials used to log in

 

A successfully added repository should look like this:

 

  • Adding a backup job - I will get into details under the pictures

 

Backup name: Is used to identify the job

Store backup in: You can choose to either save it locally (Server storage), or have it uploaded on a repository/FTP server

Notification e-mail: You can set notifications via e-mail when a backup job is run. By default, the ClusterCS account e-mail is introduced automatically.

Back up: 

  • All configuration and content
  • Files - backs up your public_html folder
  • The text fields are used to skip files and folders from being backed up (Such as large folders with many images that do not necesarily need backing up too often)
  • Databases - You can select to back up all databases, only the ones you check under or skip the ones you check
  • E-Mail - You can select to back up all e-mail accounts, only the ones you check under or skip the ones you check
  • Verify empty space - Checks if there is enough space before attempting backing up
  • Abort on low space - If there is not enough space to back up the files, it will automatically cancel the job
  • Disable website - You can select this to put the site under maintenance while the job is running. It is recommended, so that the files aren't accessed for read/write while they are being backed up, to prevent corruption. Under, you can select to put the site into maintenance only when backing up files or databases.
  • Schedule - You can set exactly at what times to run the jobs, and how many previous backups to keep. It will automatically delete the older backups.

 

Alright! If you have set up your backup successfully, the backup tab should look like this!

Author: Viorel Ciurusniuc
Last update: 2017-04-30 05:20


Set up Cronjobs using ClusterCS

If you want something done at a certain time, you probably want a cronjob for it.

ClusterCS offers a simple way to manage your cronjobs. First thing to do is to navigate to the Cronjob tab on your domain and Add a cronjob:

 

Our Control Panel offers predefined times at which you might want to execute the command, or you can set yourself a Custom time:

 

If you chose Custom, some important things to remember:

  • * - means every possible number for that position. For example * in all the fields means the cron will be executed every minute
  • You can set multiple numbers in a field. For example, if I want a cron to be executed at minutes 36 and 49, I would have 36,49 in the minute tab
  • You can also set ranges. 12-23 in the hour tab means every hour between 12:00 and 23:00
  • Dividers can be used as well, if you want a cron to be used every X minutes/hours/days/months. */30 in the minute tab will execute the cron every 30 minutes.

The command in a cron can be anything, from simple commands to paths to scrips or even to send emails.

Here is a sample Cron, that executes a shell script every 6 hours:

 

After you successfully added a cron, you should see it in the Cronjobs tab, from where you can edit or deactivate it:

 

Now you should be ready to create your own cronjobs to suit your needs!

Author: Viorel Ciurusniuc
Last update: 2017-04-30 08:00


Install SSL certificates on your website with Cluster CS!

A key feature of Cluster CS is installing any certificate in 5 clicks or less. It will also configure your services to be ready to server HTTPS content. (Please note that you may need to optimise your website to serve content using HTTP)

NOTE: You will need to allow traffic towards port 443 on your server, through the Cluster CS firewall. For more information, please check THIS LINK

You can go to the SSL tab on the domain you want:

 

Here, you have 3 options:
-Self-Signed - used in development or testing mostly
-Let's Encrypt - good for most tasks, live websites, also good in development or testing
-Manage Certificates - Here you can edit/delete already installed certificates or install certificates from certified authorities (Paid certificates)

 

I will go into detail for the latter two.
Let's Encrypt is possibly the best free SSL certificate, also the easiest to install using Cluster CS.
NOTE: You need a valid DNS for the domain (and aliases, if you're using any) you want to generate a Let's Encrypt certificate!

The form is already completed, using your domain name, aliases and e-mail. So, unless you need to add data of your own, or delete some domains on the list, you can click Start.

 

Once you clicked Start, the Operation will be In Progress.

 

When the certificate has been installed and your services configured, your SSL information will be displayed on the SSL tab of Cluster CS:

 

Now, on Manage Certificates you can activate/deactivate, edit, delete or add new certificates in just as many simple steps! You can also get all the certificate-related info, such as Certificate Signing Requests, Private Keys, Certificates and Chains.

 

Scrolling down, you can see the button to generate a new CSR (Used if you want to buy a certificate from an authority), or install already generated certificates, regardless of their source!

 

To generate a CSR, you need to introduce some data about yourself, your company or your organization.

 

And the CSR generated can be used to buy a certificate from an authority, you just copy-paste it into the CSR field on their website.

 

If earlier you introduced a certificate and clicked Verify, you will be promped with additional fields to complete. You can also choose if you want the certificate to be active right away or not:

 

Your domain should now be ready for all that HTTPS traffic you're going to get!

Author: Viorel Ciurusniuc
Last update: 2017-06-27 03:14


Server Setup

How to add a single server to ClusterCS.com

How to add a single server to ClusterCS.com

Author: Alexandru Bucur
Last update: 2017-03-01 13:16


How to add an AWS server to ClusterCS.com

Adding an Amazon server to ClusterCS:
Adding a new Amazon server to ClusterCS is very easy, and it takes only 3 steps:
1. Setting the Security Groups
You can do so by going into the Security Groups tab in the left menu panel

Then you can Edit the Inbound Rules, and allow our two IPs (85.9.60.46 , 193.226.133.91):

2. Getting the instance IP:
You can find it in the Instance dashboard:

3. Finding your user and SSH Key:
ClusterCS uses SSH to connect remotely to your server. This means it needs a valid root access account. You can connect to AWS using SSH Keys. You set and downloaded such a key when you created the instance, at a step similar to this:

The user is not the default "root" one either. An easy way to get it is by Clicking Connect with the instance selected:

Afterwards, the user is shown (The user usually is ec2-user, however it may differ depending on the package you have):

Now you have everything you need in order to add your AWS Server to ClusterCS.com. Thank you for using our services!

Author: Viorel Ciurusniuc
Last update: 2017-04-17 13:00


How to add an Azure server to ClusterCS.com

Adding an Azure server to ClusterCS:
Adding a new Amazon server to ClusterCS is very easy, and it takes only 2 steps:
1. Getting the server public IP:
Your Public IP can be easily seen in the Overview tab of your Instance:

2. (Optional) In case you forgot your root access user and/or password
Azure asks you to add an user and password when you create your Virtual Server Instance. If you forgot them, they can be easily reset from their Control Panel:

Now you have everything you need in order to add your Azure Server to ClusterCS.com. Thank you for using our services!

Author: Viorel Ciurusniuc
Last update: 2017-04-16 13:09


Which modules do I need? A summary of ClusterCS supported modules.

When adding new modules, you have to keep two things in mind: The modules you need (Left side) and the server(s) you want them on (Right side).

ClusterCS currently offers installation and management for 17 modules:
1. apache - the world's most used web server. Highly recommended in most environments set on serving web content and a core component of the LAMP stack.
2. clamav - an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats
3. fail2ban - a service that scans log files to detect possible intrusion/malicious attempts, and temporarily blacklists the IPs. Useful against brute-force attacks
4. haproxy - very fast and reliable solution offering high availability, load balancing, and proxying. It is particularly suited for very high traffic web sites and powers quite a number of the world's most visited ones. Recommended by the ClusterCS team!
5. iptables - an application that allows configuration of the Linux firewall, for IPv4 protocol. Highly recommended by the ClusterCS team!
6. lighttpd - lighttpd is a secure, fast, compliant, and very flexible web-server that has been optimized for high-performance environments. It has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems
7. memcached - a distributed memory object caching system intended for use in speeding up dynamic web applications by alleviating database load
8. mysql - is an open-source relational database management system. A core component of the LAMP stack.
9. nginx - high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. NGINX is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption
10. php - The core module needed to compile, run and serve PHP scripts and web pages.
11. phpmyadmin - A tool written in PHP, used to manage and administrate mySQL databases over the web
12. postfix - A fast, easy to administrate and secure mail server
13. proftpd - A high performance, very secure FTP server
14. roundcube - A browser-based IMAP client, providing the full functionality of an e-mail client
15. spamassassin - an anti-spam platform used to filter spam e-mails
16. storage_location - a mandatory module designed by ClusterCS team which manages the server storage for both single-server setups, as well as clusters
17. stunnel - an application used to provide SSL/TLS tunneling service, enabling secured TLS/SSL connections. Used for communicating over HTTPS.

Author: Viorel Ciurusniuc
Last update: 2017-04-20 10:23


Which setup is best for me? Introducing Smart Load LAMP!

After ClusterCS successfully connected to your machine, you need to tell our system which modules you want it to install and manage.

We currently have 3 predefined server recipes, each ready to serve web content:
1. Smart web server (optimized LAMP) - this is our signature, recommended setup. It is a High Availability, very scalable solution intended for clusters, as well as single servers. It uses the haproxy load balancer to direct (proxy) the incoming traffic to specialized services: an Apache web server for dynamic content, which includes scripts and the bare web pages, lighttpd for serving static content, images and video, and nginx which serves as a caching layer.
2. Simple LAMP web server - a web server setup, which uses the Apache service in order to serve all the web content, consuming less resources than our optimized LAMP solution in low traffic environments, great for start ups, but it is less scalable than our recommended setup.
3. Nginx-php web server - a mirrored solution for our Simple LAMP web server, but using Nginx instead of Apache.

In addition, all our defined server recipes include: a firewall (Using iptables and fail2ban), mySQL database with phpMyAdmin to manage it, Postfix mail server with roundcube as webmail.
Any recipe can be further customized, in order to server particular needs. Choose the modules that YOU need!
You can visit our modules FAQ for further information on singular modules.

Author: Viorel Ciurusniuc
Last update: 2017-04-16 16:35


How to add a Bluemix (IBM) server to ClusterCS.com

Adding a Bluemix server to ClusterCS:
Adding a new Bluemix server to ClusterCS is very easy, and can be done in 2 steps:
1. Copy the droplet IP
You can get the IP by going to your device list and selecting the server:

The IP you need is the Public IP:

2. Getting the root password:
If you recently created the server, you have to wait between 30 minutes and 1 hour before you have full root acces. The credentials are found in the Passwords tab, the one that is required is the root password. You can reveal it by clicking on it.

Now you have everything you need in order to add your Bluemix Server to ClusterCS.com. Thank you for using our services!

Author: Viorel Ciurusniuc
Last update: 2017-04-20 10:19


How to add a DigitalOcean server to ClusterCS.com

Adding a DigitalOcean droplet to ClusterCS:
Adding a new DigitalOcean droplet to ClusterCS is very easy, and can be done in 2 steps:
1. Copy the droplet IP:
You can get the IP from the droplet list screen:

 

or from the droplet details screen:

 

2. Getting the root password:
When you create the droplet, you will receive an e-mail with root login details, and the password should be there.
If you lost the e-mail and/or forgot the password, you can resend the root password to your e-mail.
Remember to login using the DigitalOcean console first in order to set your own password.

 

Now you have everything you need in order to add your DigitalOcean Server to ClusterCS.com. Thank you for using our services!

Author: Viorel Ciurusniuc
Last update: 2017-04-20 10:21


Setting Firewall rules with ClusterCS

ClusterCS offers the possibility to easily manage your Firewall rules directly from the Control Panel interface.

You can make changes to the rules by going to Server->Firewall:

 

Now you should see the Default rules that ClusterCS created. They are the minimum required for the server and web services to communicate, in order to keep your server secured.

You can add your own rules by scrolling down. I will offer details about each option below:

 

The rule sampled above is made to allow SSH connections:

  • Server: The server(s) on which you would like the firewall rule to be applied to
  • Protocol: The protocol which is used (TCP is the most common)
  • Source IP: The IP the requests come from. For example, to give access or block yourself only, enter your IP. If you want everyone to have access, leave it to any.
  • Port spectrum: On which port do the requests come from. Usually the Source and Destination port is the same, however there are special situations in which they differ.
  • State: The state of the incoming connection. ANY is the most used option.
  • Destination IP: This is used mostly for servers that use multiple IPs on interfaces/subinterfaces. If you want to allow only connections coming to one IP, you can specify it here.
  • Active: Set whether the rule is active or not when you Add it.
  • Action: You can either block or allow connections that verify the rule you set here.
  • Interface: You can limit the rule to apply only to connections coming on a certain interface. Leave empty if you don't want this option.
  • Description: Set a description which is visible in the Control Panel to know what you set the rule for.

After you click Add to add the rule to the Control Panel, you can either apply it or set another one before applying them to the firewall at once.

You will see a message, and the rules will be active in a couple of minutes.

 

 

That's it! Now you can set your own rules in the Firewall, suited for your own needs!

Author: Viorel Ciurusniuc
Last update: 2017-04-26 15:50


How to make a HA Cluster with ClusterCS

The defining feature of ClusterCS is creating and managing High Availability Clusters. All while offering a simple, friendly interface in the Control Panel.

 

Adding a Cluster will welcome you with the same interface as adding a Single Server. Here, you have to give credentials of every single server, you want to be part of it, and after ClusterCS check the credentials, you can add it to your cluster:

 

You can also add previously tested servers from the same screen, if you scroll lower:

 

After you add all your servers to your cluster, you can click "Continue to setup". Here is an example of a well-balanced one. Your setup may differ, according to your preferences, and this is what's great about ClusterCS: the flexibility of setups, to accommodate every need.

 

I will explain the names and modules chosen for each server:

lb - Load balancer, its job is to sort the requests and send them to the right server

db - Database, it will keep the databases and also execute the mySQL queries

st - Storage, it has all the domain files

work - One of the dedicated workers, which serves the actual web content (html/php/etc.)

 

The layers are already set up using "optimised LAMP", our recipe of choice for HA Clusters (And even single servers) that specialize in serving web content. Remember, you should assign each layer to the corresponding server(s) by clicking "Manage".

Firewall - All servers need a strong firewall, no matter their role, so I chose this for all of them

Smart Traffic Manager - Only on lb

Webserver - The worker(s) needs this layer, as it is the only one serving actual web content

Database - Only on db, the others will connect to it

Email - You can have it on any server, it is up to you.

Webmail & Utilities - work, as they do require the apache module to run

Storage - st, this is the main storage for the domains

 

You can now continue your setup. It takes about 20 minutes for your HA Cluster to have everything installed and be ready for work!

Author: Viorel Ciurusniuc
Last update: 2017-04-30 07:34