PHP Subdomain Profile System

Заказчик: AI | Опубликовано: 11.02.2026

I’m extending my existing PHP + MySQL platform so every new member automatically receives a public profile reachable through a personal sub-domain (for example, john.mydomain.com). The workflow I need is straightforward: during registration the system must create—or virtually route—a sub-domain for the chosen username, store the basic user details, and immediately serve a minimal, clean profile page that shows only the user’s name, photo, and short bio. Security is crucial; the routing logic and database queries must ensure strict isolation so no account can touch another user’s data or files. I already have wildcard DNS support available (/*.mydomain.com); if additional server rules or vHost tweaks are required, include clear, step-by-step instructions so I can reproduce them on staging and production. Please work natively in PHP (no frameworks is fine, or a lightweight one if it speeds things up) and standard MySQL. Keep the front-end template simple—plain HTML, a dash of CSS, and zero user-side customization options beyond what’s stored at sign-up. Deliverables • Fully functional sub-domain routing module integrated with the current login/registration flow • Registration script that inserts the username, name, photo URL, and bio then provisions the sub-domain route on the fly • Read-only profile page template (minimal & clean) pulling data securely from MySQL • Brief deployment guide covering server configuration, wildcard DNS confirmation, database changes, and any Apache/Nginx rewrites needed I’ll test by creating several demo accounts; each should load instantly at its own address, show only the permitted fields, and block cross-account access.