500 error without any error log entry
If domain name is changed for new server, you need to clean cache entries. Try using truncate commands for cache tables and confirm back.
You need to have database backup before cleaning tables as well.