Hi all.
I've spend the day trying to get this set-up to no avail. The examples I've found online so far seem geared towards slightly different use cases than my own, which could be the cause of this. I've resorted to starting again from scratch, with a working PVE host.
Now, as the title states, I have 1 public IP address (dynamic, but I'll worry about that later), yet I'd like to have two separate web servers. They host the same application, but the app doesn't support multiple users. A very rough set-up is:
HOST - PVE: 192.168.1.200 (current IP)
- CT1: one.domain.com, IP such as 192.168.0.1 / 10.1.1.1 etc etc. (whatever works)
- CT2: two.domain.com, as above X.X.X.2
The two of them require both port 80 and 443. The general consensus seems to be to use the bridge to assign both containers their unique internal IP, then to have Nginx on the host (pve), direct requests to each one, depending on the subdomain used.
Would anybody be able to point me in the right direction? I do hope to document the process, which I would like to think could help people like myself in the future, so there's some sort of benefit to chipping in if at all possible.
Thank you in advance for any help provided. It is always appreciated.
I've spend the day trying to get this set-up to no avail. The examples I've found online so far seem geared towards slightly different use cases than my own, which could be the cause of this. I've resorted to starting again from scratch, with a working PVE host.
Now, as the title states, I have 1 public IP address (dynamic, but I'll worry about that later), yet I'd like to have two separate web servers. They host the same application, but the app doesn't support multiple users. A very rough set-up is:
HOST - PVE: 192.168.1.200 (current IP)
- CT1: one.domain.com, IP such as 192.168.0.1 / 10.1.1.1 etc etc. (whatever works)
- CT2: two.domain.com, as above X.X.X.2
The two of them require both port 80 and 443. The general consensus seems to be to use the bridge to assign both containers their unique internal IP, then to have Nginx on the host (pve), direct requests to each one, depending on the subdomain used.
Would anybody be able to point me in the right direction? I do hope to document the process, which I would like to think could help people like myself in the future, so there's some sort of benefit to chipping in if at all possible.
Thank you in advance for any help provided. It is always appreciated.