Before you take your site live, there are a few steps that will help you prepare the project.
Register your domain and choose a suitable DNS provider
If you plan on serving exclusively from a subdomain such as the historically common
www.subdomain, you will be able use any DNS provider that supports CNAME records. If you wish to use the apex domain, eg.
https://site.com, with no
www.subdomain, choose one of the specialized DNS providers that allow you to use ALIAS or ANAME records. Make sure to do this before moving on to the next steps, as the CLI will reject attempts to add domains that do not allow CNAMEs.
Test your routes
Test your application and make sure that all of your routes are functioning as you intended. Consult the routes documentation as well to verify that your
routes.yamlhas been properly written.
If any access restrictions have been enabled during development, be sure to remove them as well.
(Optional) Obtain 3rd party SSL if needed
Let’s Encrypt SSL certificates are automatically issued for Platform.sh projects at no charge to you. If you instead would like to use a 3rd party SSL certificate, make sure that you have purchased it and that it is active prior to going live.
Additionally, if your application uses wildcard routes, it will require custom certificates for them. You can manually generate the custom certificates through Let’s Encrypt or purchase them separately. We can not automate the generation of these since Let’s Encrypt does not support HTTP challenge for wildcard certificates.
After you have gone through the following checklist your application is ready to be taken live!