[Cppcms-users] Multiple Servers
Brought to you by:
artyom-beilis
From: Chris V. \(GMail\) <chr...@gm...> - 2017-10-29 19:08:23
|
Hi My setup is as follows: I have CPPCMS running with a main application, and it has a sub application as well. The main application is on the url root. E.g. Example.com is mapped to / The Sub Application (subapp) is mapped to Example.com/subapp So far so good. Now, the server has 2 IP addresses bound to the same network card. The cppcms config file binds on both addresses. And the site works with both IP addresses. I have 2 domains registered. One on each IP address. What I want to do, is to have the following: Example.com goes to the root. I.e. Example.com/ Example2.com should go to Example.com/subapp. And the browser should display Example2.com in the url. How do I get this done with cppcms? Regards |