-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathindex.html
77 lines (55 loc) · 3.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>localtest.me</title>
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="javascripts/respond.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="stylesheets/ie.css">
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
</head>
<body>
<div class="wrapper">
<section>
<div id="title">
<h1>*.localtest.me</h1>
<p>localhost testing done right</p>
<hr>
</div>
<h1>localtest.me</h1>
<p>Save this URL, memorize it, write it on a sticky note, tweet it, tell your colleagues about it!</p>
<p>localtest.me (<a href="http://localtest.me">http://localtest.me</a>)</p>
<p>and</p>
<p>*.localtest.me (<a href="http://something.localtest.me">http://something.localtest.me</a>)</p>
<p>If you do any testing on your local system you’ve probably created hosts file entries (c:\windows\system32\drivers\etc\hosts) for different testing domains and had them point back to 127.0.0.1. This works great but it requires just a bit of extra effort.</p>
<p>This localtest.me trick is so obvious, so simple, and yet so powerful. I wouldn’t be surprised if there are other domain names like this out there, but I haven’t run across them yet so I just ordered the domain name localtest.me which I’ll keep available for the internet community to use.</p>
<p>Here’s how it works. The entire domain name localtest.me—and all wildcard entries—point to <code>127.0.0.1</code> and <code>::1</code>. So without any changes to your host file you can immediate start testing with a local URL.</p>
<p>Examples:</p>
<pre><code>http://localtest.me
http://newyork.localtest.me
http://mysite.localtest.me
http://redirecttest.localtest.me
http://sub1.sub2.sub3.localtest.me
</code></pre>
<p>You name it, just use any *.localtest.me URL that you dream up and it will work for testing on your local system.</p>
<h2>More details</h2>
<p>Read the introduction by <a href="http://weblogs.asp.net/owscott/archive/2012/05/14/introducing-testing-domain-localtest-me.aspx">Scott Forsyth</a></p>
<h2>Credits</h2>
<p>Idea: <a href="https://twitter.com/ScottForsyth">Scott Forsyth</a>, <a href="http://imar.spaanjaars.com/">Imar Spaanjaars</a></p>
<p>Domain renewals: <a href="https://twitter.com/ScottForsyth">Scott Forsyth</a></p>
<p>DNS hosting: <a href="http://twitter.com/tathamoddie">Tatham Oddie</a></p>
<p>Site: <a href="http://twitter.com/shiftkey">Brendan Forster</a>, <a href="http://twitter.com/slace">Aaron Powell</a></p>
<p>If you'd like to contribute to this site, <a href="https://github.com/localtest-dot-me/localtest-dot-me.github.com">fork us on GitHub</a>.</p>
</section>
</div>
<!--[if !IE]><script>fixScale(document);</script><!--<![endif]-->
</body>
</html>