I have created a multisite and I was getting errors when trying to access the dashboard or the front-end of the subsites I created on it. On the front-end I was getting: "Index of/"
And on mydomain.com/wp-admin/ I was getting: "Not found. The requested URL /index.php was not found on this server."
During the chat the additional subdomains and the subfolders related to them that were added on cPanel by mistake were deleted and only the wildcard subdomain was kept, but the issue was still there.
I noticed that the subsites were pointing to http instead of https, and after disabling the SSL certificate on cPanel I can access them, but I need the certificate to be enabled on the site. How can this be fixed?