plesk-dns-allow-zone-transfer

CentOS 7 Plesk server DNS not starting

On a CentOS 7 Plesk server DNS failed to start. Plesk on CentOS 7 use named-chroot.service for starting DNS.

I tried to start DNS with

On checking status, it shows DNS failed to start

I removed Bind DNS server using command

Removed all bind related packages with yum. Removed all DNS configs from /etc and /var/named folder.

Reinstalled Bind DNS and run plesk repair to fix DNS entry

But it did not resolve the problem. I checked named.conf with

It showned error is related with

Problem is fixed by removing the entry “11.11.12.100/255.255.255.0” from

You can use IP or CIDR here. But you don’t need this if you don’t have secondary DNS servers.

Plesk License Number

Plesk Change Backup Location

By default, Plesk store backups in folder /var/lib/psa/dumps/. To move this to a differnt partition or directory, create a folder

Edit file

Find

Replace with

Move old backup to new location

Remove old backup directory, here i rename it to dumps-old, you can delete it.

Restart Plesk

Related Posts

Plesk
Plesk MySQL Daily Backup Script

Plesk move vhosts folder

Plesk use /var/www/vhosts folder to store sites. On some servers this folder will be on smaller partition. Say you have all disk space on partition /home, in such cause, you can use following command to move web site files to /home folder with following command.

/home/ = you can replace this any any folder you wish. Plesk will move the site files, update the configuration as required.

NOTE: In this example, i used /var/www/vhosts instead of /home/ as the server was using non default folder for vhosts, i am moving all sites back to default location (/var/www/vhosts).

See Plesk

Plesk License Number

Install PHP 5.6 on Debian 9 Plesk Server

To install PHP 5.6 on Debian 9 Plesk Server, add sury.org repository

Install PHP 5.6 with apt

Optional: Enable PHP 5.6 as default CLI

This will show all available PHP version, select the default version for command line.

Enable PHP 5.6 in Plesk

Plesk MagicSpam

Install MagicSpam on Plesk

MagicSpam is an anti spam filter for Plesk and DirectAdmin servers. You can purchase MagicSpam from

https://www.magicspam.com

To install MagicSpam, upload the zip file you get to /root/ folder of your server and run

Example

Plesk MagicSpam

Plesk License Number

Install Redis on Plesk Debian Server

To install Redis on Plesk Debian/Ubuntu server, run

Enable and restart redis-server

Now install PHP Modules

After installing, you will see redis listed in phpinfo() page.

Redis PHP Debian

Plesk License Number

Find Plesk Version

To find Plesk version, login to server as user root SSH and run

Example

Plesk License Number

Plesk Install PHP

To install differnt version of PHP in plesk server, run

This will list available PHP versions to install.

To install PHP 5.3, run

To install PHP 5.6, run

See Plesk