cyberpanel
cyberpanel copied to clipboard
More then one Domain Alias won't issue SSL for both domain Domain Aliases
You can test yourself. Create website and Issue SSL for main domain and it will do like ssl certificate properly for example.com and www.example.com
If you then add Domain Alias example.net and try to Issue SSL it will deploy it properly for domain example.net and www.example.net
If you then try to add another Domain Alias example.org and try to Issue SSL it will remove example.net and www.example.net from deployed SSL certificate and ssl won't work.
It will now only work for example.com and example.org.
Can't deploy SSL certificate properly on all three domains example.com, example.net and example.org where example.com is the root domain.
You can test this by enabling https://support.mozilla.org/en-US/kb/https-only-prefs and you will see the error and you can check certificates Subject Alt Names.
Kindly use the child-domain feature and give it the same path and it will work the same way as alias domain. Right now this is a bug that you have mentioned above.
Same problem and Operation failed. Error message: get() returned more than one aliasDomains -- it returned 2! afterward. How to delete added domain alias?
Same problem and Operation failed. Error message: get() returned more than one aliasDomains -- it returned 2! afterward. How to delete added domain alias?
Same issue here @usmannasir
When I created an alias just to test it, CP made two copies of it. Now, when I try to delete any of them, I'll get the error message above.
@usmannasir I use the mentioned workaround for multiple domains successfully. However I do run into the issue that this way /usr/local/lsws/cachedata
is being separated for each domain, resulting in expired combine js files.
Here are more details on this issue: https://wordpress.org/support/topic/wpml-multi-domain-cache-clean-up/
Obviously alias-domain ssl is not working, but it's actually needed to get the above mentioned issue resolved.
Or can you suggest another workaround, so that child-domains behave like alias-domains?
Thank you very much cyberpanel, I'm using it on multiple dedicated servers successfully.
The child domain workaround works, but it's been 2 years, and this doesn't seem like a very complex problem. Can multiple alias SSL be worked on?