Domain Types
Single Domain
In most cases, you will probably only need to use a single domain, such as example.com. when we have multiple services, we can use a subdomain like app.example.com. swag is configured for use with a single domain by default
Sub-Domains
Sub domains are a way to host multiple applications or services from the same domain. Such as app.example.com.
While sub folders such as example.com/app can be used, they can require extra configuration. Most apps support Sub-Domains by default. These are great for building a community around the same name, such as forum.example.com and blog.example.com with example.com being your primary website.