Skip to content

Using a Custom Host

By default, JamComments loads assets and accepts comment submissions from go.jamcomments.com. If you prefer everything to come from your own domain — whether for stricter Content Security Policies (CSP) or just personal preference — you can set up a custom host.

Don’t enable this feature until you have URL rewrites configured. Without proper rewrites, your comment form won’t work — visitors won’t be able to submit comments.

  1. Go to your site’s settings in the JamComments admin
  2. Scroll to the “Custom Host” section
  3. Enter the domain (and optional path) you want to use

custom host in the JamComments admin

Valid formats:

  • your-site.com
  • blog.your-site.com
  • your-site.com/some/path

Saving will trigger a rebuild of your site (if you have webhooks set up), which is why you need those rewrites in place first.

Choose your hosting platform for specific instructions: