Yunohost has an administrator web interface. The other way to administer your Yunohost install is through the CLI called "moulinette"
Please note that the web interface is an active work-in-progress and has far fewer features than the CLI moulinette.
You can access your administrator web interface at this address: https://example.org/yunohost/admin (replace 'example.org' with your own domain name)
To reset YunoHost admin password (Need a root user available)
add the following lines to /etc/slapd/slapd.conf
:
rootdn "cn=admin,dc=yunohost,dc=org"
rootpw {SSHA}O4kkm2OkgO2DPrrnYXXXXXXXXXXXXXXX
where the hash in the last line comes from (or at least that's my understanding)
slappasswd -h {SSHA}
# A password will be ask, and you'll get the corresponding hash
Once the lines are added, [here you might need to restart the ldap service ?], you should be able to connect to the admin interface, rechange the password properly, remove the lines you added in slapd.conf, and that should be all.
To change an application folder, only a few commands are needed: move content, create a symlink and set access rights.
Sample with WordPress:
# Move wordpress folder to an external hard drive
$ sudo mv /var/www/wordpress /media/externalharddrive
# Symbolic link
$ sudo ln -s /media/externalharddrive/wordpress /var/www/wordpress
# Folder must belong to www-data
$ sudo chown -R www-data:www-data /media/externalharddrive/wordpress