Creating and Setting Up DOmain for New App

Hi, I have created a new app. I would like to know how can I include create of Domain on the setup of app. Also, I would like to add such domain in the setup wizard. Is it possible?