Godaddy subdomain masking not working

If you don’t want it showing /nextcloud at the end then as @tflidd states, configure your webserver to either redirect, or change the webroot directory from /var/www/html/ to /var/www/html/nextcloud

There’s info for setting up vhosts and configs here: