{% extends 'default.html' %} {% set active_page = "custom_domain" %} {% block title %} Custom Domains {% endblock %} {% block head %} {% endblock %} {% block default_content %}

Custom Domains

{% if not current_user.is_premium() %} {% endif %}
{% for custom_domain in custom_domains %}
{{ custom_domain.domain }} {% if custom_domain.verified %} {% else %} 🚫 {% endif %}
Created {{ custom_domain.created_at | dt }}
{{ custom_domain.nb_alias() }} aliases.

Mailboxes:
{% set domain_mailboxes=custom_domain.mailboxes %}
Details ➡
{% endfor %}
{{ new_custom_domain_form.csrf_token }}

New Domain

{{ new_custom_domain_form.domain(class="form-control", placeholder="my-domain.com", maxlength=128) }} {{ render_field_errors(new_custom_domain_form.domain) }}
Please use full path domain, for ex my-subdomain.my-domain.com
By default, aliases created with your domain are "owned" by your default mailbox {{ current_user.default_mailbox.email }}.
This below option allow you to choose the mailbox(es) that a new alias automatically belongs to.
{% endblock %} {% block script %} {% endblock %}