Note: please note that Liferay has renamed its Liferay Experience
Could offerings to Liferay SaaS (formerly LXC) and
Liferay PaaS (formerly LXC-SM).
Issue
- When going Live on Liferay SaaS, one of the steps that is required is to create a CNAME record for the domain associated with the project (<yourprojectid>.lxc.liferay.com), which is provided during the provisioning process.
- Some DNS providers do not offer CNAME records to base domain names.
Environment
- Liferay SaaS
- Liferay DXP 7.4
Resolution
- Although it is best practice and an industry standard to use the CNAME record when setting up the domain for Liferay SaaS, sometimes it is not possible to follow that recommendation due to different extenuating circumstances.
- In those cases, Liferay SaaS can also be setup to work with an A record that is connected to a IP Address.
- The downside for using the A record instead of the CNAME record is that it affects disaster recovery capabilities.
- If using the CNAME record, in the event of a severe GCP outage, Liferay can handle everything on our end to restore service
- However, if using an A record, tighter collaboration is required between Liferay and the customer. In the event of a severe GCP outage, Liferay would need to request the customer to update the A record to a potentially new IP address before the service can be restored.
- To implement this, the A record just needs to point to the appropriate IP address, and then the customer can update the virtual host name in the portal site configuration to match.