============================================================
Problem with one namespace on two domains (Netlify) [solved]
============================================================

.. raw:: html

   <table class="provenance-header" style="border: 0; border-collapse: collapse; margin: 0 0 16px 0; width: 100%;">

.. raw:: html

   <tr style="border: 0;">

.. raw:: html

   <td style="border: 0; vertical-align: top; padding: 0 24px 0 0;">

..

   | **Source:**
     https://meta.remarkbox.com/1d1e37e8-75a7-11ea-9325-040140774501/problem-with-one-namespace-on-two-domains-netlify-solved
   | **Snapshot:** 2026-07-16T01:49:59Z
   | **Generator:** Remarkbox ``dba4024``

   *This is a thread snapshot. The living document lives at the source
   URI above — it may have been edited, extended, or replied-to since.*

.. raw:: html

   </td>

.. raw:: html

   <td style="border: 0; vertical-align: top; width: 200px; text-align: right;">

.. figure:: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMQAAADEAQAAAADo3bPGAAAB+0lEQVR42t1YUaoCQQwrXiD3v2VvUJtkQBD8kcmHDjzdXWH6OkmTdms+rK4f/aWqMNXY6xqgesBH/ahP65tfduvZ3ae5+X7sVevR/TgFbo+u3nUSQiYOE9pIm4iyisWZxYP4LI4LWCjOgsFEmNTetu4D+JBcbyvCNy4YFCfmRxleNxhISG2I5d79OCQaRDZwf0bbw5wAPofV5MLiQtptrd6Pw5OjMoFluvct6t2PA7N5tychGFXVdJ8HPKUN1fpQYgjUaWlbwrQnZnwkp/fjjOQTZt/KKFMK8Fr1P4rElEZgBfRgz0r0HjmDiqgScVT9JJvcdUuJ9A7odVukG3JsllGEB3JsSLcpBCwfZhngG07nATYKlAOBdR8f9gRbNq2L6ePj9/FRHj0yVRI7lU+9JGFspwj4dgv1loSSDU25Q8K3mQHtAbaHE+p+HEoaZD0y8J5IPua0CHdacWIV8AV5nHStTsvP1jfAN08J8jmJdYZv6t9EOLUiY8kLnJuq0sNJW1E74QuwG/DLViTrnkz9jIFiUvxL6BuxoEqXDAEe7CqiozLTcqPjaSHENw5x7XGYo8Mk5qzz78MTg9o3AhaZS1qyxnDyuYnM9Tyk8WTPEurO9Aeag9XpKCuLXCif0QDkNt5WFJq3/YaCRlQI9dene/PbljFQGT/9p/diTzD4tN++sCfbAAAAAElFTkSuQmCC
   :alt: Scan for living source

   Scan for living source

.. raw:: html

   </td>

.. raw:: html

   </tr>

.. raw:: html

   </table>

Hi! I have a bit of a problem.

I have a website at
`csourcesc.github.io <http://csourcesc.github.io>`__, for which I set up
a namespace on Remarkbox. This website uses Netlify to do deploy
previews for its pull requests, and these are available at
``deploy-preview-<some number>--catsource.netlify.com``. And they have
the same embed snippet as the main site. But, the problem is, when
commenting on a deploy preview, I can't use the "dashboard". Or maybe
isn't that a problem, since I can do it directly on the site? But I
can't change settings then I guess.

russell — `Apr 03, 2020 10:11 am <https://meta.remarkbox.com/1d1e37e8-75a7-11ea-9325-040140774501/problem-with-one-namespace-on-two-domains-netlify-solved#0599e474-75b5-11ea-9325-040140774501>`__
===================================================================================================================================================================================================

If you have your own domain name, you could create a separate
``Namespace`` for each site.

For example:

-  ``www.example.com``
-  ``dev.example.com``

The ``dev`` domain could be a CNAME which points at the
``deploy-preview-<some number>-catsource.netlify.com`` record.

Alternatively you could create a separate ``Namespace`` for
``deploy-preview-<some number>-catsource.netlify.com``

Either way, each domain/site will need it's own ``Namespace`` and
separate code snippet.

I hope this helps and finds you.

Locness — `Apr 04, 2020 08:26 am <https://meta.remarkbox.com/1d1e37e8-75a7-11ea-9325-040140774501/problem-with-one-namespace-on-two-domains-netlify-solved#7fb38002-766f-11ea-9325-040140774501>`__
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I know this, but why was I able to comment on the deploy preview domain
with the code for the "normal" site?

russell — `Apr 04, 2020 09:22 am <https://meta.remarkbox.com/1d1e37e8-75a7-11ea-9325-040140774501/problem-with-one-namespace-on-two-domains-netlify-solved#585e9750-7677-11ea-9325-040140774501>`__
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

An invalid ``rb_owner_key`` in the snippet will still allow commenting
on the site to work, but it won't unlock moderation abilities for a user
until the code matches on both your website and on the back end. Each
domain in Remarkbox is expected to have it's own ``Namespace`` (and the
first step to that is each need their own ``rb_owner_key`` which happens
when you click ``setup`` and follow the prompts).

--------------

| **Source:**
  https://meta.remarkbox.com/1d1e37e8-75a7-11ea-9325-040140774501/problem-with-one-namespace-on-two-domains-netlify-solved
| **Snapshot:** 2026-07-16T01:49:59Z
| **Generator:** Remarkbox ``dba4024``
