Archive for the tag 'Default'

Removing a default domain from one of your IP addresses in Plesk

Once you have set a domain to be the default domain for a specific IP address in Plesk, you will not be able to deselect that particular domain. At this point you only have the option of switching the IP address to another domain on your server.

If you would like to do this there is a solution using MySQL commands. You can manually set the default_domain_id to zero for a specific IP address directly in the Plesk database. Make sure to replace IPADDRESS with your address.

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e “UPDATE IP_Addresses SET default_domain_id = 0 WHERE ip_address = ‘IPADDRESS’;”

The following command will remove the default domain setting for all IP addresses:

# mysql -uadmin -p`cat /etc/psa/.psa.shadow` -Dpsa -e “UPDATE IP_Addresses SET default_domain_id = 0;”

Then you need to use the command ‘websrvmng’ to apply changes:

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

Reference: http://parallels.com/

How do I change default language for AWStats?

Languages for AWStats are defined by “Lang” directives in it’s configuration files. New languages need to be set in the main AWStats configuration files.

/etc/awstats/awstats.conf
/etc/awstats/awstats.model.conf

The files which are already configured by Plesk for every domain can be found in the following files (Be sure to replace mt-example.com with your domain name):

/usr/local/psa/etc/awstats/awstats.serverbuddies.com-http.conf
/usr/local/psa/etc/awstats/awstats.serverbuddies.com-https.conf

By default Lang is set to Lang=”auto”, this means it will accept the first available language by the browser. You can change it to any supported value that can be found above the Lang directive in the configuration files.

For example, if you want English you would use the following:

Lang=”en”

When you are finished making any changes be sure to restart awstats to see any changes instantly.

Reference: http://parallels.com

HOWTO: Set default site for IP address in Plesk Control Panel

You can select and change which of your Domains your IP address points to by making a simple change in your Plesk Control Panel. This is also useful if you want to preview a site before changing your DNS settings.

1. First, log in to your Plesk control panel,
2. Click on Server.
3. Click the icon for IP Addresses, and you will see a number X under the heading hosting on the far right which indicates how many domains you have on each corresponding IP address.
4. Click on the number you see for the IP address in question.
5. On the next page, you’ll see radio buttons next to each of your domains. Select the radio button for the Domain that you want to see when browsing to your IP address, and then click Set as Default.

Now, when you browse to your IP address, you’ll see the domain that you have selected as Default.

Catch-all/default address behavior for new accounts in Cpanel.

The catch-all or default address handles email sent to nonexistent users on your server’s domains. It is useful to keep in mind that spammers frequently use Directory Harvest Attacks to try to guess recipient usernames at known domains. Thus, a domain may receive a large number of spam messages sent to nonexistent users, costing you server resources.

fail — Checks for the intended email recipient and, if no matching recipient is found, denies the SMTP request before downloading the message. This option is recommended.
blackhole — Discards the message after downloading it. This option uses system resources.
localuser — Allows users to set up their own catch-all email addresses. These email accounts will mainly serve to collect spam.

Reference : http://cpanel.net

How to change default 19368 port of control panel interface.

To change default 19638 port it is enough to change it in /etc/ensim/epl.conf file and restart epld service. In other configuration files it will be substituted accordingly.

Note that the sites configuration files are located in /etc/httpd/conf/virtual/ and include “RedirectMatch” directive that contain redirect to 19638 port.

Next »