joerucci
6 months ago
901
6
Servers

Staging environment with custom subdomains?

Posted 6 months ago by joerucci

What would be the best approach for setting up a staging environment that also factors in custom subdomains?

For example, typically I would create an A record for "staging.mydomain.com" that points to my staging environment and an A record for "mydomain.com" that points to my production environment.

Now what to do when offering users their own custom subdomains...

user-1.mydomain.com, user-2.mydomain.com

or

user-1.staging.mydomain.com, user-2.staging.mydomain.com

What would these sort of A records look like considering SSL certs and configuration in Forge?

Would it just be easier to create a separate domain and purchase a separate SSL altogether? Like "staging-mydomain.com"?

Please sign in or create an account to participate in this conversation.