• 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

catch-all subdomain How to

In conf/vhost.conf add

ServerAlias *.mydomain.com


issue a

websrvmng -u --vhost=mydomain.com

issue a

httpd restart

then should work
 
mikk, thanks for the reply. Can this be done from within Plesk, or is there a tutorial or something to show me how to do this.

Thanks,
John
 
No this will all need to be done from a root level shell.

Best to have a good search over these forums and get yourself familiar with how wrong things can go if you are not used to using shell commands before trying to make changes.

The changes i showed though are relativly painless and can be done easily once you are logged in as root.

The paths you need to use vary depending on the OS you are using hence i only gave an outline, if you post your details im sure someone with the same OS will post more accurate paths to the commands.
 
Back
Top