I want to configure multiple domains to one site

how do you set up the example from your first option?