Deploying with Docker in EC(AWS)

Enonic version: 6.10.3
OS: Linux

Hi, I am trying to deploy a Docker image with Enonic XP in an EC instance (AWS).

After having some problems with the vhost mapping, I realised I can set up the login page, but can’t access a published page. It works fine in my localhost, maybe I’m missing a configuration? I don’t discard a blunder from my part, I’m new to these things.

So, with the vhost mapping (home/config/com.enonic.xp.web.vhost.cfg) disabled I get this:

Enabling the vhost mapping I only get 404, this is what my config looks like:

enabled = true

mapping.a.host = [XXXXXXXX]-243.compute-1.amazonaws.com
mapping.a.target = /secretlink123
mapping.a.source = /
mapping.a.userStore = system

mapping.b.source = /
mapping.b.target = /portal/master/acme-wireframe
mapping.b.userStore = whatever

But then again, it works on my computer.

Sorry if I didn’t explain myself correctly, I’ll provide more info. Any pointing to the right direction would be very much appreciated, thank you.

I found out that the problem is with Docker, so I’m doing something different now. You can close this topic, thanks.