How Do You Point a Domain Name to a Subdirectory Under the Lucee Root?

Hi Everyone!

I have an AWS site running Apache, MySQL, Amazon Linux, and Lucee.
Everything works fine thanks to folks here!

Can someone tell me what I need to do to get my domain name to point to a
subdirectory within the Lucee root directory?

Here’s what I have:

Lucee root is:

/opt/lucee/tomcat/webapps/ROOT

Right now, my domain name “www.example.com” points to the Lucee root.
However, I want it to point to:

/opt/lucee/tomcat/webapps/ROOT/example

How do I set this up?

Thanks!***

PS…my earlier post describes how my system is set up to have Lucee handle
port 80 requests as follows:

Just for the record, here’s what I did:

1.) Edited the “/opt/lucee/tomcat/conf/server.xml” file and changed
“<Connector port=“8080” protocol=“HTTP/1.1”…” to “80” instead of “8888”
(thanks Hugh)

2.) Edited the “/etc/httpd/conf/httpd.conf” file and changed “Listen 80”
to “Listen 8087” (to make Apache not listen to port 80 traffic) (link
http://stackoverflow.com/questions/3940909/configure-apache-to-listen-on-port-other-than-80
)

3.) Created a new file “vhost.conf” in “/etc/httpd/conf.d/” (“cd
/etc/httpd/conf.d/” then “sudo touch vhost.conf”)

4.) Edit the new “vhost.conf” file and add the following into it and save:

<VirtualHost *:8079>
DocumentRoot /var/www/html
ServerName example.com
ServerAlias www.example.com
ServerAdmin root@example.com
ErrorLog logs/www.example.com-error_log
CustomLog logs/www.example.com-access_log common

I literally put the above into the file, including the “example.com” stuff.
I might need to change that later, but it works so hey!

5.) Reboot the system with “sudo reboot” and everything works!