Multiple base URL's

Hey guys.

Is it possible to have multiple base URL’s for the same site or would I need to have multiple instances of the same site each with the different base URL on my machine?

For example having mywebsite.com and thiswebsite.com both as possible URL’s, and depending on which one you used to get to the site it uses that one as the base.

Thanks

you could use just / for generating websites

Why would you have 2 sites with the same contents? Have one redirect to the other at the DNS level?

I would like to have just 1 site, but accessible over tor and clearnet. This requires 2 different addresses though and I’m not sure how to deal with the base_url in a way to accommodate both without having to create the site twice.

Thanks, this does exactly what I need.