mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 22:38:08 +00:00
0007450844
If user wants to register a subdomain, he must prove he is owner of 2nd-level domain. He must create a file with random name generated by us in webserver's document root in 2nd-level domain. Then we trying to fetch this file. If it success, registration gets accepted.
21 lines
761 B
HTML
21 lines
761 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<p>
|
|
You are trying to add a subdomain. Our policy permits subdomains registration only if you're own an
|
|
upper domain (2nd-level domain). Before subdomain will be added, we must ensure that you're own an upper-level
|
|
domain.
|
|
</p>
|
|
<p>
|
|
Unfortunately, we can verify a 2nd-level domain ownage only via http, so if you're use the domain not for http,
|
|
please run a webserver temporary. Create the following file in the webserver's document root and press "OK" button.
|
|
This file should be accessible via http://{{ topdomain }}/«filename» (without quotes).
|
|
</p>
|
|
<form action="/postkey/subdomain/" method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<input type="submit" value="OK" />
|
|
</form>
|
|
|
|
{% endblock %}
|