18Sep/190

LEMP: Debian, NGINX + Certbot, MariaDB, PHP

This tutorial shows you how to prepare your Debian VPS for hosting your website.
We are not going to perform any fine-tuning or optimization on the default configuration files. So neither NGINX, MySQL or PHP (LEMP) will get any other than the necessary configuration changes in order to run a website properly.

1. Install the Software

NGINX, Certbot, PHP installation:

:~# apt install nginx python3-certbot-nginx php-fpm php-mysql zip unzip pwgen

MariaDB can be installed as follows:

:~# apt install mariadb-server

Installing MariaDB by using the default-package repositories might not install the latest version of MariaDB. For the latest MariaDB version visit Official MariaDB Repo and follow the instructions.

2. Configure the Software

You should secure your MariaDB installation first:

:~# mysql_secure_installation && mysql_upgrade
:~# mysql

 Welcome to the MariaDB monitor.  Commands end with ; or \g.
 Your MariaDB connection id is 55
 Server version: 10.4.6-MariaDB-1:10.4.6+maria~buster mariadb.org binary distribution
 Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
 Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. 

We will now run Certbot for our default vmXXXX.contaboserver.net hostname, you could also simply add any other website.

Important:
In case you want to secure multiple domains you can simply add them with another "-d" option behind the command, e.g.:

:~# certbot --nginx -d $(hostname) -d vmXXXX.contaboserver.net

Certbot will also create a default configuration for your website within /etc/nginx/sites-enabled/

Let's configure PHP, so NGINX knows where to send PHP-Files for interpreting. Check where PHP-FPM listens to:

:~# grep "listen =" /etc/php/7.3/fpm/pool.d/www.conf
listen = /run/php/php7.3-fpm.sock

The pool configuration file got a lot of parameters which can be adjusted according to the hardware your server is running and the type of scripts hosted on your website.
Open /etc/nginx/sites-enabled/default and you will see a PHP section which is commented out, you could install multiple PHP-Versions, add a server or VPS for PHP interpreting only and much more.
We will add the following lines to any "server {}" configuration we want PHP to be available on:

location ~ .php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
}

You also need to expand the "index" line with "index.php" :

 index index.php index.html index.htm; 

:~# systemctl restart nginx

We will now download and install phpMyAdmin and make it available. On Debian 10 phpMyAdmin is not available via "apt install phpmyadmin" command, they are probably going to add the package once the Alpha got stable.
For downloads visit Official phpMyAdmin Website . As we are using PHP 7.3 we need to download the Alpha Version, which is still in testing phase.

:~# mkdir /var/www/phpmyadmin
:~# cd /var/www/phpmyadmin/
:~# wget https://files.phpmyadmin.net/phpMyAdmin/5.0.0-alpha1/phpMyAdmin-5.0.0-alpha1-all-languages.zip
&& unzip phpMyAdmin-5.0.0-alpha1-all-languages.zip
:~# mv phpMyAdmin-5.0.0-alpha1-all-languages/* .

Create a database user and import the database; run "pwgen" to generate random passwords.

:~# mysql < sql/create_tables.sql
:~# mysql

CREATE USER 'phpmyadminuser'@'localhost'  IDENTIFIED BY 'USE ONLY SECURE PASSWORDS !!';
GRANT SELECT, INSERT, UPDATE, DELETE ON phpmyadmin.* TO 'phpmyadminuser'@'localhost'
IDENTIFIED BY 'USE ONLY SECURE PASSWORDS !!'; FLUSH PRIVILEGES;

Let's configure phpMyAdmin to use the database. Uncomment the following lines in config.inc.php:

/* User used to manipulate with storage */
  $cfg['Servers'][$i]['controlhost'] = 'localhost';
  $cfg['Servers'][$i]['controlport'] = '3306';
  $cfg['Servers'][$i]['controluser'] = 'phpmyadminuser';

:~# cp -p config.sample.inc.php config.inc.php
:~# pwgen 32 1 #Copy the password for blowfish secret
:~# chown www-data: /var/www/phpmyadmin -R

Last but not least, configure the webserver to make the content available.
Add the following section to the domain you want to expose it on:

    location /phpmyadmin {
           root /var/www/phpmyadmin/;
           index index.php index.html index.htm;
           location ~ ^/phpmyadmin/(.+\.php)$ {
                   try_files $uri =404;
                   root /var/www/phpmyadmin/;
                   fastcgi_pass unix:/run/php/php7.3-fpm.sock;
                   fastcgi_index index.php;
                   fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
           }
           location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
                   root /var/www/phpmyadmin/;
           }
    }

22Feb/195

Webspace, VPS und Dedicated Server explained: Differences and applications

Time and again we receive inquiries asking which product is best suited for your personal requirements. In the following we would like to give you an overview of our products and their applications:

Webspace Packages:

Let's start with our Webspace Packages, which are ideal for hosting smaller websites, blogs and forums. The intuitive and simple menu navigation of the cPanel web interface allows even inexperienced users to navigate relatively easily. The Webspace Packages are suitable both for beginners who want to create their first own website and for experienced users who want to create a professional website.

More than 300 different PHP applications such as WordPress, Joomla, Magento, MediaWiki or Bootstrap can be installed with the included 1-click installation tool. In addition, with the Contabo Website Builder we offer a possibility to create your own website without any previous knowledge required. You can choose from over 200 design templates that are already optimized for use on mobile devices and easy to customize.

Each webspace package also includes one or more domains free-of-charge, further can be added at any time. All websites are also equipped with a free SSL certificate.

Click here for an overview of all currently offered Webspace Packages.

VPS:

Our VPS provide a low-cost entry into the world of servers. The VPS are based on KVM and are set up on host systems with up-to-date and reliable hardware. A variety of current Linux and Windows operating systems can be installed on the VPS. Many of the offered operating systems also support administration panels like Plesk or WHM/cPanel. With the help of those administration panels, websites, e-mails and much more can be managed easily and quickly.

Each customer also receives root access or administrator rights on his VPS and can therefore install any desired software. This enables a variety of possible applications.

Currently we offer seven different VPS models, three with HDD + SSD boosted storage and four with 100% SSD storage. If the allocated resources of the VPS are no longer sufficient in the future, your VPS can be upgraded to a larger model at any time.

Here you can find our currently offered VPS.

Dedicated Server:

Dedicated servers are ideal for larger projects that require a lot of computing power. They can be easily adapted to individual requirements and needs and are particularly suitable for software development, database applications or virtualization. Dedicated servers can also be connected to an internal network that enables fast local data exchange between several servers.

Likewise, as above for the VPS, you can choose from a variety of current Linux and Windows operating systems with compatible administration panels. In addition, some virtualization operating systems such as Proxmox and XenServer can also be installed, which are ideal for creating and managing your own virtual machines.

Dedicated servers are also suitable for hosting game servers or VoIP applications, as the performance of the server is dedicated.

We currently offer six different dedicated servers that cover the complete performance range.

Our currently offered Dedicated Server models are just one click away!

13Nov/180

CHIP Hotline-Test 2019: “A+” grade for Contabo

Once again, we have great news from inside Contabo: This year, too, the well-known German IT magazine CHIP and the research institution Statista have tested the hotlines of German providers during the past months. After more than 8.900 test calls the best hotlines for new customers were determined among 147 companies from 12 industries.

We are very happy that we were awarded with the overall rating “very good” in the category "hosting providers" this year again, after winning the competition last year. The detailed rating for Contabo:

Overall rating: Very good (96.7 out of 100 points)
Service quality: Very good (99 out of 100 points)
Waiting time: Very good (99 out of 100 points)
Reachability: Good (87 out of 100 points)
Transparency: Very good (90 out of 100 points)

We finished second among the 15 tested hosting providers, with a total of 96.7 points – 0.1 points behind the first place (96.8 points).

Receiving the A-grade for our hotline the second year in a row is a huge honor for our entire team. At the same time, it is motivation for us to continue to offer you, our valued customers the best support possible in every situation.

As always, you can contact us by phone directly via a standard landline number, without any hotline fees, queues or complex menu selection – on 365 days per year.

Posted by: Markus | Tagged as: , , , , No Comments
8Nov/183

New Operating System available: Fedora 29

Some of you have probably yearned for it already 😀 now is the time: The brand new Fedora 29 is available at Contabo now for all of your virtual and dedicated servers! It replaces the previous version, Fedora 28.

You can order it with the Software RAID 1 and Webmin and an installation via VNC is possible as well.

Being an active customer, you can easily upgrade to the new version through our customer control panel.

Especially noteworthy for all other readers and users interested in renting servers from us: We offer you a large selection of the latest Linux distributions as well as Windows Server 2012 and 2016. Just click on "Customize & Order" below your desired virtual or dedicated server model in order to get a detailed overview and select the operating system of your choice!

You can find further information and a product overview on our website!

11Oct/182

Plesk 17.8: New features – try for free at Contabo

The new Plesk Onyx 17.8 is available for some time now, and maybe you are using it already. If not, you might consider to order your next (virtual) server with Plesk Onyx. In case you are still unsure if Plesk is the right administration panel for your needs, we would like to introduce some of the many advantages of the latest Plesk Onyx version:

Nginx-Caching: Significantly reduces the load-time of your websites and accelerates your server by loading pages directly from the cache.

The Advisor is the new best friend of your server and provides you with valuable tips in order to improve the security and performance of your server and your websites. This works automatically and the advisor makes suggestions and shows you which issues you need to address. All this is grouped by sections (security, SEO, performance,...)

The Repair-Kit ensures that your server is up and running, at all times. High CPU load, no more disk space available? No problem, thanks to the repair kit you can handle such issues yourself. The best thing: You do not have to be a skilled server administrator for that.

Easily manage your websites and increase the security with the WordPress Toolkit: Updates with optional restore points, password-protected acces to WordPress instances, protection from "pingback attacks", add your own plugins, themes, and much more.

The SEO-Toolkit provides valuable assistance when it comes to search engine optimization. Monitor your keywords, compare your ranking with your main competitors, and receive optimization recommendations in order to attract even more potential site visitors!

Does this convince you to try Plesk Onyx 17.8?

If your answer is "yes", then you can try it one month for free - exclusively at Contabo! This offer is available in combination with all of our virtual private servers (VPS). Just click on "Customize & Order" below the desired VPS and then select the Plesk Onyx version of your choice on the following page (in the section administration panel). You can also find an overview of the different editions in our tutorial Plesk Onyx basics: The first steps.

In case of further questions, we are available to assist you. Just contact our customer support team via mail or phone!

Posted by: Markus | Tagged as: , , , , 2 Comments
9Mar/159

Setup special: 0 € setup fee for our VPS!

As of now all our virtual private servers (Contabo VPS) are provided without setup fee! Even if you choose a month-to-month contract period the one-time setup fee is still 0 €.rent virtual machineThe Contabo setup special is available for a short time only, so do not hesitate to seize your chance and get your Contabo VPS with 0 € setup fee now:

VPS M
2 CPU Cores
6 GB RAM (guaranteed)
500 GB HDD
SSD boost
100 Mbit/s switch port
Unlimited Traffic
Only 7.99 EUR / month!
This month only: 0 € setup fee!

VPS L
4 CPU Cores
14 GB RAM (guaranteed)
1000 GB HDD
SSD boost
100 Mbit/s switch port
Unlimited Traffic
only 13.99 EUR / month!
This month only: 0 € setup fee!

VPS XL
6 CPU Cores
30 GB RAM (guaranteed)
2000 GB HDD
SSD boost
1000 Mbit/s switch port
Unlimited Traffic
Only 24.99 EUR / month!
This month only: 0 € setup fee!

 

13Aug/140

New VPS offers: Higher performance, SSD boost!

VPS without setup fee

After months of development, the time has come: Today, our entire lineup of VPS offers has been updated. Each Contabo VPS now provides much more performance - at the same price as before! What does this mean for you? More CPU cores, more RAM, more disk space and, for the VPS XL, a Gbit/s uplink. While our previous VPS offers did not have to fear the comparison with dedicated servers, this is even more true for the new Contabo VPS, which are superior to a lot of dedicated servers.

Moreover, all VPS have received the new SSD boost feature: Every Contabo VPS is now equipped with SSD acceleration per default. By using SSDs, the I/O performance (IOPS and bandwidth) of your virtual server is improved massively. Databases and other applications which require I/O to perform best are accelerated significantly by the SSD boost. Lags when accessing or writing data are a thing of the past now!

The new Contabo Virtual Private Servers (VPS) - unbeatable when it comes to price and performance:

VPS M
2 CPU Cores
6 GB RAM (guaranteed)
500 GB HDD
100 Mbit/s switch port
Unlimited Traffic
Only 7.99 EUR / month!
This week only: 0,00 EUR setup fee!

VPS L
4 CPU Cores
14 GB RAM (guaranteed)
1000 GB HDD
100 Mbit/s switch port
Unlimited Traffic
only 13.99 EUR / month!
This week only: 0,00 EUR setup fee!

VPS XL
6 CPU Cores
30 GB RAM (guaranteed)
2000 GB HDD
1000 Mbit/s switch port
Unlimited Traffic
Only 24.99 EUR / month!
This week only: 0,00 EUR setup fee!

3Jun/140

Summer special: 0 € setup fee for our VPS!

No Setup fee
Summer has just begun and Contabo celebrates the warmest time of the year with hot price reductions.

As of now all our virtual private servers (Contabo VPS) are provided without setup fee!
Even if you choose a month-to-month contract period the one-time setup fee is still 0 €.

The Contabo VPS summer special is available for a short time only, so do not hesitate to seize your chance and get your Contabo VPS with 0 € setup fee now:

 

VPS M
1 CPU Core, 3.2 GHz
4 GB RAM (guaranteed)
200 GB HDD
100 Mbit/s switch port
Unlimited Traffic
Only 7.99 EUR / month!
Only during summer special: 0.00 EUR setup fee!

VPS L
2 CPU Cores, 3.2 GHz
8 GB RAM (guaranteed)
400 GB HDD
100 Mbit/s switch port
Unlimited Traffic
Only 13.99 EUR / month!
Only during summer special: 0.00 EUR setup fee!

VPS XL
6 CPU Cores, 3.2 GHz
16 GB RAM (guaranteed)
800 GB HDD
100 Mbit/s switch port
Unlimited Traffic
Only 24.99 EUR / month!
Only during summer special: 0.00 EUR setup fee!

Decide now for a virtual server from Contabo and benefit from a high-end product for an unbeatable price coupled with excellent support.

22Feb/134

Contabo VPS XL Benchmark

We were benchmarked and you guys might be interested in checking out the results.

In the following you will find a short extract of the result of the analysis.

Contabo UnixBench

All those who are interested in further details to the benchmark results of our VPS XL are invited to click here: http://virtdeal.com/contabo-review-germany-kvm-vps-hosting/

Enjoy your weekend!

 

Posted by: Katharina | Tagged as: , , , , 4 Comments
23Jan/130

VPS XL: Now 6 instead of 4 CPU cores!

VPS-xlShortly after our most recent price reduction and directly following the doubling of our VPS performance features we are even outdoing ourselves once more:

From now on, we do offer our top ranking virtual private server, the VPS XL, with six CPU cores instead of four, each at a frequency of 3.2 Ghz.
If it is dozens of MySQL queries per second, tens of thousands of homepage visitors per day or the calculation of complex 3D structures - you rarely will find a way to bring this high-end VPS down to its knees.

These are the VPS features at a glance:

VPS XL
6 CPU Cores
16 GB RAM (guaranteed)
800 GB HDD
100 Mbps switch port
Unlimited Traffic
Only 29.99 EUR / month!
Special introductory offer: 0 EUR setup-fee!

Order our best virtual machine, which features enormous 16 GB of RAM, 800 GB of storage and, of course, unlimited traffic!