# Creating blog site

**URL:** <https://discourse.nodered.org/t/creating-blog-site/6999>\
**Category:** General\
**Created:** [19 January 2019 03:41 UTC](https://discourse.nodered.org/t/creating-blog-site/6999 "2019-01-19T03:41:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amrutha](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@amrutha](https://discourse.nodered.org/u/amrutha)\
**Post date:** [19 January 2019 03:41 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/1 "2019-01-19T03:41:41Z")

</div>

i have followed steps in this guide for creating a blog site using MongoDB

[blogsite](http://noderedguide.com/node-red-lecture-6-example-6-9-creating-a-blog-site-with-node-red/)

After creating they are saying me to go to a webpage http://{username}.fred.sensetecnic.com/api/public/posts.  
But if i go to that page i cannot get my blog site.

please help me

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [19 January 2019 10:51 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/2 "2019-01-19T10:51:13Z")

</div>

did you change {username} to your username in the line http://{username}.fred.sensetecnic.com/api/public/posts?

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [19 January 2019 10:59 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/3 "2019-01-19T10:59:51Z")

</div>

What do the debug / error messages in Node-RED say?

---

<div class="post-metadata">

**Author:** ![amrutha](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@amrutha](https://discourse.nodered.org/u/amrutha)\
**Post date:** [21 January 2019 01:35 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/4 "2019-01-21T01:35:33Z")

</div>

yeah i have created the user name as blog and i used  
[http://blog.fred.sensetecnic.com/api/public/posts](http://blog.fred.sensetecnic.com/api/public/posts)

---

<div class="post-metadata">

**Author:** ![amrutha](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@amrutha](https://discourse.nodered.org/u/amrutha)\
**Post date:** [21 January 2019 01:36 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/5 "2019-01-21T01:36:25Z")

</div>

Initially I don't get any error. if i visit to the link http://{username}.fred.sensetecnic.com/api/public/post, I get the message "not found". After some time ,in the debug side bar, i get the message "mongodb Authentication failed"

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [21 January 2019 07:11 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/6 "2019-01-21T07:11:26Z")

</div>

> [@amrutha](#):
>
> i get the message "mongodb Authentication failed"

That's the error to focus on. Have you checked your mongodb authentication details?

---

<div class="post-metadata">

**Author:** ![amrutha](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@amrutha](https://discourse.nodered.org/u/amrutha)\
**Post date:** [21 January 2019 07:33 UTC](https://discourse.nodered.org/t/creating-blog-site/6999/7 "2019-01-21T07:33:26Z")

</div>

I recreated a new database, a new collection and a new user name and i used that.  
but still i get the page as "not found".

please help me find out the solution.

Thanks.
