Score:0

2 domains 1 Ubuntu 2 Spring servers

ru flag

I have 2 domains reditected (using A record) to one IP where Ubuntu server lives. All incoming requests go to running Spring Boot on port 80 (which works now). But I would like to run 2 Spring Boot apps. The first one for request using domain1.com and the second for requests using domain2.com.

Any ideas?

ar flag
Which version of Ubuntu are you using?
ru flag
Server runs on Ubuntu 18
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.