Hi all,
I have a register domain e.g. example.com that I use for my website (reachable at example.com and www.example.com).
I need to make a CName record in CloudFlare to create a subdomain that redirects to one of my Outsystems apps, so that myapp1.example.com will redirect to the outsystems url for the app <myorganization>.outsystem.com/<myapp1>
What's the correct way to do it?
Thanks for your reply.
Hi Domenico,
Let's assume that your OutSystems tenant URL is example.outsystemsenterprise.com.
I'm in a bit of a rush, but there should be documentation on the OutSystems website. I'll post more later.
Best regards,
Sam
This is the official documentation for OutSystems, hopefully, this can help you with a custom domain
https://success.outsystems.com/documentation/11/setup_and_maintain_your_outsystems_infrastructure/setting_up_outsystems/use_your_ssl_domain_in_outsystems_cloud/
Hi,
thanks for your replies.
So If I get it right what I need to do is:
- Create a certificate for my domain example.com (*.example.com)- Upload it to Lifetime- Assign a the certificate to an Environment - Create a CNAME that points to the environment
By doing this the environments will not be reached with their current outsystems url (i.e. https://example.outsystemsenterprise.com/) but with the url I set on the CNAME (i.e. dev.example.com or prod.example.com), then the application will be reached with dev.example.com/app1 or prod.example.com/app1
Is that correct?
Is there a way to make the app reachable with app1.example.com
Thanks a lot!
Correct, you can add a custom domain name to an OutSystems environment.
For the URL without /app1, I don't know how to do this. I know there is something with SEO Friendly Url's but I've never used it.
https://success.outsystems.com/documentation/11/developing_an_application/search_engine_optimization_for_your_outsystems_apps/seo_for_outsystems_reactive_web_apps_vs_traditional_web_apps/seo_friendly_urls_for_reactive_web_apps/
Per my above instruction, sep #3, you can map for examples
- app1 to app1.example.com
- app2 to app2.exampe.com
This is extra information, once you have mapped the above, you can also browse to app1 via app1.example.com/app1, or app2.example.com/app1.