https SSL of the domain always redirect to phpmyadmin

view full story

http://serverfault.com – My domain: abc.com works fine with http://abc.com. But when I go to https://abc.com, it keeps redirecting to phpmyadmin. I have already set phpmyadmin access as https://phpmyadmin.abc.com though. I am sure there is some redirection setting set wrongly, but can't figure out where. When I type a url that is supposed not to be found, e.g. http://abc.com/sdfsdf, it returned the correct 404 not found custom error page, which means it is directing to the right directory; but when I typed https://abc.com/sdfsdf, it returns a generic 404 not found which means the directory is not the same to the abc. (HowTos)