question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wildcard Domains (not SSL)

See original GitHub issue

Great project, thanks for all your time on this.

This feature may already exist, and I just can’t find any documentation for it. I’m happy to create a PR with docs if you can point me in the right direction.

Basically, everything is working perfectly with my new installation. However, I have to put each subdomain in manually. I would like to specify a wildcard domain, and have every subdomain map to a host.

Just to note, this isn’t to do with HTTPS or LetsEncrypt.

Is your feature request related to a problem? Please describe. I would like to be able to map *.mydomain.com to the same IP address.

Describe the solution you’d like The screen below to accept a wildcard domain image

Describe alternatives you’ve considered Putting in each domain manually

Additional context Add any other context or screenshots about the feature request here.

Use Case Maybe a use case would help. Imagine I’m hosting GitLab (or a hypothetical GitHub) on my network with pages (GitHub Pages or GitLab Pages).

I want to let my users expose THEIRORG.pages.gitlab.test .

In my mind, the way to do this is have a wildcard entry: *.pages.gitlab.test

So then if the user comes through to http://testorg.pages.gitlab.test/testrepo, the request automaitcally get’s forwarded to the one server.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:13
  • Comments:15

github_iconTop GitHub Comments

2reactions
chaptergycommented, Aug 13, 2021

It seems the only issue was the regex pattern. The fix was added in v2.9.5, so from there and up this works. I have tested it on v2.9.6 and both first-level and second-level wildcards for proxy hosts work as expected.

image

2reactions
mantasiocommented, Apr 16, 2021

This would be a really useful feature. Especially if you are working in development with CI/CD and want to have different environments for, let’s say, each git branch. Right now, you would need to add a new entry in NPM each time after deployment is done, which isn’t very handy

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Wildcard Certificate? - DigiCert Knowledge Base
A SSL/TLS Wildcard certificate is a single certificate with a wildcard character (*) in the domain name field. This allows the certificate to ......
Read more >
Primary domain SSL not working, but wildcard subdomains ...
The wildcard name on the certificate only matches the subdomains. To secure the "naked" domain, you need to add that name separately to...
Read more >
Why Is My Wildcard SSL Not Working on a Second Level ...
When you get a wildcard issued, you place a wildcard character (*) at the subdomain level you're securing. Generally, it occurs on the...
Read more >
Multi Domain SSL vs Wildcard SSL — What You Should Know
A multi domain SSL certificate is a single certificate that you can use to secure multiple domains (or subdomains if you list them...
Read more >
3 Common Wildcard Certificate Risks You Should Know About
Wildcard certificates are used to cover all listed domains with the same private key making it easier to manage. Despite the benefits, the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found