I build a website with react and I deployed it on azure. I build it and then deployed the build folder with vs code on azure. The process is actually very easy using vs code and the azure extension. It is explained well here .
So far so good everything worked fine. Now I needed to deploy the same app (the same build folder) but in another webApp. Basically, I needed to have separate versions of the app. So, I did the same things I did the first time (create webapp on azure -> deploy with vs code). However, I can't see my website when I go to the url. All I see is the default generated webapp, which is a dummy html page.
It looks something like this:
Hey, Node developers!
Your app service is up and running.
Time to take the next step and deploy your code.
Does anyone have explanation for this!? I mean I deployed literally the same build folder. I didn't change nothing. I can't see my website (I thought it may take some time but I waited for 9 hours now)
Things I ve tried :
I searched a lot and I ve seen some answers that it can be about some path or file in the azure configurations. However, I don't have anything in my configurations! Here are screenshots of my app configurations on azure
I appreciate any help! Thanks in advance.
The message you are getting is the standard message when the app service is created but nothing is deployed.
Possible explainations are:
Recently I got into same issue,
"engines": {
"node": "^12.16.3"
}
pm2 serve /home/site/wwwroot --no-daemon
You can also look at the log metrics after deploying or start the service. It will provide you info on the issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.