Summary
I have a hosting package that allows me to add multiple domains/websites to one account. It looks like they are created as sub folders in the file manager.
I currently have two sites, the main account site (site 1) and a separate site which is saved in a sub folder but has its own domain name (site 2). Both are Modx sites and have worked perfectly for years.
Yesterday I registered a third domain (site 3) and site and it is currently just a .HTML holding page.
Whenever site 1’s .htaccess file is enabled site 3 shows 500 errors and duplicates the domain when the www. version is accessed (eg https://site3domain.co.uk works but attempting to load https://www.site3domain.co.uk results in a 500 error and this URL https://www.site3domain.co.uk/site3domain.co.uk)
Step to reproduce
Enable the root domain’s .htaccess file and load the www. version of site 3.
Environment
The host is running Apache and I am the latest MODx on Sites 1 and 2 and site 3 is just a .HTML holding page.