• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Making www.sub.domain.com point to sub.domain.com

I'd like an "elegant" way to accomplish this as well. I've added the appropriate stuff to /home/httpd/vhosts/<domain>/conf/httpd.include but of course psa clobbers this anytime I make modifications via the control panel.

The other option I haven't messed with but should actually work better (although still not "elegant") is to add a row to the subdomains table. At least then it would re-add the stanza to the httpd.include file :)
 
But this system will work for all domain or each domain I have to use same procedure ?

I want to get solution parmenant whenever my client create a subdomain it should access www.subdomain.mysite.com

How to do it ?

Amin
 
Back
Top