Macros for WordPress, creating subdomains out of registrations for current domain October 1, 2022 by Tarik Billa Sounds like you want a WordPress Multisite installation with a wildcard subdomain configuration.