ispconfig3 migration tool source web apache to target nginx problems

Discussion in 'Installation/Configuration' started by vestport, Nov 12, 2025.

  1. vestport

    vestport Member

    I finally got the migration done sort of. Some errors but the server is basically online so I can ssh into it. The problem is that I tried to migrate from an apache www to nginx. Apparently configuration files or something hiccuped. I can't start the web server to get to the ispconfig menu.

    Any help on how to correct this after migration appreciated.

    Thanks in advance for any replies!


    Art
     
  2. remkoh

    remkoh Active Member HowtoForge Supporter

    Apache and Nginx vhost files are totally different!

    And without you posting the error on why the webserver won't start the reason will be anyones guess.
     
    ahrasis likes this.
  3. vestport

    vestport Member

    I think I got it going at least the main site so I can https:// into ispconfig Needed to change some diretives in a couple of the hosted site files.
     
    till and remkoh like this.
  4. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I think you can follow https://blog.schaal-24.de/ispconfig/ispconfig-apache-durch-nginx-ersetzen/?lang=en as general method to convert but do not manually create the vhost as I think ISPConfig should supposedly be able help you with default nginx vhost for each web site you have, when you force update ISPConfig afterwards. My advise is to follow the latest nginx manual Perfect Server Tutorial to fix any problems as a starting point and to use default nginx vhost master files until you are very used to it. Later you can learn how to customize them on your own.
     
  5. vestport

    vestport Member

    I got the web server going. Mail is the issue now. Man I wish I didn't even try the migration and just did this manually. This has cost me days of time I don't have. Thanks for all the replies!
     
    ahrasis likes this.
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    The migration does not cause your issues; they are caused by switching from Apache to Nginx. While this can be done, all websites that use .htaccess files or custom directives can not work afterwards until you change these custom directives to Nginx format and until your convert the .htaccess rules to Nginx format as well and put them in the Nginx directives field.

    If you do not say what your issue is, we can not help you. Also, mail migration is likely not the cause of the mail system failing; it's just accounts that get added. If mail does not work, then it's typically an issue with the base system before installation and not with the migrated database records and mail files of the accounts.

    Which would have taken way longer and not saved you from any of your current issues.
     
    ahrasis likes this.

Share This Page