Contao can easily be installed on any add-on domain.
To install Contao on the main domain, please note the following:
-
To install Contao on your main domain, a workaround via a dummy domain is necessary. Our support will be happy to assist you!
-
You should not have created any email accounts on your main domain yet.
-
You should not have set up any sub-domains on your main domain.
-
Ideally, the public_html directory should be empty.
1. Create Database
Like every content management system, Contao needs a database. This is how you create a database including database users:
-
Access the helloly client area via my.helloly.com.
-
In the Dashboard, under "Your active products", you find your web hosting packages.
-
Next to the desired package click onto Log in to cPanel.
-
Navigate to the item Databases and select MySQL® Databases.
-
Under Create New Database enter an appropriate name (e.g. Contao) and click on Create Database.
-
Now scroll to MySQL user Add new user.
-
Assign an Username (e.g. Contao) and a Password and click on Create User.
-
Under Add user to database assign the newly created user to the newly created database and confirm with Add.
2. Install Contao Manager
The Contao Manager allows you to install Contao quickly and easily on your helloly web server.
-
Navigate to the download page and download the Managed Edition with a click on Download.
-
Within cPanel scroll to Files and open File Manager.
-
If you want to install Contao on your main domain, create a folder named public in the public_html directory.
-
If you want to install Contao on an add-on domain, navigate to the corresponding directory within the public_html directory and create a folder named public.
-
-
Navigate to the public directory. Use the Upload function to upload the previously loaded Contao Manager to the directory. After the Contao Manager has been loaded into the directory, add the file extension .php at the end of the installation file.
-
Access the Contao Manager by opening it under www.ihre-domain.tld/public/contao-manager.phar.php to open it.
-
Now follow the instructions of the Contao Manager.
3. Main Domain or Add-on Domain?
Contao stores the system-side part of the software outside the document root. Therefore, after installation, the document root must be set to the public subfolder that you have previously created.
With an add-on domain, you can change the document root yourself. However, if you would like to use Contao on your main domain, please contact our support.
4. Change the Root Directory of an Add-on Domain
-
Within cPanel scroll to Domains and click on Domains.
-
Next to the desired add-on domain click on Manage.
-
Under Update The Domain you will find the function New Document Root.
-
Enter the path to the previously created public folder.
-
Confirm with Update.
You have now successfully installed Contao!