SYSTEM INFORMATION | |
---|---|
OS type and version | Debian 12 |
Virtualmin version | 7.30.8 |
I have domain-name.co and domain name.com. I have setup domain-name.com as main website. Whatever I tried so far could not make domain name.com redirect to domain-name.com. What did I do so far:
- Create domainname.com as a Virtual Server, went to Web Configuration → Website redirects → Put / in the Source URLPath and https://www.domain-name.com in the URL at the other site. Save, restarted Apache, no browser can open page for SSL error: ERR_SSL_PROTOCOL_ERROR.
- Create domainname.com as ALIAS of domain-name.com. Still got an SSL error, but this time because instead of pointing to the virtual server it alias, it points to the default domain on the server (firstdomaininalphabeticallyorder.com). (Of course, I have deleted the virtual server from point 1, otherwise wouldn’t have been able to create Alias).