Plesk Firewall

psa-firewall To start the service through the command line: /etc/init.d/psa-firewall start To stop the service through the command line: /etc/init.d/psa-firewall stop To restart the service through the command line: /etc/init.d/psa-firewall restart Configuration files are accessible at: psa-firewall (IP forwarding) To start the service through the command line: /etc/init.d/psa-firewall-forward start To stop the service through the … Read more

How to restore default permissions in virtual host directory

Run the below commands with superuser privileges to download the archived shell script. Unzip it and execute it, providing the needed domain name as an argument: ~# wget http://kb.parallels.com/Attachments/kcs-20264/recover_plesk_directories.zip ~# unzip recover_plesk_directories.zip ~# sh recover_plesk_directories.sh domain.tld

Add Private Name Servers to Plesk Domain

To Create and Register Your Domain Hosts in Parallels Plesk Panel Log in to Parallels Plesk Panel as an administrator. Go to the Websites & Domains tab, and then click DNS Settings. For the row with the Record Type of NS, click your domain name, change the following, and then click OK: Record type — … Read more

Qmail Wrapper

Use this method to track down any PHP scripts that might be sending email. http://kb.parallels.com/en/1711 1) Create a /var/qmail/bin/sendmail-wrapper script with the following content: Note, it should be two lines including ‘#!/bin/sh’. 2) Create a log file /var/tmp/mail.send and grant it “a+rw” rights; make the wrapper executable; rename old sendmail; and link it to the … Read more