Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Simple Dynamic Site with Node.js Creating a Simple Server in Node.js HTTP Servers

Thom Benjamin
Thom Benjamin
10,494 Points

So, can you also use a NodeJS server to host your own websites?

Or is a NodeJS server different from a server that hosts websites? And can you also claim a domain name with this?

1 Answer

Adrien Nhem
seal-mask
.a{fill-rule:evenodd;}techdegree
Adrien Nhem
Full Stack JavaScript Techdegree Student 6,162 Points

NodeJS is different from a server that hosts website. Let's say you are building a website, you would have to select a hosting service like AWS, Digital Ocean, or Heroku. You can then rent physical servers from those services and host a version of NodeJS on those servers.