WordPress Multisite with Gatsby
In this post I want to share my experience on how to setup multiple domains with one WordPress instance via Gatsby.js and Netlify. Although the post is describing the process using Netlify, the same high-level approach can be made with other deployment tools/ services.
Because I need to set that endpoint dynamically, I've configured it to receive an environment variable, like this:
Than I am just typing the value I do need.
That's all. Simple as that.