# I have a script and I want each store to have a subdomain

**URL:** <https://forum.hestiacp.com/t/i-have-a-script-and-i-want-each-store-to-have-a-subdomain/22115>\
**Category:** Database\
**Created:** [August 16, 2026, 11:31pm UTC](https://forum.hestiacp.com/t/i-have-a-script-and-i-want-each-store-to-have-a-subdomain/22115 "2026-08-16T23:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stc2020](https://forum.hestiacp.com/letter_avatar_proxy/v4/letter/s/7cd45c/32.png) [@stc2020](https://forum.hestiacp.com/u/stc2020)\
**Post date:** [August 16, 2026, 11:31pm UTC](https://forum.hestiacp.com/t/i-have-a-script-and-i-want-each-store-to-have-a-subdomain/22115/1 "2026-08-16T23:31:02Z")

</div>

Hello.  
I have a script and I want each store to have a subdomain.

Wildcard Subdomain Configuration  
Please help me activate this. How can I activate it?

Database Create Permission  
Wildcard Subdomain  
Wildcard SSL  
Cron Job

 ![Server Configuration](https://forum.hestiacp.com/uploads/default/original/2X/b/bc9a9ed59b6d0abd11beb5595c882bbde789ff89.jpeg)

SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user ‘nufal\_tr10’@‘localhost’ to database ‘nazmart\_tenant\_db\_basmatjawal’ (Connection: mysql, Host: localhost, Port: 3306, Database: nufal\_tr10, SQL: CREATE DATABASE `nazmart_tenant_db_basmatjawal` CHARACTER SET `utf8mb4` COLLATE `utf8mb4_unicode_ci`)
