Version : 2.4.0
Os: Ubuntu 22.04
Description:
When two websites are created using the same domain name with different extensions (e.g., example.com
and example.com.tr
), deleting the .com
domain causes the .com.tr
site to become inaccessible. After the deletion, accessing the .com.tr
site results in a 404 Not Found error.
Notably, the files and directories related to example.com.tr
remain intact on the server; only web access is lost.
Steps to Reproduce:
- Add two websites:
example.com
andexample.com.tr
. - Delete the
example.com
website. - Attempt to access
example.com.tr
. - The site returns a 404 error.
Expected Behavior:
Deleting the .com
domain should not affect the .com.tr
site. Since their content and configurations are separate, example.com.tr
should continue to function normally.
Actual Behavior:
After deleting the .com
domain, the .com.tr
site becomes unreachable and returns a 404 error, even though its files remain on the server.
Additional Notes / Hypothesis:
The issue might be related to OpenLiteSpeed virtual host configurations. It appears that when the .com
domain is deleted, shared or linked configurations in OpenLiteSpeed may also be removed or altered, which inadvertently affects the .com.tr
site.