• 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

Forcing www.domain.com instead of domain.com

T

tamar

Guest
Hi,

I'm trying to create a canonical URL so that every domain points to www.domain.com rather than domain.com.

I don't see a way of doing this through Plesk, and I have over 250+ domains to manage, so modifying 250+ httpd.include files may be too much.

Is there any way to make this setting server-wide so that I don't have to modify hundreds of files? If so, what is the syntax (if any required) and where is this implemented? I can log onto the shell if necessary.

Thanks!
 
Back
Top