英文:
WordPress on Azure Site Unavailable
问题
我决定尝试在Azure上托管我的WordPress网站。我成功地在免费套餐上运行了一个WordPress网站,并开始监控网站,准备将更多网站迁移到Azure。然好,我在度假期间,我想我的免费计划到期了,我的网站停止运行了。我已升级了我的计划并尝试重新启动应用程序,但现在我收到503错误,网站上只显示"服务不可用"。
日志都无法正常工作,我无法找出问题出在哪。有什么建议吗?
英文:
I decided to give Azure a try for my WordPress site hosting. I was able to successfully get a wordpress site running on the free tier and began to monitor the site in prep to move more sites over to azure. Well, while on vacation I guess my FREE plan ran out and my site stopped working. I have upgraded my plan and tried to restart the app, but now I get a 503 and the site just says "The service is unavailable."
None of the logs are working and I can't figure out what is wrong. Any advice?
答案1
得分: 1
503错误
是由于服务器当前无法处理请求,这是由于服务器的临时超载或维护引起的。
- 在Azure门户中,对于您的应用程序,您将看到停止或重新启动应用程序的选项,请重新启动应用程序。
-
检查应用程序日志,看是否有导致503错误的任何错误或问题。
-
如果为您的应用程序配置了应用程序网关日志,请进行检查。
-
还要验证后端的健康状况,并检查后端服务器是否存在任何问题。
-
扩展您的应用程序以提高性能和吞吐量。
Azure监视器
有关更多信息,请参考HTTP响应代码。
英文:
503 error
is due to the server is currently unable to handle the request, and it is due to a temporary overload or maintenance of the server.
- In Azure Portal, in your app, you will be seeing the options to stop or restart your app, Restart the app.
-
Check the app logs and see if there are any errors or issues that causing the error 503.
-
Check the application gateway logs if configured for your app.
-
Also verify the backend health and check for any issues with the backend servers.
-
Scale your app to improve performance and throughput.
Azure Monitor
For more information refer to the
HTTP response codes.
答案2
得分: 0
所以在我的情况下,我没有意识到这个网站正在一个与我之前升级的另一个网站不同的应用服务计划上运行。通过将这个网站的层级更改为B1,而不是F1,我能够让它再次正常工作。仍在学习Azure...
英文:
So, in my case, I did not realize that this site was running on a separate app service plan than the other site I previously upscaled. By changing the tier of this site to B1 instead of F1 I was able to get it working again. Still leanring azure...
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论