Gettting 404 on subdomain1.example.com with multisite configuration. while subdomain give while setup is working fine subdomain.example.com
You’ll need to say more about your configuration. Sharing the actual domain names could help. It’s most likely a dns issue. But you should also share your multisite.yml file (with secrets redacted)
Thanks @pfaffman. Please find below details
Multisite.yml
hindi:
adapter: postgresql
database: hindi
db_id: 2
pool: 5
timeout: 5000
host_names:
- "hi.muftiz"
turkish:
adapter: postgresql
database: turkish
db_id: 3
pool: 5
timeout: 5000
host_names:
- "tr.muftiz"
urdu:
adapter: postgresql
database: urdu
db_id: 3
pool: 5
timeout: 5000
host_names:
- "ur.muftiz"
"en.muftiz.com" is the main/default
You need to add .com
to the host names. It should be the full domain name (fqdn).
1 Like
Thanks Works like charm!
1 Like