Join the community today
Register Now

Nginx Uncaught DOMException Failed to set the 'domain' property

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by skringjer, May 22, 2020.

  1. skringjer

    skringjer NoobMaster69

    Apr 21, 2019
    Local Time:
    12:16 PM
    Nginx 1.21.6
    MariaDB 10.3.x
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 6 64bit 7.8
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.17.10
    • PHP Version Installed: v7.3.18
    • MariaDB MySQL Version Installed: 10.3.23-MariaDB
    • When was last time updated Centmin Mod code base ? : Auto cron updates
    • Persistent Config:
      Code (Text):

    So i am running a cloud storage app, that stores files in my fileservers, All the fileservers have their own subdomains and connected to the main script.

    Files are uploaded through main site to the file servers, the main site makes requests to the fileservers.

    Normally all my file servers were on the same subdomains, eg:

    But now i changed the domain on the file servers for some reason, eg;

    Now as you can see the file servers domain is completely different and so are the subdomains, problem is when my main site makes request to the fileservers they are blocked and cant be processed.

    This is what i see in console Screenshot

    Uncaught DOMException: Failed to set the 'domain' property on 'Document': '' is not a suffix of ''.