{
  "domains": {
    "aethex.co": {
      "purpose": "Primary corporate site",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "marketing"]
    },
    "aethex.app": {
      "purpose": "Main web application (OS interface)",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "os", "auth"],
      "priority": "primary"
    },
    "aethex.network": {
      "purpose": "Default API base and network services",
      "target": "api-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["api", "websocket"],
      "priority": "primary"
    },
    "aethex.net": {
      "purpose": "Network infrastructure and services",
      "target": "api-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["api", "cdn"]
    },
    "aethex.foundation": {
      "purpose": "Foundation and community site",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "community"]
    },
    "aethex.education": {
      "purpose": "Educational platform and courses",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "learning"]
    },
    "aethex.tech": {
      "purpose": "Auth service (Passport endpoints)",
      "target": "auth-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["auth", "oauth"],
      "priority": "primary"
    },
    "aethex.cloud": {
      "purpose": "Services layer (Sentinel, Bridge, Kernel)",
      "target": "services-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["api", "kernel", "sentinel", "bridge"],
      "priority": "primary",
      "subdomains": {
        "kernel.aethex.cloud": {
          "purpose": "OS Kernel API server",
          "target": "railway-deployment",
          "services": ["kernel", "api"]
        },
        "api.aethex.cloud": {
          "purpose": "Primary API gateway",
          "target": "api-server",
          "services": ["api"]
        },
        "cdn.aethex.cloud": {
          "purpose": "Static assets CDN",
          "target": "cdn-server",
          "services": ["cdn", "static"]
        }
      }
    },
    "aethex.fun": {
      "purpose": "Gaming and entertainment features",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "gaming"]
    },
    "aethex.info": {
      "purpose": "Documentation and knowledge base",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "docs"]
    },
    "aethex.studio": {
      "purpose": "Foundry bootcamp platform ($500 training)",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "training"],
      "priority": "primary"
    },
    "aethex.bio": {
      "purpose": "Personal profiles and architect bios",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "profiles"]
    },
    "aethex.site": {
      "purpose": "Site builder and templates",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "builder"]
    },
    "aethex.locker": {
      "purpose": "Secure storage and vault services",
      "target": "services-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["storage", "vault", "api"]
    },
    "aethex.me": {
      "purpose": "Personal user spaces",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "profiles"]
    },
    "aethex.space": {
      "purpose": "Metaverse and virtual spaces",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "metaverse"]
    },
    "aethex.id": {
      "purpose": "Identity and authentication hub",
      "target": "auth-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["auth", "identity", "oauth"]
    },
    "aethex.online": {
      "purpose": "Online presence and status",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "status"]
    },
    "aethex.blog": {
      "purpose": "Blog and news platform",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "blog"]
    },
    "aethex.shop": {
      "purpose": "E-commerce and marketplace",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "commerce", "stripe"]
    },
    "aethex.bot": {
      "purpose": "Bot services and AI agents",
      "target": "api-server",
      "ssl": true,
      "redirectTo": null,
      "services": ["api", "bot", "ai"]
    },
    "aethex.live": {
      "purpose": "Live streaming and real-time events",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "streaming", "websocket"]
    },
    "aethex.dev": {
      "purpose": "Developer portal and API docs",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "docs", "api"]
    },
    "aethex.pro": {
      "purpose": "Professional tier and premium features",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "premium"]
    },
    "aethex.us": {
      "purpose": "US region specific services",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "regional"]
    },
    "aethex.support": {
      "purpose": "Help desk and customer support",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "support", "tickets"]
    },
    "aethex.biz": {
      "purpose": "Business solutions and enterprise",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "enterprise"]
    },
    "aethex.sbs": {
      "purpose": "Side-by-side collaboration tools",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "collaboration"]
    },
    "waitlist.aethex": {
      "purpose": "Waitlist and early access",
      "target": "web-client",
      "ssl": true,
      "redirectTo": null,
      "services": ["web", "waitlist"],
      "note": "Subdomain - configure as subdomain of primary"
    }
  },
  "tld": {
    ".aethex": {
      "provider": "freename",
      "purpose": "Custom TLD for architects and ecosystem",
      "status": "planned",
      "services": ["custom-tld", "blockchain-dns"],
      "examples": [
        "architect.aethex",
        "kernel.aethex",
        "os.aethex",
        "api.aethex"
      ]
    }
  },
  "deployment": {
    "targets": {
      "web-client": {
        "description": "React SPA client application",
        "path": "dist/public",
        "server": "vite + express static"
      },
      "api-server": {
        "description": "Express API server",
        "path": "server/",
        "port": 5000
      },
      "auth-server": {
        "description": "Authentication service (Passport.js)",
        "path": "server/oauth-handlers.ts",
        "port": 5000
      },
      "services-server": {
        "description": "Kernel, Sentinel, Bridge services",
        "path": "server/api/os.ts",
        "port": 5000
      },
      "railway-deployment": {
        "description": "Railway.app deployment for kernel",
        "url": "kernel.aethex.cloud"
      }
    }
  }
}
