I want create one Drupal 8 website (one database) with changing contents depending of the URL the user used, I mean:
- If the user goes to the main URL
http://foo.com
, the main page of the website is loaded and contains some content generated for thehttp://foo.com
URL - If the user goes to the main URL
http://faa.com
, the main page of the website is loaded and contains some content generated for thehttp://faa.com
URL
I can manage that with Apache settings. But how can I configure Drupal? If a user uses the URL http://foo.com
and then, he goes to the subpage /test
, the URL must become http://foo.com/test
.
But, if a user goes to the site with the URL http://faa.com
and then, he goes to the subpage /test
, I want the base URL still http://faa.com
(http://faa.com/test
).