Ewetoye, Ibrahim
Mathsend Blog

Follow

Mathsend Blog

Follow

How to Create Multiple Subdomains from the Same Flask Blueprint

Showing how to reuse a blueprint for several subdomains

Ewetoye, Ibrahim's photo
Ewetoye, Ibrahim
·Aug 16, 2021·

1 min read

How to Create Multiple Subdomains from the Same Flask Blueprint

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