Subdomain in my Wordpress site redirects to the main site
I installed Wordpress multisite and added several sites as subdomains. I already configured the wildcard subdomain in cPanel. But now when I try to access the site on the subdomain I get redirected to the main site. This also happens when I try to access webmail.mydomain.com, I get redirected to mydomian.com instead. So how to fix this issue?