Set your domain
You will need to configure your registered domain on your Platform.sh project before going live, and you can do that either through the management console or by using the CLI.
Now that you have changed your project to a production plan, you can click the same “Go live” button at the top of the project page. Alternatively, you can click “Settings” at the top of the page, and then visit the “Domains” section on the left.
Click the “Add+” button in the top right hand corner of the page, enter your registered domain and select if you want it to be the default domain for the project. You can add multiple domains to a project, but only one can be set as the default.
When you’re finished, click “Add domain”, and the project will once again redeploy to apply your changes.
You can also add a domain to your project using the Platform.CLI. From a terminal window, type the command
platform domain:add example.com --project <project ID>
The CLI will validate your registered domain and provision Let’s Encrypt certificates for it.