{% extends "base.html" %} {% load i18n verification_tags %} {% block content %}

{{ domain.name }}

{% if not domain.validated %} {% if user.is_superuser %}

{% trans "This domain is not validated yet. You can validate it using three different ways:" %}

{% else %}

{% trans "This domain is not validated yet. You can validate it using two different ways:" %}

{% endif %}

{% trans "HTTP / HTTPS validation" %}

  1. {% trans "Create a file named" %} {{ domain.validation_key }} {% trans "with the following content" %}:
    validation-code={{ domain.validation_key }}
  2. {% trans "Place it on the root of the domain" %}: {{ domain.name }}
  3. {% trans "Make sure the proper link is not broken:" %}
    a). {{ domain.validation_url }}.
    b). {{ domain.validation_secure_url }}
    {% trans "An HTTP(S) request to that resource should return an HTTP(S) 200 response" %}
  4. {% trans "Click on the verification button:" %} {% verification_button domain "http" %} {% verification_button domain "https" %}

{% trans "DNS validation" %}

  1. {% trans "Add this value to a TXT record of your domain:" %} {{ domain.validation_key }}
  2. {% trans "Click on the verification button:" %} {% verification_button domain "dns" %}
{% csrf_token %}

{% trans "Email validation" %}

  1. {% trans "Select an email address that will recieve an once-link for domain validation" %}
  2. {% if not whois_has_emails %}
    • {% trans "Mail addresses could not be retrieved from the whois register" %}
    {% endif %}
  3. {% trans "Click on the verification button to recieve an email with more instructions:" %}
{% if user.is_superuser %}

{% trans "Manual validation (only for super administrators)" %}

{% trans "Or, as an administrator you can forcefully set the ownership of this domain as verified:" %}

  1. {% trans "Click on the verification button:" %}
    {% csrf_token %} {% trans "Verify ownership by force" %}
{% endif %} {% else %}

{% trans "This domain is already verified. If you want to verify it again you need to delete it first." %}

{% endif %}
{% endblock %}