There are multiple ways to access the Lucee admin for your website, which may or may not be enabled by default. This guide explains how to open up access to the Lucee admin without defining a port, via URLs such as https://<yourdomain>/lucee/admin/server.cfm and https://<yourdomain>/lucee/admin/web.cfm . This is the required method of access if your site is behind Cloudflare, and also allows the connection to be secured with SSL.
Step 1: Log into the Virtualmin console via https:{your-server-name}.viviotech.us:10000
Step 2: Navigate to Webmin - Servers - Apache Webserver
Step 3: In the Apache Webserver menu, navigate to Global Configuration and then click on Edit Config Files, as shown in the example below:
Step 4: In the drop-down menu, select /etc/apache2/mods-available/modcfml.conf and locate the block of text starting with <Location /lucee/admin> . This is where we will be making our changes, as shown below:
In the example above, the Lucee admin is being blocked by default, and two things are manually allowed in: the localhost IP, and a subnet of IPs for our support to use.
Step 5: The edit you make to this block depends on your use case:
If your site is behind Cloudflare, you must use option b. |
Step 6: Once you have made an edit to this page, click the Save button.
Step 7: You will need to restart Apache in order for the change to take affect. To do this, navigate to System - Bootup and Shutdown
Step 8: Locate the service called apache2.service. It may help to use the filter in the top right to narrow your options.
Step 9: Click the checkbox for apache2.service, and then click the Restart button, as in the example below:
Step 10: Congratulations! You should now be able to access the Lucee admin via https://<yourdomain>/lucee/admin/server.cfm and https://<yourdomain>/lucee/admin/web.cfm
cPanel does not offer a way to edit these files through their control panels, so we will need to connect to the server via SSH, and make changes in the command line. See https://kb.viviotech.net/display/KB/How+to+use+SSH+to+access+your+Linux+server+from+Windows for more information on getting connected. |
Step 1: Connect to your server via an SSH client. The login information can either be found in your welcome letter, or by logging into your Portal account: see https://kb.viviotech.net/display/KB/How+to+Find+the+Passwords+for+Your+Vivio+Services for details.
Step 2: Open the file /etc/apache2/conf.d/mod_cfml.conf using a text editor. For this example, we will be using nano:
sudo nano /etc/apache2/conf.d/mod_cfml.conf |
Step 3: Locate the block of text starting with <Location /lucee/admin> . This is where we will be making our changes, like in the example below:
Step 4: The edit you make to this block depends on your use case:
If your site is behind Cloudflare, you must use option b. |
Step 5: Once you have made your changes, press ctrl + o to save, and enter to confirm.
Step 6: After saving, press ctrl + x to exit.
Step 7: You will need to restart the Apache service for the changes to take affect. In cPanel servers, the service is named httpd and can be restarted using the following command:
sudo service httpd restart |
Step 8: Congratulations! You should now be able to access the Lucee admin via https://<yourdomain>/lucee/admin/server.cfm and https://<yourdomain>/lucee/admin/web.cfm
Step 1: Congratulations! This is open by default on Windows, so you should be able to access the Lucee admin via https://<yourdomain>/lucee/admin/server.cfm and https://<yourdomain>/lucee/admin/web.cfm
If you're encountering any issues that you would like our team to help investigate, we'd be happy to assist you via our SysOps Support. Let us know how we can help!
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|