Diogo Silva
Diogo Silva

Reputation: 330

How to have one domain serving frontend and backend?

Let's say I purchase the domain: "www.myapp.com". I'm planning to run a headless CMS on heroku and a Vue js frontend on netlify. How can I use the same domain for both apps? I would like something like this:

Is it possible with 1 domain? How do I approach this?

Upvotes: 0

Views: 773

Answers (1)

catmal
catmal

Reputation: 1758

In your domain provider panel you create backoffice.myapp.com subdomain and point CNAME record to heroku. And you set a CNAME record for www.myapp.com to netifly.

Instructions:

Netifly

Heroku

Upvotes: 1

Related Questions