Ok, so the problem is that /etc/letsencrypt/letsencrypt-auto doesn’t exist in that location. Not a problem because that command is very old. Please follow the certbot installation instructions from https://certbot.eff.org/lets-encrypt/ubuntuother-apache.
Great, I got some real progress now another problem has risen that I have two .conf files for beluxin.com.conf which is the main site and kentivo.com is the website below it so they should be in the same conf file. I have -two .conf files one is regular other has HTTPS Enabled
And I think that one that has HTTPS enabled doesnt have kentivo.com
Output:
We were unable to find a vhost with a ServerName or Address of www.kentivo.com.
Which virtual host would you like to choose?
Then I choose 1 which gives me this output
The selected vhost would conflict with other HTTPS VirtualHosts within Apache. Please select another vhost or add ServerNames to your configuration.
VirtualHost not able to be selected.
IMPORTANT NOTES:
Unable to install the certificate
Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/kentivo.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/kentivo.com/privkey.pem
Your cert will expire on 2019-12-12. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again with the "certonly" option. To non-interactively renew all
of your certificates, run "certbot-auto renew"
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/plesk.conf.d/server.conf:6
VirtualHost configuration:
5.79.100.201:80 is a NameVirtualHost
default server beluxin.com (/etc/apache2/plesk.conf.d/ip_default/beluxin.com.conf:136)
port 80 namevhost beluxin.com (/etc/apache2/plesk.conf.d/ip_default/beluxin.com.conf:136)
alias www.beluxin.com
alias ipv4.beluxin.com
port 80 namevhost default (/etc/apache2/plesk.conf.d/server.conf:64)
port 80 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:130)
wild alias lists.*
port 80 namevhost roundcube.webmail (/etc/apache2/plesk.conf.d/roundcube.conf:6)
alias webmail.beluxin.com
wild alias roundcube.webmail.*
5.79.100.201:443 is a NameVirtualHost
default server beluxin.com (/etc/apache2/plesk.conf.d/ip_default/beluxin.com.conf:10)
port 443 namevhost beluxin.com (/etc/apache2/plesk.conf.d/ip_default/beluxin.com.conf:10)
alias www.beluxin.com
alias ipv4.beluxin.com
alias beluxin.com
alias kentivo.com
port 443 namevhost default-5_79_100_201 (/etc/apache2/plesk.conf.d/server.conf:97)
port 443 namevhost lists (/etc/apache2/plesk.conf.d/server.conf:156)
wild alias lists.*
port 443 namevhost roundcube.webmail (/etc/apache2/plesk.conf.d/roundcube.conf:43)
alias webmail.beluxin.com
wild alias roundcube.webmail.*
*:443 www.kentivo.com (/etc/apache2/sites-enabled/000-default-le-ssl.conf:2)
*:80 beluxin.com (/etc/apache2/sites-enabled/000-default.conf:1)
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/vhosts/default/htdocs"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex rewrite-map: using_defaults
Mutex authdigest-client: using_defaults
Mutex fcgid-proctbl: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
Mutex fcgid-pipe: using_defaults
Mutex authdigest-opaque: using_defaults
Mutex watchdog-callback: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: ENABLE_USR_LIB_CGI_BIN
User: name="www-data" id=33
Group: name="www-data" id=33
Yes so the server will be upgraded soon, we are migrating sites and stuff from it.
Can I ask you for this strange thing that is happening. Maybe its to do with WordPress or its plugin.
When you go to https://kentivo.com its great and works. But if you click on the language selector on the right and select German
you get redirected through this https://kentivo.beluxin.com/?lang=de
And you get SSL Invalid error