Skip to content

2. Configure your blog

Mark Downie edited this page Feb 21, 2023 · 34 revisions

[IMPORTANT] After deploying DasBlog Core you should immediately change the default security settings.

1. Log in with default security

You can log in to your blog (.../account/login) with the following default sign in info:

2. Security settings (required changes)

Update the default credentials as soon as possible! To update the credentials login and navigate to the admin user page (.../users).

We only permit one user currently and its role must be set to "Admin" ("Contributor" role may get defined in future iteration of Dasblog Core).

These credentials can be used to open, edit and publish blog posts with with tools like Open Live Writer.

3. Admin Settings (required changes)

The Admin Settings page (.../admin/settings) also allow you to customize everything related to your site. We recommend you begin with the following sections:

  • Site Settings
  • Blog meta data
  • Social

Forgot your password?

If you can get to a command line in the root of your web deployment (typically wwwroot) you can reset the password to the above defaults.

Linux SSH: dotnet dasblog-core.dll resetpassword

Windows: dasblog-core resetpassword

4. CDN (optional changes)

You can configure a CDN endpoint for your blog. CDN stands for Content Delivery Network. This is an optional setup that requires you to subscribe to a CDN service.

Images in your blog posts without or with CDN

By default, your blog posts are hosted in the blog application /content folder in xml format. Any files you upload to your blog e.g., photos, and gifs are by default stored in the /content/binary/.

An alternative approach for the binaries is to configure a CDN solution. CDN is a service to which you add an endpoint referring to your binary folder. Your blog posts will not refer to the origin location for the files, but instead refer to another URL - a CDN domain.

When a file is uploaded along with your blog post, it will be stored as normal in the blog binary folder. However, the URL returned in the blog post will instead reference the CDN domain.

Configuring your blog to use a CDN

  1. Set up your CDN provider endpoint to refer to your site binaries.
  2. You can optionally set up a custom domain for your CDN.
  3. Configure the dasblog-core site.config file with your CDN settings.
    • Binary origin configuration: <CdnFrom>https://example.com/content/</CdnFrom>.
    • CDN alternative configuration: <CdnTo>https://cdn.example.com/content/</CdnTo>.

Note: A CDN solution will not work when you are running on localhost. The CDN cannot see your localhost.

Additional questions?

If you have additional questions or concerns please submit an issue.