Hi umbi,
I would try:
On local ticket.domain.com server:
- In Server Manager, make sure the DNS NameServer is pointing to: Internet servers.
On main server:
- In Server Manager: make sure you have no domain: ticket.domain.com
- At the console:
db domains set ticket.domain.com domain
db domains setprop ticket.domain.com Nameservers internet
db domains setprop ticket.domain.com ProxyPassTarget http://192.168.x.2/ #### (change the x)
db domains setprop ticket.domain.com TemplatePath ProxyPassVirtualHosts
signal-event domain-create ticket.domain.com
db domains show
At the registrar of domain.com:
- Add Cnames (all of them pointing at @):
...
ticket.domain.com
http.ticket.domain.com
https.ticket.domain.com
www.ticket.domain.com
...
* The emails from the Internet going to ticket.domain.com will be received by domain.com; the reverse-proxy is only for http. Make sure the users are created on both servers.
** Also, ticket.domain.com will be accesible from the Internet so, check the security.
*** When everything will be working, you can add a Let's Encrypt certificate to ticket.domain.com.
Hoping it will help you,
Michel-André