www is not working

If you don't tick the 'www' checkbox when creating a domain in Plesk, the CNAME record for www.{domain}.{tld} is not created.

However, simply changing the setting or creating the CNAME record is not enough to get it working - Apache config needs rebuilding.

So to fix the situation, follow these steps:

STEP 1

EITHER:

Change domain settings:
Plesk > Domain > {domain}.{tld} > Domain Administrator Access
Domain name: Check the 'WWW' box
[OK]

OR:

Create CNAME record:

Plesk > Domain > {domain}.{tld} > DNS Settings > Add Record
Record Type: CNAME
Enter domain name: www
Enter IP address: {Main IP address for domain}

[OK]

STEP 2

Rebuild Apache config:

Login to server via SSH as 'root'

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

OR

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

DONE

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I recover the Plesk password on my Linux dedicated/virtual dedicated server?

Yes. You can recover your Plesk password on your Linux dedicated server.To Recover Your Plesk...

Can I recover the Plesk password on my Windows dedicated server?

Yes, if you forget your Plesk password on your Windows server, you can use the plesksrvclient.exe...

Install GD on Plesk Linux

In order to install GD Library on your linux with plesk, you only need to login over ssh, and run...

Upgrade php on Plesk

By default Plesk installation, the PHP version is 5.1.x, if you want to upgrade it to 5.2 or even...

Manually Run Statistics

From ssh terminal run this command /usr/local/psa/admin/sbin/statistics --calculate-all Thats all!