My domain is: gdes.ga
I ran this command: sudo nano --apache -d gdes.ga
It produced this output: Congratulations! You have successfully enabled https://gdes.ga
My web server is (include version): Apache/2.4.38
The operating system my web server runs on is : Raspbian debian 10 (buster)
I can login to a root shell on my machine : yes
I'm using a control panel to manage my site : no
The version of my client is : certbot 0.31.0
Hi! I'm new to server computing, I bought a raspberry and installed apache. I made a port forwarding to both ports 80 and 443 on my box. I rented a domain name on freenom and indicated my public ip. My http version of the site seems to work so I tried to swich to https using certbot. My problem is that after getting the certificate, my site is redirected to the page https://gdes.ga/login.html, the login page of the box. I don't understand why, I tried to make a 301 redirection but nothing seems to change.
Can you help me on this issue ?
I also tried the following test :
You should test your configuration at:
SSL Server Test (Powered by Qualys SSL Labs)
which gives me
Certificate name mismatch with mabbox.bytel.fr
which is the site I'm redirected to.
Best,
Gaetan