Note: This requires access to DNS records, an option to create subdomains or 2 separate domains, make sure You have that covered.
For production environments SSL is required, make sure Your backend domain / subdomain is protected with it, netlify makes it easy to maintain and free to use for the frontend part.
Steps required for proper DNS setup:
Lorem ipsum…
1.1. Backend DNS records
1.2. Frontend DNS records
Lorem ipsum…
2.1. .Backend DNS records
2.2. Frontend DNS records