If you are running a large project such as a website or ansible server you will want to test new features before pushing them into production then something like the following setup may work for you.
For this example imagine your url is mysite.ca and you want a development/staging site on a subdomain which is dev.mysite.ca
Create the website's domain and subdomain