I using aaPanel in DO droplet & running aaPanel version 6.8.4
FYI: All my subdomains will have different content than the main domain:
Case 1: I created a sub-domain from Panel > Websites > Add new. So, my directory was
/www/wwwroot/test.domain.ltd . I create a simple HTML file but when I accessed
test.domain.ltd in browser the content of
domain.ltd was loaded. I tried creating different sub-domains many times & I got the same results.
Case 2: I went to Once click deployment tool & then deployed a WordPress with sub-domain
test2.domain.ltd & path was
/www/wwwroot/test2.domain.ltd . Now, it worked.
Then, I deleted all files inside
/www/wwwroot/test2.domain.ltd & created a simple HTML file. Then tested with browser & it worked.
What could be the problem in case 1? Is this problem related to .htaccess/rewrite rule or Nginx Vhost file?
@JAY @aaPanel_Jose Any idea guys?
Thanks in advance 😃