Accessing Lucee admin via FQDN

Hello.

N00b question time:
I’m trying to get Lucee working on a Windows Core server, which means I can’t remote desktop or use “localhost” to access the Lucee admin dashboards. Which it all seems to work fine on my other test machine that I can remote desktop to.
The problem I have is that the Admin overview page loads fine, but if I try to go to any of the pages from the menu (e.g. Settings, or Mappings), I get sent back to the login page and can never actually get to the page I want to.

My set up is mostly default (updated port to 80) and I’ve added and additional virtual host, but this happens whether I’ve got that host added or not.

Don’t forget to tell us about your stack!

OS: Windows Server 2019 Core
Java Version: OpenJDK 11.0.20 (whatever comes out the box with windows installer)
Tomcat Version: 9.0.78
Lucee Version: 5.4.3.2

give your os a name, like MyLuceeBox
bind that to an external adaptor
now the ip for that external adpator
on your local pc, (I assume is windows)
run cmd as administrator
run this:
ECHO %NEWLINE%^ExternalIpOfMyLuceeBox MYLucceBox>>%WINDIR%\system32\drivers\etc\hosts

after you run that verify you can ping MyLuceeBox, by name

Now restart your browser and use name MyLuceeBox:8888

This version has a bugfix for that issue. See:

2 Likes

Please try upgrading fo the latest stable version Lucee 5.4.3.15 Stable Release

1 Like

I’ve updated to that yesterday and can confirm it’s working as expected! Nice one, cheers!

1 Like