"Apache2 Debian Default Page" after change domain name

Discussion in 'Installation/Configuration' started by PetZe, Dec 29, 2018.

  1. PetZe

    PetZe New Member

    After update Debian and PHP I have the following problem:
    If I change the domain name in ISPconfig (eg from subdom.domain.com to subdom1.domain.com) apache will display "Apache2 Debian Default Page".
    Renaming back (eg back to subdom.domain.com) does not help. Still showing "Apache2 Debian Default Page".
    Changes are visible in the "/ etc / apache2 / sites-available" and "/ etc / apache2 / sites-enabled" directories.
    The virtual hosts I did not rename, works fine, even after the Apache restart.
    Thank you for help.
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Check with
    Code:
    apachectl -S
    if there are errors with some website. Also check log files.
    If you are using Let's Encrypt certificates, check Let's Encrypt log to see if that has errors.
    Also, the usual things to empty browser cache and in ISPConfig website settings, all websites must have IP address the actual IP address or "*", not mix of the two.
     
  3. PetZe

    PetZe New Member

    Than you.
    The problem was in Let's Encrypt. ISPConfig remove all settings for SSL.
     

Share This Page