Can I add multiple domains on App Platform

Hello, I run a saas where our customers can create a booking process. For this, the connection of an own domain is also possible. So it must be possible to point different domains to certain parts of the app. The customers can connect their own domains with an A record. Is that also possible here?

Thanks in advance :)

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It is possible to run multiple domains with App Platform. There are limits to the number of domains allowed by default. If you plan to run a SaaS style app with more than a few dozen, I recommend talking to our support/sales team. The App Platform also supports wildcard domains (ex. * which can be used to ease configuration of lots of subdomains.

As for routing, we pass in the original HTTP Host header with all requests. This should allow your application to differentiate a request addressed to from one addressed to If you need to route traffic from to your PHP service, and from to your Ruby service, we recommend splitting those into two apps. We have per-domain component routing within the same app on our road-map, but it’s not yet supported.

Lastly, you mention A records. App Platform domains are configured for with CNAMEs. For example, to create you would add a CNAME record for www with the target to your domain zone. For apex domains (without subdomains, ex., it’s necessary to use CNAME flatting (sometimes called A-NAMEs, or alias records). If the domain is managed by DNS, App Platform will automatically create the alias records. Not all providers support CNAME flattening; NameCheap, and DNSimple are known to work.