Photo by Thomas Jensen on Unsplash

So, you’re building an awesome new multi-tenant (SaaS) app, but aren’t sure where to get started, right? Maybe you’ve started, but now need to be able to duplicate the app for multiple clients? Perhaps you’re the developer, or sysadmin, or even a marketing person or non-technical manager. In any case, you’ve likely found yourself trying to understand how everything fits together. I’m here to help explain it to you.

Note to Readers: This will be a fairly basic introduction to networking. If you already know what DNS and vhosts are, then you may not gain much from continuing. Of course, you’re always welcome to, but don’t say I didn’t warn you!

Additional note to Readers: The examples provided here will be focused around the Hyn Multi-Tenant package, and therefore may include references to PHP code or the Laravel framework. However, don’t be disheartened if you’re using another platform. A vast majority of the concepts discussed here are platform agnostic, so they should still apply.

Note about notes to Readers: Just checking that you’re still reading. You are, right? Good.