Getting started with a VPS with OnlyOffice Docs

Follow the steps below to order a VPS with the OnlyOffice Docs Community Edition. You can use this VPS with OnlyOffice Docs in conjunction with Nextcloud, for example, to edit Documents and Spreadsheets online. You can try a demo HERE.

Note: You need a working Nextcloud environment in addition to this VPS with OnlyOffice Docs. Haven’t you got that yet? Then activate it here.

Order a VPS with OnlyOffice Docs

Visit https://hosting.nl/products/vps/appstore/onlyoffice/ to set up a VPS with OnlyOffice Docs. A minimum of 2GB of RAM and 32GB of disk space is recommended. Select as Operating System / Operating System Ubuntu 22. Under Software Installation, choose OnlyOffice.

As the name of the VPS with OnlyOffice Docs, enter a subdomain such as documents.yourdomainname.com

Find out the secret key and activate SSL

To start using OnlyOffice externally, you need the secret key (JWT). In addition, it is necessary to set up a secure connection.

Find out the secret key

  1. Log in via SSH to your VPS with OnlyOffice Docs using these steps
  2. Once logged in via SSH, run the following command

sudo cat /etc/onlyoffice/documentserver/local.json | grep string | head -n 1 | awk {'print $2'} | tr -d '"'

Note the secret key shown. Don’t log out yet.

Activate SSL

  1. In the DNS, point documents.yourdomainname.com to the ip address of the VPS with OnlyOffice Docs
  2. Via SSH, execute the three commands below. Replace voornaam@domeinnaam.nl with your own e-mail address and documents.yourdomainname.com with your previously conceived subdomain.

sudo snap install --classic certbot
sudo ln -s /snap/bin/certbot /usr/bin/certbot
sudo bash /usr/bin/documentserver-letsencrypt.sh voornaam@domeinnaam.nl documenten.jouwdomeinnaam.nl

After running these commands, you know everything is working if you can visit https://documenten.jouwdomeinnaam.nl in and see this page:

Now follow these steps to connect OnlyOffice to Nextcloud

Need help from one of our hosting gurus?

Do you need an urgent answer to a question or help from our support? Our hosting specialists are more than happy to assist you!

Customer Support Team

Our customer service is open until 18:00 hour

Of neem een kijkje in onze 'stap-voor-stap' support handleidingen.

View support articles