Closed Bug 919177 Opened 8 years ago Closed 8 years ago

Enable user subdomains by default

Categories

(Webmaker Graveyard :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: michiel, Assigned: jon)

References

Details

Attachments

(4 files)

filed under make-valet since it's responsible for userdomain serving - we might be able to do something clever with https://github.com/iriscouch/dnsd to effect a local DNS when running everything on localhost, so that we (and contributors) don't need to do any hosts fiddling
https://github.com/JamesHight/node-evil-dns looks like it might be exactly what we want. Even supports wildcard domains!
Assignee: nobody → jon
We should:

1) Register some domain, say webmaker-dev.org
2) Set it up at Route53 with wildcard subdomains
3) Default user subdomains in each of our apps to this domain

Then we can tackle removing the embed shells from Thimble and Popcorn.
Blocks: 907815, 907813
Status: NEW → ASSIGNED
xip.io is a free wildcard DNS service. Now we can do this!
Component: Make Valet → General
QA Contact: brett
Summary: [webmaker-suite] investigate adding custom DNS for userdomain lookups → Enable user subdomains by default
Attachment #8361346 - Flags: review?(pomax)
This relies on the makevalet patch to be applied before using this patch.
Attachment #8361349 - Flags: review?(pomax)
This relies on the makevalet patch to be applied
Attachment #8361350 - Flags: review?(scott)
This relies on the make-valet patch to be applied
Attachment #8361351 - Flags: review?(pomax)
I'm still missing something here that describes what needs to be done to run this true localhost. Documenting that the user needs to install a local dns service, which we can then hook into with node to make things work if no internet is available, is still required here.
Comment on attachment 8361350 [details] [review]
https://github.com/mozilla/popcorn.webmaker.org/pull/414

What I like about this is it is an out of the box, it just works for most solution. It doesn't mean it cannot be configured from there.

I do kinda think we should have docs for how to set it up to be local only, but that can be a follow up.
Attachment #8361350 - Flags: review?(scott) → review+
Blocks: 961293
I've updated each patch with a link to the make-valet as a prerequisite, and added instructions to the make-valet about how to run it with no internet connection
Attachment #8361346 - Flags: review?(pomax) → review?(kate)
Attachment #8361349 - Flags: review?(pomax) → review?(scott)
Attachment #8361351 - Flags: review?(pomax) → review?(scott)
Comment on attachment 8361346 [details] [review]
https://github.com/mozilla/make-valet/pull/42

It's good, just comment that one line
Attachment #8361346 - Flags: review?(kate) → review+
Attachment #8361351 - Flags: review?(scott) → review+
Attachment #8361349 - Flags: review?(scott) → review+
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.