Adding www. to subdomain in plesk

Add the following line to /var/www/vhosts/subdomains/your-subdomain/conf/vhost.conf


The add an A record of www.subdomain with the IP address of the server.

Then execute this command as root.

[sourcecode]<strong>/usr/local/psa/admin/sbin/websrvmng -a -v</strong>[/sourcecode]

Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.