How do I reset the DNS cache?

WINDOWS uses caching of DNS objects to reduce the number of requests and to improve performance. After changing the IP for a domain, the changes are not applied immediately. You can reset the cache for your computer’s DNS records to speed up this process. It can be done this way: To do this, open a…

How to automatically install CMS (wordpress, joomla, opencart, modX)?

In our work we use auto-installer scripts “Installatron“, through which you can install the necessary CMS to you in a couple of clicks without the need to download the CMS files and create a database, all the installer will do yourself. First, you need to go to the DirectAdmin hosting control panel and there select…

How to create a MySQL database?

Database management is in the Directadmin control panel. To create a base, log in to the hosting control panel. Go to “MySQL Management“ Then click the “Create Database” link In the window that opens, you need to enter the database name, user name and password. You can make up your own password or generate one…

How do I set up http redirect to another domain?

Set up http-redirect can be in the control panel hosting DirectAdmin, to do this, go to “Redirect site” and click on “Create redirection”. Next, enter in the destination URL the address you want to redirect to.

How do I enable/disable gzip compression?

When you open the site in the browser creates a connection between the client and the server, and then there is a transfer of data, such as: images, text files, html pages, and so on. In order to save traffic or speed up the loading of pages, for example on mobile devices, data compression is…

Restrict access for bots

There are frequent situations when the bots create a high load on the site, thereby consuming unnecessary resources CPU and RAM, and this can lead to a slowdown of the site. There are useful bots, such as search engines, and there are useless bots that scan the site for example to collect some data or…

How do I connect to SSH using PuTTY?

PuTTY is one of the most popular SSH programs. Its popularity is due to its small size, free and open source. To get started, download PuTTY from the official website https://www.putty.org/ To connect you first need to specify the host or IP address in the appropriate field Also note that the default setting is port…

How do I change the php version for my site?

Go to the Control Panel at https://ваш_домен:2222 Next, under Tools, select Select PHP version Select the desired version from the list. Click Set as current. Important! The version of php changes for the entire account at once.

Adding a signature via Roundcube

Go to the web-interface of the mailbox at https://mail.your_domain Then select Settings – Profiles – Your Box In the Signature section, add your text. Then click “Save”.

How do I run Python scripts?

In our work we use the wsgi specification to run python scripts. WSGI is the gateway between the python application and the web server. Many Python frameworks have implemented code to handle the wsgi interface, such as Django, Flask and many others, so you can simply put the wsgi script in the application folder to…