Skip to content

Make your localhost life easier: tolocal.host and *.tolocal.host resolve to 127.0.0.1!

Notifications You must be signed in to change notification settings

BetaHuhn/tolocal-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tolocal-host favicon

tolocal.host

Make your localhost life easier: tolocal.host and *.tolocal.host resolve to 127.0.0.1!

Overview

tolocal.host and *.tolocal.host (all subdomains) resolve to 127.0.0.1 so you can use it for local development!

Normally you would have to create hosts file entries for different domains pointing to 127.0.0.1. This is can be very cumbersome!

tolocal.host solves this by resolving the domain name and all subdomains to 127.0.0.1, so you can use it right away! Here are a few examples:

  • tolocal.host
  • mysite.tolocal.host
  • test.tolocal.host
  • node-backend.tolocal.host
  • sub1.sub2.sub3.tolocal.host

All of them will point to 127.0.0.1.

tolocal.site also belongs to me and resolves to 127.0.0.1 aswell.

Note: tolocal.host also supports IPv6, the AAAA records resolves to ::1.

About

This site is inspired by lvh.me, which does exactly the same! I just always forgot the name, so I registered tolocal.host, edited the DNS to point it to 127.0.0.1 and created this page. It's very simple really!

If you want to see what else I'm up too, check out my GitHub profile @BetaHuhn!

About

Make your localhost life easier: tolocal.host and *.tolocal.host resolve to 127.0.0.1!

Topics

Resources

Stars

Watchers

Forks