Subdomain hosting

I would like host specific website on the subdomain = x1

https://x1.name.domain

instead of

https://name.domain/x1

So I have added “x1” as CNAME pointing to “name.domain.” in my Custom DNS
/admin#custom_dns

But when I go to Web (Static Web Hosting) I can not see the subdomain “x1.name.domain” there
to choose the “Directory for Files” I want to use for that particular address = x1.name.domain

What Am I doing wrong?

I have a feeling that you’ll have to create a mail user in that new domain, as it’s existence mail users that actually trigger the domain stuff. (It could be a dummy account that never gets used.)

1 Like

Thank you :slight_smile: it worked.

Just had to force the certificates generations with:
sudo ~/mailinabox/management/ssl_certificates.py

Or maybe better solution would have been:
sudo mailinabox

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.