You may have code under Apache and Nginx settings page for the primary domain which is causing redirection from http to https. The redirection from http to https for the primary domain should be specific to the primary domain. Otherwise it will also redirect the domain aliases