среда, 28 марта 2012 г.

Wildcard subdomains in Plesk

Sometimes it may be useful to have a site catching all possible subdomain names of your domain. Like a.domain.com, b.domain.com, whatever. Apache web server supports wildcard names such as "*.domain.com", but until recently it required some work with Plesk internal configuration files (i.e. /var/www/vhosts/domain.com/conf/vhost.conf or /home/httpd/vhosts/domain.com/conf/vhost.conf) and thus wasn't available for no-shell-access users.

Since Plesk 10.4 it became much easier. Simply go to your control panel, find "Websites & Domains" tab, click "Add subdomain" and put "*" (asterisk) in the name field. You'll get wildcard subdomain.



понедельник, 12 марта 2012 г.

How to make Plesk mail user with control panel access (UI)?

Some would complain creating mail user with control panel access in Plesk 10 is complicated and requires double work. Generally this would be quite easy action if the one proceeds with creating a user, rather than mailbox:
This way the one would get a mailbox and control panel user with aligned login and password. And no double-work is involved.

While availability of opposite direction (create User for Mailbox) would make it definitely more convenient, for most practical needs this solution should be sufficient. The key to understanding this approach would be the fact that Plesk 10 makes stricter separation between Mailbox (POP3/SMTP/IMAP access) and User (Control Panel access).

UPD: An easier solution of mail user problem is suggested in Plesk 11.5