stephenmcd / mezzanine

CMS framework for Django
http://mezzanine.jupo.org
BSD 2-Clause "Simplified" License
4.75k stars 1.64k forks source link

How to serve different home page for different domains? #1993

Closed zzm88 closed 3 years ago

zzm88 commented 3 years ago

I have three sites host on the mezzanine project. It goes well except that three domains goes to the same home.html template, which it's not what I want. What I need is routing requests to its own home template. a.com -> home-a.html b.com -> home-b.html c.com -> home-c.html

rapto commented 3 years ago

You may try making home page a special page (see comments in your main urls.py) or using themes by site: http://mezzanine.jupo.org/docs/multi-tenancy.html

jerivas commented 3 years ago

Please use the mailing list for general help requests: https://groups.google.com/g/mezzanine-users