deploy next js on iis web server

preview_player
Показать описание
Briefly explained about create a next js app, install IIS on windows, setup IIS web server and deploy next js demo app on IIS web server.
usefull links:
Рекомендации по теме
Комментарии
Автор

Thanks a ton Ardi for this video! I don't know how you managed to figure out all these configs!

jagpreetsingh
Автор

Thanks for your time sharing this excellent information.

marioortiz
Автор

Thank you very much. You saved my day :)

hariharanpanneerselvam
Автор

you saved my life haha, thank you very much!

carlossluzala
Автор

Thanks Ardi, its working properly, one doubt, all code need to move published folder or publish next js files enough?
any thanks for your support

kshinfotube
Автор

Thank you very much for the videos. I have a problem it work very fine in my computer but when i want to access from another computer i have error "HTTP Error 404. The requested resource is not found". Please a solution ?

kevindoumbe
Автор

Thank you friend, you are just super! Can I ask you to shoot a video of further configuring IIS + Next.JS? Requests and responses, using any API, I would really appreciate it and catch up with your audience!

АлександрИльясов-пш
Автор

hey @Ardi Nasiri, quick question. I need to deploy the app inside a server, Do i need to copy the whole folder including node_modules to the server or I can ignore that folder. Thanks for this amazinf tutorial

mrbamboo
Автор

hi thank you, my application pool stopped when I was browsing. Please any help is appreciated.

cfuvcdn
Автор

Can i use Next js Api routes and getStaticPath and getServerSideProps with IIS NODE?

_danisson
Автор

it's not working for my iis, instead of running on port 8080 (assign by iis), the nextjs app run on port 3000 (configured in code)

thang
Автор

Thanks Ardi, it works fine hosting it on IIS. However, there seems to be some issue when deploying it as a sub application under a website. Do you encounter any problems while deploying it under a website?

CourseLearner
Автор

It is not working for me Anyone pls help

m.n.rohidh
Автор

legend. great info. I follow the same in the video I stuck how did you make the server active, After I searched I found there is a node service which can make it alive. But the IIS part didn't work for me. can you do a same topic but explain verbally the steps. Also I am wondering is there is any way that we can not expose the source code when deploying ?! create-react-app has it build folder which is very easy to deploy and lightweight. can we have the same for Nextjs?

kamalmohamed
Автор

People have asked my questions but he hasn't replied. The Get is not working in IIS, works fine in local. For ex, I have created nextJs api (server.get() in server.js file) but getting error 404 when its called. In fact, i am getti g 404 even for favicons

mrchauhan
Автор

Please do you have an updated version next export is no longer recognized. Also I'm using a dynamic route do you have an example with that in consideration,

Thank you

FullStackDevGreg
Автор

how would you add nextJS into an existing IIS site, written in ASP Classic, to help with migration to React?

phillucks
Автор

why you point the location of website to root project, shouldn't be in .next folder!, server.js to!

shahroozbazrafshan
Автор

Thanks for this video!I got a issue about how to use https with next.js in iisnode, do u have any idea?

q
Автор

I'm trying to follow this tutorial on windows server inside azure VM but I'm stuck at the iisnode internal server error.

The windows features are different, it doesn't exist a category of Internet... Do you have any idea what could I do to make it work?


This is the error message:

[DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

ocodista