Welcome to Centmin Mod Community
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 Member

    139
    15
    18
    Apr 21, 2019
    Ratings:
    +29
    Local Time:
    8:17 PM
    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):
      LETSENCRYPT_DETECT='y'
      

    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: fs1.maindomain.com

    But now i changed the domain on the file servers for some reason, eg; fs1.newdomain.com

    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

    Code:
    Uncaught DOMException: Failed to set the 'domain' property on 'Document': 'maindomain.com' is not a suffix of 'fs1.cdnrobot.xyz'.https://newdomain.com/.............