I’m not able to renew a certificate for a domain because it gets redirected to a different domain. Currently in the .htaccess file I have the following:
RewriteEngine on Redirect permanent / https://myaccount.zendesk.com/
Is there any way to keep the domain redirected but also be able to renew the certificate for that redirected domain? I tried this but it didn’t work:
RewriteEngine On RewriteRule ^\.well-known($|/) - [L] Redirect permanent / https://myaccount.zendesk.com/
My server OS is CentOS Linux 7.5.1804, running Apache 2.4.6.