Questions tagged [wildcard-subdomain]
199 questions
15
votes
2 answers
Non-dot-wildcard (*-foo.example.com) for bind?
It seems there's no way to tell bind that *-foo.example.com should resolve to eg. 10.1.2.3, while *-bar.example.com resolves to 10.2.3.4. Is there any workaround? Can some names eg. resolve with an external program? Or should I change bind to eg.…
tuomassalo
- 738
- 2
- 8
- 22
12
votes
1 answer
Any drawbacks to AWS certificate manager wildcard certificates?
Let's say I'm using AWS Certificate Manager to get a certificate for example.com for use with AWS CloudFront. I can specify an alternate domain of www.example.com and point it to another CloudFront distribution in my DNS.
But AWS Certificate Manager…
Garret Wilson
- 165
- 2
- 13
10
votes
1 answer
Can DNS host records be setup to create wildcard sub-subdomains
Is it possible to create a wildcard host record for a sub-subdomain ie *.foo.example.com?
eft
- 103
- 1
- 4
10
votes
1 answer
Do SSL Certs containing two wildcards work (esp. on Let's Encrypt)?
I want to include two wildcards in an SSL cert (will be) signed by Let's Encrypt: *.*.thost3.de. Will this cert match any hostnames matching that rule (e.g. example.example.thost3.de, hello.world.thost3.de), and can Let's Encrypt accept such…
Emoji
- 201
- 3
9
votes
2 answers
Best way to add a DNS wildcard record for a domain
What is the best way to add a DNS wildcard record for a domain?
I want example.net, www.example.net, a.b.c.www.example.net, ... going to one server.
Now I use:
example.net. 60 IN A 1.2.3.4
*.example.net. 60 IN CNAME example.net.
Is…
martin
- 218
- 1
- 3
- 11
7
votes
6 answers
Difference between wild card SSL
I have deployed SSL certificates on various websites however this wildcard SSL certificate is totally new to me. I have question that If I am buying a SSL certificate *.example-private.com, Will it work for *.staging.example-private.com Or Do I have…
Shailesh Sutar
- 1,427
- 4
- 22
- 40
7
votes
3 answers
In Nginx, map specific subdomains to ports, redirect all others
I'm trying to accomplish three things:
Map traffic, by subdomain, to one of several applications on different ports.
If subdomain isn't recognized, redirect to www.
Require HTTPS on all subdomains.
My nginx configuration so far is:
map $subdomain…
Don McCurdy
- 171
- 1
- 4
7
votes
1 answer
Is stage.*.example.com valid for a wildcard DNS CNAME?
We are creating a web app that will have vanity subdomains such as user1.example.com. Since we'll have many subdomains, they need to be dynamic. We want to have a public "stage" area where we can test before going live. The requirement states that…
Linkadvitch
- 73
- 4
7
votes
2 answers
Wildcard subdomain directory names
I have the following in my Apache config:
VirtualDocumentRoot /var/www/hosts/%0
ServerAlias *.test.galapagos.office
In /var/www/hosts, I have a directory called jason.test.galapagos.office and one called…
Jason Swett
- 1,458
- 4
- 23
- 37
6
votes
2 answers
Wildcard certificates with short hostnames?
I'm trying to generate a certificate with the following subjectAltName:
hostname
*.hostname
hostname.mydomain.local
*.hostname.mydomain.local
I generate the CSR via OpenSSL and then get the certificate from Microsoft Active Directory Certificate…
Jakov Sosic
- 5,157
- 3
- 22
- 33
6
votes
4 answers
Double Wildcard SSL Certificates
Is there a registar that offers SSL certificates for:
..domain.com
or
something_fixed.*.domain.com?
--
M.
Nostef
5
votes
1 answer
Can I use nested DNS wildcard records
I would like to have multiple dns entries with wildcards such that one entry is nested as subdomain of another
CNAME *.example.com -> webserver.example.com
CNAME *.api.example.com -> apiserver.example.com
The intention being that I can use…
Dave Turvey
- 153
- 4
5
votes
1 answer
Make Lighttpd return 404 for unused subdomains?
I have some domains set up on my Ubuntu server that uses Lighttpd. I have wildcard domains and I want the unused subdomains to return 404 instead of 200 and displaying the regular domain. This problem was brought to my attention because some less…
Ray Walz
- 135
- 6
5
votes
1 answer
How do I configure a wildcard DNS record correctly in Windows Server 2012?
I'm trying to configure a DNS server for domain.com. I want to configure a wildcard DNS record to resolve any-subdomain.domain.com to a single IP address (172.16.1.3). In my DNS server I have the following records in my forward zone:
This somewhat…
Brack
- 205
- 2
- 4
- 8
5
votes
4 answers
How to set up a DNS to use a catch-all address?
This is not really a programming question, it's more about settings that I can alter visually.
I have bought a domain and am wondering how I can get it work in such a way that everything before the .example.com except for things I've already set…
xaddict
- 152
- 1
- 6