-
-
Notifications
You must be signed in to change notification settings - Fork 196
2. Configure your blog
[IMPORTANT] After deploying DasBlog Core you should immediately change the default security settings.
You can log in to your blog (.../account/login) with the following default sign in info:
- email: [email protected]
- password: admin
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.
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
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
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.
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.
- Set up your CDN provider endpoint to refer to your site binaries.
- You can optionally set up a custom domain for your CDN.
- 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>
.
- Binary origin configuration:
Note: A CDN solution will not work when you are running on localhost. The CDN cannot see your localhost.
If you have additional questions or concerns please submit an issue.