First let me say thank you for this tutorial, it was very easy to follow and worked like a charm(although I'm sure I missed something).
When I go to my URL I get to the create admin account page. This tells me that I can access the server from outside. However, when I set it up using the parameters you indicated(/CloudDATA and nextclouduser, PASSWORD(I entered the one I created), nextcloud, localhost), and try to set up the admin account online, I get an error which states the following:
Error while trying to create admin user:
Failed to connect to the database: an exception occurred in the driver:
SQLSTATE[HY000]  Access denied for user 'nextcloud'@'localhost' (using password: yes)
I've scoured the internet trying to find what I may have done wrong and can't find anything. I've erased and reinstalled the entire system 3 times with the same results. I'm a complete NOOB to Pi and would appreciate any help possible. If you need to see any of my configurations, please let me know which ones and how to access them(complete NOOB, lol). Thank you so much in advance I look forward to your reply.
Thank you again for all your hard work and for writing this up.