Change web server domain name

I changed web server domain name, changing ServerName in
\etc\sites-enabled\000-default-le-ssl.conf
Then I ran certbot --apache and everything seemed okay, but https is not ok. What else should I do?

My domain is: roncallipt.ddns.net

I ran this command: certbot -apache

It produced this output: Congratulations! Your certificate and chain have been saved at …

My web server is (include version): apache 2.4.29

The operating system my web server runs on is (include version): Ubuntu 18.04

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): 1.8.0

1 Like

Hi @SilviaPt

your https is ok.

A new certificate, created today.

There is no certificate problem visible.

1 Like

Is it currently expected for your server to be serving the Apache2 Ubuntu Default Page?

  • If yes then all you probably need is a redirect from http to https.

  • If no then you probably have a configuration issue that needs to be resolved.

Please inform us either way and we’ll try our best to get you on track.