Redirect root to a subdirectory

As an example, to redirect to, follow these steps:

  1. Log into NethServer via SSH

  2. Run the following command to create the index.html file and insert contents:

    vi /var/www/html/index.html

  3. Paste contents:

<html><head><meta http-equiv=Refresh content="0;url=/owncloud/"></head></html>

Press escape and then :x to exit saving changes

Change /owncloud/ to whatever sub directory you want to forward root to.