Moving installation from localhost to server


I am trying to move a running installation from localhost (WAMP) to a server on a subdomain. I have copied files and database.

When I open SUBDOMAIN/public I am forwarded to SUBDOMAIN/public/login but get:

“No input file specified.”

have the following nginx directives:

#root {DOCROOT}public;

    location / {
        try_files $uri $uri/ /index.php?$query_string;        

    location = /favicon.ico { access_log off; log_not_found off; }
    location = /robots.txt  { access_log off; log_not_found off; }

    sendfile off;

    location ~ \.php$ {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_index index.php;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_intercept_errors off;
        fastcgi_buffer_size 16k;
        fastcgi_buffers 4 16k;

.htaccess has uncommented “RewriteRule ^(.*)$ public/$1 [L]”
.htaccess in /public has uncommented “RewriteBase /” as it is running on subdomain

I have updated .env to current database/database user and set APP_DEBUG=true

laravel-error.log, stacktrace.log and error.log of hoster are not updating with recent error messages.

Any help/ideas are appreciated.