Pages: [1]   Go Down

Author Topic: Plesk  (Read 167 times)

Alexander.P.

  • Novel
  • *
  • Offline Offline
  • Posts: 5
    • View Profile
Plesk
« on: November 03, 2009, 11:06:41 AM »
Hi, I just wanted to share an experience of mine while using Plesk. Apparently Plesk is for more advanced users, and there isn't an option for adding Wildcard subdomains. If you ever need to set up wildcard I think this can be helpful.
In some situations, you may want to have domain.com as well as *.domain.com point to the same site in Plesk. Plesk will automatically set up hosting for domain.com and www.domain.com within the Apache configuration, but you can direct all subdomains for a particular domain to a certain virtual host fairly easily.

DNS
Add a CNAME or A record for *.domain.com which points to domain.com (for a CNAME), or the domain’s IP (for an A record.

Apache Configuration
Edit the /var/www/vhosts/domain.com/conf/vhost.conf or /home/httpd/vhosts/domain.com/conf/vhost.conf file and enter this information:

ServerAlias *.domain.com

If the vhost.conf didn’t exist before, you will need to run:

# /usr/local/psa/admin/bin/websrvmng -a -v

Whether the vhost.conf was new or not, you will need to reload the Apache configuration:

# /etc/init.d/httpd reload

or

# apachectl graceful


Please use this thread to discuss Plesk in particular, post anything that you think comes helpful to know about the panel.
« Last Edit: November 03, 2009, 11:09:59 AM by Alexander.P. »
Logged

Alexander.P.

  • Novel
  • *
  • Offline Offline
  • Posts: 5
    • View Profile
Re: Plesk
« Reply #1 on: February 03, 2010, 05:27:40 PM »
Hi again,

I had a customer on the phone the other day, asking why are his email accounts unable to receive messages larger than 10 Mb, and is there a fixed limit for email accounts sending/receiving large files.

The solution was rather simple, yet it could be difficult for a person without any experience with Plesk to find the setting by himself.

Once logged into your Plesk control panel you will simply need to navigate to:

Home:

Server -> Mail Server Settings ->
Maximum Message Size: 10000 kylobytes (It is the default limit)


Change it to whatever number suits your needs, and there you go - no more messages bouncing back.

PS: One more thing, this setting applies to all existing accounts on your server.
« Last Edit: February 03, 2010, 06:17:56 PM by HC Shark »
Logged
Pages: [1]   Go Up
« previous next »