How to configure DNS to serve site-a.com, site-b.com using code at site-c.com

What is the name of the domain?

art-mojocom, race-mojocom

What is the issue you’re encountering

Configuring Cloudflare to have multiple domains serving from a single code base.

What feature, service or problem is this related to?

DNS records

What are the steps to reproduce the issue?

I currently have art-mojo.com and race-mojo.com. Both are using the same code base (art-mojo.com) To do this I have created 2 Cloudflare accounts that resolve to the same ip address. Is there a way to serve multiple domain names from one CF account?

There isn’t a way to have two domains on one zone, but depending on what you are trying to accomplish there are several options.

The two that come to mind would be a CNAME which has the least amount of customization and control, or using Redirects which would allow you very granular control in how it functons.

1 Like

You can have more than one domain in the same Cloudflare account. As @ncormier described, each domain will have its own zone (or site) in your Cloudflare account.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.