I have a SaaS platform where people can create their own white labeled job boards.
My main product domain is www.myproductdomain.com
When clients sign up they automatically get clientname.myproductdomain.com. They can also choose to use a custom domain by setting up a CNAME.
This means that every client by default has at least one domain, but could have two pointing to the same content if they choose to use a custom domain, i.e.:
clientname.myproductname.com<-- default subdomain on sign upwww.clientname.com<-- if they choose to setup a CNAME and have a custom domain
This essentially means there is duplicate content. In the above scenario, when Google hits the default clientname.myproductname.com domain, I do a 301 redirect to their custom domain. Does this seem problematic? Is there a better approach?