Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
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.