Permalink
Browse files

Moved wildcard subdomain guide

  • Loading branch information...
davidmerfield committed Jan 8, 2019
1 parent 5078b1b commit ec2ede22aa7092a51be323d9f3a05c5437774a96
Showing with 0 additions and 6 deletions.
  1. +0 −6 config/guides/ssl-certificate-in-development.txt
@@ -1,9 +1,3 @@
First make sure that requests to blot.development go to localhost. You can't just use the hosts file since it doesn't support wildcard entries. I followed this guide so user subdomains work as expected:

https://passingcuriosity.com/2013/dnsmasq-dev-osx/

It involved installing Dnsmasq using homebrew, then configuring it to resolve all requests to .development to localhost. Then I had to tell OSX's DNS resolver to pass requests to .development to Dnsmasq. Phew!

You need to generate a self-signed certificate and key pair then tell your system to trust it. I then load the key.pem and cert.pem files into the webserver.

Since Chrome 58, you need to declare a Subject Alternative Name. I don't really understand what that is or why it is neccessary but it is.

0 comments on commit ec2ede2

Please sign in to comment.