Is there a way to setup Ghost WITHOUT passing the domain in?

I’m looking to use CloudFormation to setup Ghost but at the time the instance is being setup (ghost-cli) we do not yet know the random public dns it will be given. Is there a way to get ghost to setup without specifying the domain so that it just works with whichever domain its given?