Ewetoye, Ibrahim
Mathsend Blog

Mathsend Blog

How to Create Multiple Subdomains from the Same Flask Blueprint

Showing how to reuse a blueprint for several subdomains

How to Create Multiple Subdomains from the Same Flask Blueprint
Ewetoye, Ibrahim's photo
Ewetoye, Ibrahim

Published on Aug 16, 2021

1 min read

Sometimes, your apps may be required to display the same template, but different or still the same values. A concrete example may be that you want your users to have different subdomains, something like ibrahim.ewetoye.com and anotherperson.ewetoye.com.

The most basic implementation of such a scenario is shown here.

 
Share this