Follow this procedure, to create a new DocumentRoot for your website.

Prerequisites:

• The server/VPS should be set up with apache-mpm-itk

Log in to the server/VPS

Log in to the server via SSH:

Change to the toplevel web directory

Our default toplevel web directory is /srv/www.

Make a new directory for the website DocumentRoot

Use a descriptive name for the directory – we’re using the domainname example.com in the example above. This directory is where you upload your php files to.

Skriv et svar