change nginx to apache in existing installation

Discussion in 'Installation/Configuration' started by pawan, Oct 20, 2023.

  1. pawan

    pawan Member

    I wanted to know If I can change server type for an ISPCONFIG already installed from nginx to apache?
    if yes how?
    Thanks.
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    It should not be impossible, but you might run into unforeseen complications. If this is a empty server, simply reinstall with the ISPConfig autoinstaller and pass the correct argument to install nginx instead of apache.

    If you want to try anyway, uninstall apache2 and all it's modules, then install nginx, change the configuration of the webserver in the panel, and run a forced ISPConfig update (and let it reconfigure services)
     
    ahrasis likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Like @Th0m mentioned, switching from Nginx to Apache or vice versa is possible, but it's not easy and requires good Linux admin skills as likely some things will break and need to be fixed in config files manually then. So, if you have the option to reinstall the system, then that is the better choice.
     
    pawan and ahrasis like this.

Share This Page