• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Issue a new subdomain sometimes redirect to main domain

dblii

New Pleskian
Hi a new subdomain sometimes redirect to main domain. any other had in the past similar problem? and some other times the page load normally and if i reload i get this page Screenshot this happens very offen each second reload.

Thanks in advance
 
This can be caused by on-the-fly generation of images or other static files. On the first request, Nginx forwards it to Apache, and an .htaccess rule converts the seemingly static file request to a script call. The script generates the content, returns it to the browser and everything is fine. Now, on furthe requests, Nginx cache remembers that it has served that static file before and now tries to serve the content from cache. However, this is not a physical static file, so there is no cached content and the physical location of the file cannot be accessed (because there is no physical location). This can lead to the 404 not found error.

You can try to disable Nginx caching and also set Nginx to exclude static file extensions for the files that are causing the not-found-error.
 
Back
Top