I have problem with ampps using multiple domains.
I have added two domains X and Y both are pointing to the same server I can ping but when I browse to domain x or Y I always get to root of www folder.
There are chances that previously created domains may not be proper configure. So keep only the domains which are necessary and make sure all are working.
We tried adding domain thru Addon Domain Panel. It reports error 'Error' with loading icon process until we do not refresh page.
It creates the vhost files and addon to the www root, but fails to rewrite on windows system host file
Created domain manually it added, when we checked with AMPPS Manage Domain Panel and Windows Host File entry.
But does not load project properly to the url of installed project. when it is installed on location path E;/AMPPS/www/subdomain.domian.com/project/index.php https://subdomain.domain.com/project
host file entry
127.0.0.1 localhost
::1 localhost
::*
127.0.0.1 domain.com # created manually after failure of rewrite on host file
127.0.0.1 subdomain.domain.com # created manually after failure of rewrite on host file
E:/AMPPS/apache/config/extra/httpd-vhosts.conf
The current status of C:/windows/System32/drivers/etc/.htaccess