For Github Pages should the Namespace web domain be the username.github.io or www.example.com?

sreeman 95d, 11h ago [edited]

I am using Github Pages. I'm wondering which domain name to use when registering on Remarkbox, should it be username.github.io or www.example.com?

Additionally, Where should I add the snippet? To a post or on the homepage (i.e. index.md).

hide preview

What's next? verify your email address for reply notifications!

russell 92d, 1h ago [edited]

Hey @sreeman -

You will definitely want to use the custom domain when registering with Remarkbox, but in fact you may register both, each will have it's own owner id so they will be treated as separate websites (for example, you could do your comment testing on the github.io domain before transitioning to the production domain)

I've never used Github pages before but it seems like it may host static web sites so any page you put the snippet will have the comment page appear. Depending on how you are building your web site's static pages will depend on if you may automatically add comments to a blog post article for example.

If you have a repository which I may look at I might be able to offer specific guidance on your HTML or static site generator.

Reach out here if you need more specific help: https://russell.ballestrini.net/contact/

Good Luck!

hide preview

What's next? verify your email address for reply notifications!