当我尝试安装后重新启动时,Apache无法完全确定域名。
我得到了这个错误;
$ sudo /etc/init.d/apache2 restart
Restarting web server config apache2
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.1.1 for ServerName.
为什么我看到127.0.1.1?我尝试将ServerName localhost保存到我的/etc/init.d/apache2中,但每次输入ph
我已经添加了一个域。 我想用certbot为新域启用https。 遵循此https://certbot.eff.org/lets-encrypt/ubuntubionic-apache sudo certbot --apache
[sudo] password for qq:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS