We deploy our applications before we deploy the domains DNS settings. Accessing the server without using a domain name presents the user with a page not found. Once the application is setup, we deploy the dns settings and issue the ssl certificate through letsencrypt and/or cloudflare.