How can I create different environments with subdomains?

Posted 3 years ago by SergioGregorutti

Hi all,

I have a Laravel application and I was wondering how can I create a dev and stage environment.

I mean, for example if I have www.myapplication.com I want a dev.myapplication.com and stage.myapplication.com with different deployment script, ddbb and environment variables for each domain but with the same application.

Im not sure how can I do this. Im using GoDaddy for my domain, Laravel Forge + Digital Ocean.

Anyone have an idea of how can I figure out this?

Thanks in advance!

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