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 always get added

See original GitHub issue

Using dokku_domains a wildcard domain will always get added anew leading to multiple registrations of the same wildcard domain.

I would supply a PR but I’m not the well versed in neither Python nor Ansible, sorry.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mikkercommented, Oct 4, 2020

Seems like it’s no longer an issue.

0reactions
ltalirzcommented, Oct 3, 2020

@mikker Is this still an issue with the latest version of the role?

I just had a look and at least via the dokku interface (which I thought would be used under the hood by this role) this seems to be caught:

ubuntu@dokku:~$ dokku domains:add inflector3 '*.abc.de'
-----> Added *.abc.de to inflector3
-----> Configuring *.abc.de...(using built-in template)
-----> Configuring inflector3.materialscloud.io...(using built-in template)
-----> Creating https nginx.conf
       Enabling HSTS
       Reloading nginx
ubuntu@dokku:~$ dokku domains:add inflector3 '*.abc.de'
-----> Skipping: *.abc.de already added to inflector3
-----> Configuring *.abc.de...(using built-in template)
-----> Configuring inflector3.materialscloud.io...(using built-in template)
-----> Creating https nginx.conf
       Enabling HSTS
       Reloading nginx
ubuntu@dokku:~$ dokku domains:report inflector3
=====> inflector3 domains information
       Domains app enabled:           true
       Domains app vhosts:            inflector3.materialscloud.io *.abc.de
       Domains global enabled:        true
       Domains global vhosts:         materialscloud.io
Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I set up a catch-all (wildcard) subdomain? - Domains
1. Sign into your Namecheap account. · 2. Select Domain List from the left sidebar and click on the Manage button next to...
Read more >
Multi-Domain Wildcard Certificates - The SSL Store
One Multi-Domain Wildcard Certificate can secure anywhere from up to 100 to 250 domains, depending on the vendor purchased from. Regardless of the...
Read more >
How do I add Domain Wildcards to My Block or Allow Lists?
Adding wildcards to your block or allow lists is accomplished by an implied wildcard. Please see the examples below for the syntax of...
Read more >
Wildcard DNS, What Is It and How Do I Use It? - HostGator
Wildcard DNS for the Primary Domain · Log in to your cPanel. · Navigate to the Subdomains icon in the Domains section. HostGator...
Read more >
wildcard dns redirect to root as well - Server Fault
Wildcard will always only match the subdomains you defined, so in your case if you want to resolve the domain by itself you...
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