To add to what Juraj provided, from a technical standpoint, you'll need:
- 1 Xperience install, which consists of the Xperience code and a SQL database
- 2 sites. A single site consists of a definition in the Xperience UI under the Sites application and an MVC code base that will connect to the same SQL database as Xperience does.
- A base view to display a "hello world" example on each of the MVC sites.
- configure each site to use the proper Admin and Presentation URLs.
So when you have a 2 site setup you will have the following setup from a code and database standpoint:
- Xperience code base which connects to the Xperience database
- Xperience database
- 2 sites defined in the Xperience UI
- Site 1 MVC code base, which connects to the Xperience database
- Site 2 MVC code base, which connects to the Xperience database
Hopefully this helps your development setup and process.