delete a domain alias, and it stays

Discussion in 'General' started by Turgut Kalfaoglu, Jan 21, 2025.

  1. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Hi today I noticed something interesting.
    I had a domain with an alias. I deleted the alias from our interface, but it stayed in the file:
    sites-available/xyz.net.vhost-le-ssl.conf
    It still had the ServerAlias command in there for the alias domain.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    This file is not from ISPConfig. According to the file name, you manually ran certbot command on your system instead of using the SSL functions in ISPConfig and certbot duplicated and messed up your config. This website can not be managed by ISPConfig anymore until you undo what certbot changed and also delete this wrong config file which was created by certbot.

    Never use the certbot command manually on an ISPConfig system for any websites or services managed by ISPConfig; certbot destroys the config.
     
    Turgut Kalfaoglu likes this.
  3. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Ah ok many thanks! I really liked using the certbot and I didn't know it would corrupt the configuration..
     
    Last edited: Jan 21, 2025
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Since you use iSPConfig now, getting a Let's Encrypt certificate is even easier. Just enable the Let's Encrypt checkbox of the website and press save button, that's all. Also, all recent ISPConfig systems use acme.sh internally and not certbot anymore, so better not install certbot at all not to cause conflicts.
     

Share This Page