Questions tagged [wildcard]

248 questions
143
votes
8 answers

Wildcard SSL certificate for second-level subdomain

I'd like to know if any certificates support a double wildcard like *.*.example.com? I've just been on the phone with my current SSL provider (register.com) and the girl there said they don't offer anything like that and that she didn't think it was…
Rob Long
103
votes
8 answers

Is a wildcard CNAME DNS record valid?

I know it's valid to have a DNS A record that's a wildcard (e.g. *.mysite.com). Is it possible/valid/advised to have a wildcard CNAME record?
Ben Mills
  • 1,163
  • 2
  • 8
  • 9
78
votes
3 answers

In Bash, are wildcard expansions guaranteed to be in order?

Is the expansion of a wildcard in Bash guaranteed to be in alphabetical order? I am forced to split a large file into 10 Mb pieces so that they can be be accepted by my Mercurial repository. So I was thinking I could use: split -b 10485760 Big.file…
Sled
  • 927
  • 1
  • 7
  • 11
38
votes
3 answers

Wildcard vhosts on Nginx

I've just installed Nginx on my server and am extremely happy with the results, however I still cannot figure out how to insert wildcard virtual hosts. This is the [directory] structure I'd like: -- public_html (example.com) ---subdoamin 1…
rorygilchrist
  • 381
  • 1
  • 3
  • 3
32
votes
10 answers

Is a wildcard DNS record bad practice?

I asked my hoster to add three subdomains all pointing to the IP of the A record. It seems he simply added a wildcard DNS record because any random subdomain resolves to my IP now. This is OK for me from a technical point of view, since there are no…
31
votes
2 answers

Nginx wildcard/regex in location path

The Nginx config I have throws 404 for .php like: ## Any other attempt to access PHP files returns a 404. location ~* ^.+\.php$ { return 404; } However I have some index.php file in subfolder that I want to run. The current config is…
user156477
24
votes
3 answers

What is the difference between 0.0.0.0/0 and 0.0.0.0/1?

In the history, I mostly used 0.0.0.0/0 for "match every IP address". Recently, I saw a 0.0.0.0/1 subnet filter. What is the difference between 0.0.0.0/0 and 0.0.0.0/1 and what's the practical use of 0.0.0.0/1?
Arakis
  • 361
  • 1
  • 2
  • 7
20
votes
4 answers

Wildcard DNS with BIND

I'm trying to setup BIND so that it catches any and all requests made to it, and points them to a specific set of NS servers, and a specific A record. I have around 500 domains, and I'm adding new ones at the rate of 10-15 a day, so I don't want to…
Jon Wu
  • 203
  • 1
  • 2
  • 4
16
votes
5 answers

Can I use the same wildcard certification for *.domain.com and domain.com

You can make an SSL certificate by using *.domain.com as the name. But unfortunately, this doesn't cover https://domain.com Is there any fix for this?
Unknown
  • 1,685
  • 6
  • 20
  • 27
14
votes
4 answers

Configure DNS server to return same IP for all domains

I would like to configure a nameserver that will return the same IP address ("A" record) for any arbitrary host name. For example: example.com subdomain.example.com someotherdomain.com anyotherdomain.co.uk should all return the same IP address. Is…
balexand
  • 242
  • 1
  • 2
  • 7
14
votes
3 answers

Wildcard DNS and subdomains

Let's that I've got the domain mydomain.com. I want that when any visitor goes to www.mydomain.com xyz.mydomain.com abc.mydomain.com asd.mydomain.com qwe.mydomain.com etc... the visitor will continue seeing "xyz.mydomain.com", but the real address…
Click Ok
  • 956
  • 4
  • 12
  • 18
12
votes
1 answer

Exclude specific domains from Apache2 serverAlias while using a catch all *(wildcard) alias

I have a web application that needs to support custom domains, in that regard I have set-up the following name based virtual server: ServerName example.com ServerAlias * *.example.com www.example.com example.com …
Victor S
  • 243
  • 1
  • 2
  • 7
11
votes
3 answers

Second Level Subdomain DNS Wildcard

I need help setting up a second level subdomain. I have set up wildcard subdomains in the past with success, but I am having trouble with the DNS entry for this one. I need to do something like *.design.mydomain.com So I tried to create an A record…
easyappl
  • 303
  • 2
  • 3
  • 6
10
votes
2 answers

Can the same wildcard SSL certificate be used on different IP addresses and/or boxes?

Example: Wildcard SSL certificate for *.example.com installed on two different boxes. hostEU.example.com A 60.70.80.90 hostUS.example.com A 200.210.220.240 I assume this is a perfectly valid scenario, where the actual hostnames do not reside on…
mr-euro
  • 848
  • 3
  • 14
  • 31
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
1
2 3
16 17