I contacted Zimbra support and Santosh Rao helped me solve the issue. The http error was solved by doing the following.This basically re-initialized the wiki account.
zmprov gacf zimbraNotebookAccount
zmprov ga <account_name_from_above> | grep -i mailhost
What I would like to test is to re-initialize the wiki account and test the behaviour again :
$ zmprov mcf zimbraNotebookAccount
wiki.1@domain.com
$ zmprov in
wiki.1@domain.com
$ zmprov impn
wiki.1@domain.com /opt/zimbra/wiki/Template Template
Restart the mailboxd service :
zmmailboxdctl restart
After running these commands I still had the problem of the server asking for login credentials when a user would create or view their own document.
Santosh had me check the virtual host setting in the admin console
Admin console > Domains > foo.com > Virtual Host > (I added server.domain.com here) and it worked.
I want to say again that Zimbra Network Support " Santosh Rao" helped solve this problem.
Thanks,
Dale