Article ID: 9289, created on Nov 11, 2010, last review on Aug 12, 2014

  • Applies to:
  • Plesk 10.0.x for Linux/Unix

Fixed since

The problem described in this KB article has been completely fixed since the Parallels Plesk Panel 10.4.x version.


Before upgrading, Parallels Plesk Panel WWW prefix worked for my domain. I could access the domain via http://DOMAIN.TLD and http://www.DOMAIN.TLD, and the same content was shown.

After upgrading to 10.0.1, domain name www.DOMAIN.TLD is still resolved to the same IP address as DOMAIN.TLD. However, the default page of Parallels Plesk Panel is shown when http://www.DOMAIN.TLD is but not when http://DOMAIN.TLD is open. 

How do you fix the problem?

Additional information

The domain works with the WWW prefix if the entry ServerAlias exists in the Apache configuration file of the domain. Here is an example of a valid Apache configuration of the domain <DOMAIN.TLD> with an enabled WWW prefix:

    ServerName "DOMAIN.TLD:80"
    ServerAlias  "www.DOMAIN.TLD"

If the record ServerAlias "www.DOMAIN.TLD" is missing, the WWW prefix does not work for the domain.


Since version 10.0.0 Parallels Plesk Panel adds the entry ServerAlias "www.<DOMAIN.TLD>" into the domain's configuration if CNAME entry for www.DOMAIN.TLD exists in the domain's DNS zone.

You might find that A record for www.DOMAIN.TLD. still exists in domains DNS zone (Control Panel > Websites & Domains > DNS Settings):


Domain name www.DOMAIN.TLD is resolved to the same IP address as DOMAIN.TLD. In earlier versions, this configuration was good for enabling the WWW prefix. In Parallels Plesk Panel 10.x, you should replace this record with CNAME.

You may replace through Parallels Plesk Panel at Control Panel > Websites & Domains > DNS Settings. Remove A record for www.DOMAIN.TLD. and then add the following record:


Alternatively, you may configure this from the command line. To do so, log in to the Parallels Plesk Panel database:

~# mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

and find DNS record in the database:

mysql> select as domain, as dns_recs_id,, dns_recs.type, dns_recs.val from domains, dns_recs where domains.dns_zone_id=dns_recs.dns_zone_id and like 'www.%' and'DOMAIN.TLD';
| domain     | dns_recs_id | host            | type | val          |
| DOMAIN.TLD |          25 | www.DOMAIN.TLD. | A    | |

Please remember to replace DOMAIN.TLD with name of your domain in the query.

Remove record with ID 25:

mysql> delete from dns_recs where id=25;
Query OK, 1 rows affected (0.00 sec)


Add CNAME record into domain's DNS zone:

~# /usr/local/psa/bin/dns --add DOMAIN.TLD -cname 'www' -canonical DOMAIN.TLD
SUCCESS: Creation of DNS record in Domain 'DOMAIN.TLD' complete.

Recreate Apache configuration:

~# /usr/local/psa/admin/sbin/httpdmng --reconfigure-domain DOMAIN.TLD

Additional information

[How to] How to enable www prefix for domain in Parallels Plesk Panel 10?

dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 b21de1858ad3ec50d5613195a77434ab 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF