ungleich-no-ipv4-here/no_ipv4_here/templates/no_ipv4_here/index.html

89 lines
3.3 KiB
HTML

{% load static from staticfiles %}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.responsive {
width: 100%;
max-width: 496px;
height: auto;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.center {
text-align: center;
}
.content-margin {
margin: 20px 10%;
}
body {
font-family: Helvetica, sans-serif;
font-size: 15pt;
color: black;
}
.para-title{
font-weight: 600;
}
footer{
margin: 50px 0 25px;
}
</style>
<title>{{ domain|default:"This part of the Internet" }} is not reachable by IPv4</title>
</head>
<body>
<img src="{% static 'img/ipv6onlyhosting-ungleich-deadend.jpg' %}"
alt="ipv6onlyhosting-ungleich-deadend"
class="responsive" width="600" height="400">
<div class="center content-margin">
<p>
Welcome to the end of the IPv4 Internet. Unfortunately the site you tried reach is not reachable by IPv4. To access {{ domain|default:"this part of the Internet" }}, you need to enable IPv6 on your computer.
</p>
<section>
<div class="para-title">How to enable IPv6 ?</div>
<div class="para-description">
Your Internet provider (ISP) should support IPv6. If you haven't, you should first contact your ISP and ask them for IPv6 addresses.<br/>
If your ISP does not support IPv6, you can use an IPv6 tunnel to get IPv6 connectivity.
<ul>
<li>ungleich offers <a href="https://ipv6onlyhosting.com/en-us/cms/ipv6-shop/" target="_blank">IPv6 VPNs</a></li>
<li>HE.net offers the <a href="https://tunnelbroker.net/" target="_blank">IPv6 tunnel broker service</a></li>
</ul>
</div>
</section>
<section>
<div class="para-title">How to create an IPv6 only website</div>
<div class="para-description">
If you want your website to be only available by IPv6, you can do the following:
<ul>
<li>Create an AAAA DNS entry that points to the IPv6 address of your website.</li>
<li>Create an A DNS entry that points to 185.203.114.115 (that is this site).</li>
<li>From now on visitors that use IPv4 and try to reach your site will be shown this page.</li>
</ul>
</div>
</section>
<section>
<div class="para-title">How to make some content only accessible by IPv6?</div>
<div class="para-description">
<ul>
<li>If parts of your website should only be reachable by IPv6, you can redirect the user to <a href="https://no-ipv4-here.ungleich.ch/?back_to=YOUR_URL">https://no-ipv4-here.ungleich.ch/?back_to=YOUR_URL</a></li>
<li>Replace YOUR_URL with the URL that you want the user to come back to, when they have IPv6 enabled</li>
<li>We suggest to use a HTTP 302 (temporary location changed) for this</li>
</ul>
</div>
</section>
</div>
<footer class="center">
This service is provided to you by <a href="https://ungleich.ch" target="_blank">ungleich</a>.
</footer>
</body>
</html>