简体   繁体   English

将根文件夹目录分配给 web 根 (public_html) 文件夹而不是 web 根中自己的域文件夹是否很糟糕?

[英]Is it bad that the root folder directory is being assigned to the web root (public_html) folder instead of its own domain folder within the web root?

The current site I'm working on gets random inconsistent 503 errors and just crashes for the next few minutes.我正在处理的当前站点出现随机不一致的 503 错误,并在接下来的几分钟内崩溃。 Noticed that in the file manager instead of there being a folder for the domain itself, it is just dumped directly into the webroot folder, the public_html.请注意,在文件管理器中,域本身没有文件夹,而是直接转储到 webroot 文件夹 public_html 中。 Could this be an issue or at least part of the issue?这可能是一个问题或至少是问题的一部分吗?

That is not uncommon.这并不少见。 This could be caused by things like lack of memory, storage space or even the server/site getting overloaded with requests.这可能是由于缺少 memory、存储空间甚至服务器/站点因请求而过载等原因造成的。

I would try increasing memory on WordPress first and checking storage space.我会先尝试在 WordPress 上增加 memory 并检查存储空间。 As well, if you can see the server logs they may give you a direct answer to the cause.同样,如果您可以查看服务器日志,它们可能会直接为您提供原因的答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM