Skip to main content
Node.js

How do I activate Node.js?

Boris Beeli avatar
Written by Boris Beeli
Updated over 2 years ago

Node.js requires a Hosting Business offer.

You can activate Node.js in your web.config by adding the handler "iisnode".

If the web.config file does not exist, you need to create it.

Example of a newly created configuration file:

  <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="iisnode" path="HelloWorld.js" verb="*" modules="iisnode" />
</handlers>
</system.webServer>
</configuration>

Hint:

Visualstudio creates the necessary web.config automatically.

Did this answer your question?