Questions tagged [wildcard-subdomain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15 votes
2 answers
5k views

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 ...
tuomassalo's user avatar
13 votes
1 answer
10k views

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 ...
Garret Wilson's user avatar
10 votes
1 answer
7k views

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's user avatar
  • 103
10 votes
1 answer
1k views

Do SSL Certs containing two wildcards work (esp. on Let's Encrypt)? [duplicate]

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....
Emoji's user avatar
  • 201
10 votes
2 answers
15k views

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....
martin's user avatar
  • 228
7 votes
6 answers
2k views

Difference between wild card SSL [duplicate]

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 ...
Shailesh Sutar's user avatar
7 votes
2 answers
7k views

Wildcard subdomain directory names

I have the following in my Apache config: <VirtualHost *:80> VirtualDocumentRoot /var/www/hosts/%0 ServerAlias *.test.galapagos.office </VirtualHost> In /var/www/hosts, I have a ...
Jason Swett's user avatar
  • 1,468
7 votes
1 answer
2k views

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 ...
Linkadvitch's user avatar
7 votes
3 answers
10k views

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. ...
Don McCurdy's user avatar
6 votes
2 answers
5k views

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 ...
Jakov Sosic's user avatar
  • 5,267
6 votes
4 answers
3k views

Double Wildcard SSL Certificates

Is there a registar that offers SSL certificates for: ..domain.com or something_fixed.*.domain.com? -- M.
user avatar
5 votes
1 answer
2k views

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....
David Turvey's user avatar
5 votes
4 answers
6k views

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 ....
xaddict's user avatar
  • 152
5 votes
1 answer
2k views

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 ...
Ray Walz's user avatar
  • 145
5 votes
1 answer
21k views

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 ...
Brack's user avatar
  • 205
4 votes
5 answers
2k views

is wildcard ssl insecure?

Is there anything inherently more insecure about using a wildcard SSL certificate over a regular SSL certificate? We are looking to implement a subdomained web application (a la FreshBooks and ...
iopener's user avatar
  • 187
4 votes
1 answer
7k views

AWS ELB endpoint in Godaddy

I have my domain name regsitered in Godaddy. I have my servers in AWS. We use a public ELB to redirect traffic to our webservers inside a VPC in a public subnet. I want to point one of my subdomain ...
Arjun Prasad's user avatar
4 votes
1 answer
2k views

Can a DNS wildcard only be the leftmost part of a record?

I'm using TinyDNS, and have successfully used wildcard records of the form: +*.<domain>:<ip> (+ for A records.) Can I also use: +development.*.<domain>:<ip> ? My ...
Iain Hallam's user avatar
4 votes
1 answer
3k views

Let's Encrypt certificate to cover both wildcard subdomains and root-domain

I'm running a server under example.com domain and I have sub-domains like: a.example.com b.example.com I'm creating certificate from Let's Encrypt with zerossl online tools and I have an issue. ...
STaefi's user avatar
  • 143
4 votes
1 answer
2k views

Redirect all subdomains to main domain with HTTPS without a wildcard cert (nginx)

I have a domain name with a main site and a few vhosts. I want all sites (main and vhosts) to only be accessible through HTTPS (using HSTS), and I want non-existing subdomains to be redirected to the ...
Joe La Frite's user avatar
4 votes
4 answers
7k views

ServerName not working in Apache2 and Ubuntu

Setting up a dev LAMP server and I wish to allow dynamic subdomains, aka ted.servername.com, bob.servername.com. Here's my sites-active file <VirtualHost *:80> # Admin Email, Server Name, ...
CreativeNotice's user avatar
4 votes
2 answers
950 views

Dynamic Error and Custom logs in apache 2 using wildcard subdomains

I'm trying to make a wildcard VirtualHost conf file for apache2, and I'm not sure how to handle the ErrorLog and CustomLog settings to put the logs where I want them to go. As you can see in the ...
Mr. Simmons's user avatar
4 votes
1 answer
132 views

Apache2 with wildcard subdomains of the form sub.*.domain.tld

I currently have Apache2 configured to host wildcarded subdomains of the form *.domains.tld, where the * is unique for each client we have. Each client has an 'admin' page that they can log into, ...
Unpossible's user avatar
3 votes
2 answers
4k views

Automatic wildcard subdomains on Apache

Currently I have several virtual hosts set up for individual subdomains. It would be a lot easier if I could tell Apache to automatically find the folder using a wildcard. For example, hello.domain....
Oliver Joseph Ash's user avatar
3 votes
2 answers
6k views

Redirect wildcard subdomain to same subdomain on different domain

I have a domain with dynamic subdomains. The domain, unfortunately, has changed. As such I need to redirect *.domain1.com to *.domain2.com while keeping the subdomains the same. I have looked ...
Joseph's user avatar
  • 161
3 votes
2 answers
6k views

Possible reasons for occasionally inaccessible domains

I'm experiencing symptoms similar to those of the other question. That is, peoples are complaining about a domain name being inaccessible. And then, it suddenly starts working after a while. But I ...
x-yuri's user avatar
  • 2,195
3 votes
4 answers
1k views

Wild card sub-domain routing in Apache

I've noticed some hosting providers have Apache setup so that if I create a directory (foo.example.com) Apache will automatically know that the DNS entry for foo.example.com routes to that document ...
Marco Ceppi's user avatar
3 votes
3 answers
2k views

SSL wildcard certificates and "www" sub-subdomains

I've got a wildcard SSL certificate for *.example.com. I'm using Nginx, and redirecting all traffic for HTTP to HTTPS, and also rewriting the URLs to remove a www subdomain (if there is one). So it ...
user173326's user avatar
3 votes
1 answer
1k views

Can wildcard and single domain certificate coexist for the same domain

Because we have externally hosted applications by vendors under specific sub-domains (vendor1.domain.org, vendor2.domain.org...), we would like to keep single certificates for these sub-domains while ...
jfbarthe's user avatar
3 votes
1 answer
1k views

How to automatically redirect subdomain.domain to domain/subdomain [duplicate]

Possible Duplicate: Apache Virtual Host redirect from subdomain to subdirectory Without access to cpanel, apache conf files and only access to .htacess and FTP, how can I create a hosting site ...
Luis Alvarado's user avatar
3 votes
1 answer
1k views

Virtual domains with wildcard?

I would like to setup postfix to catch all emails from both: domain.tld & [randomsubdomain].domain.tld. /((\w[\w\-]*)\.)+domain\.tld/ OK This rule works very good, but unfortunately it's ...
Andrew's user avatar
  • 31
3 votes
3 answers
1k views

Possible to point wildcard subdomain to top level domain via DNS settings?

Is it possible to point wildcard subdomains to a top level domain via DNS settings alone? I would like to have *.mydomain.com redirected to mydomain.com. mydomain.com is hosted on a 3rd service. I ...
user avatar
3 votes
1 answer
3k views

Using Let's Encrypt Wildcard Certificate on Multiple Servers

I have a series of subdomains that are a part of a root domain I manage. I have set up certbot on one of these domains: x.example.com and it is successfully using the certificate and renewing it ...
Steve's user avatar
  • 33
3 votes
1 answer
1k views

Is it possible to configure Nginx to allow for new domains to be added without me having to add a VirtualHost for each?

I have a SaaS application wherein users can enter their domain names. The application uses the hostname of incoming requests to determine the account based on the domain they entered for their account,...
orokusaki's user avatar
  • 2,803
3 votes
1 answer
3k views

Azure Application Gateway limitations - wildcard SSL cert

We have ~60 client apps, each with its own subdomain URL in a common domain, i.e. client1.domainname.com, client2.domainname.com... - all covered by a single wildcard SSL cert *.domainname.com. ...
P. D.'s user avatar
  • 71
2 votes
2 answers
14k views

Redirect all subdomains to main domain inside vhost

I simply want to redirect all subdomains that are not not already mentioned in a vhost's ServerName to redirect to the empty sub domain. I tried to add this to my httpd.conf after all other virtual ...
danijar's user avatar
  • 403
2 votes
2 answers
409 views

Does a wilcard subdoman get DNS cached?

If one adds a Wildcard subdomain entry in the DNS Zone, for example: *.example.com. 3600 IN A <Some IP> How much of a query for say somerandomsubdomain.example.com be cached? After some ...
tapananand's user avatar
2 votes
1 answer
2k views

Sharing two SSL certificates with as wildcard and root domains in nginx (same server)

I have purchased a wildcard certificate and a single certificate for my domain structure which is: app.example.com => single *.app.example.com => wildcard Both these routes should point to the ...
senty's user avatar
  • 135
2 votes
2 answers
4k views

Can I have a DNS wildcard binding in multiple servers?

I have a Win 2k8 server that hosts multiple IIS apps that are under one domain, example.com. The need for a second server has increased and will need to get more servers to host my apps. On my server,...
Joel Peltonen's user avatar
2 votes
1 answer
3k views

Nginx - Redirect any Subdomain to File without Rewriting

Recently I have switched from Apache to Nginx to increase performance on a web server running Ubuntu 11.10. I have been having issues trying to figure out how certain things work in Nginx compared to ...
Waffle's user avatar
  • 143
2 votes
2 answers
107 views

Does pointing *.[int].mydomain.com to 192.168.1.[int] constitute a security threat

For testing purposes, I've found it's really useful to point whatever.machineIP.mydomain.com to 192.168.1.machineIP : that way we can test each other's code without fidgetting with hosts files. I'm ...
Dave's user avatar
  • 220
2 votes
1 answer
2k views

How to get Exim to accept mail for subdomains?

I'm trying to use subdomains with Exim, but If I send a test message to any address other fqdn than my basic domain name it gets bounced with a relay error. I can send and login to both Dovecot and ...
jdmayfield's user avatar
2 votes
1 answer
5k views

Is a wildcard CNAME DNS record valid in multi sub-domains?

I have a CNAME record like this: *.a IN CNAME example.com. So, any address that ends with .a.example.com points to example.com (like www.a.example.com, x.y.z.a.example.com, etc). I add ...
riofly's user avatar
  • 131
2 votes
1 answer
541 views

automatic MX entries for (almost) all hosts within a domain

i'm running a DNS-server for example.com, with multiple A/CNAME records pointing to different IP-addresses. @ IN A 198.51.100.1 a IN A 198.51.100.3 b ...
umläute's user avatar
  • 499
2 votes
1 answer
1k views

Multi-level wildcard DNS matched by *.domain.com?

Q1: Does a DNS rule for *.domain.com match multi-level domain names? In other words, if I just set *.domain.com in my DNS records, will it match all of: a.domain.com b.a.domain.com c.b.a.domain.com ...
Suman's user avatar
  • 617
2 votes
3 answers
3k views

ISPConfig - Unexisting subdomain address goes to an existing one [closed]

I am running Nginx/ISPConfig setup for about 6-7 months. Never had a problem and everything is smooth. But I just noticed that if browse to "blab.example.com", the page opens one of my wordpress ...
Hassan's user avatar
  • 457
2 votes
3 answers
5k views

DNS wildcard and /etc/resolv.conf problem

I searched through google.com but can't find an answer... So I asked here. This is the problem: I build a DNS test environment on my PC which hostname is gamepc. The DNS server (bind9) has a ...
fubupc's user avatar
  • 83
2 votes
1 answer
4k views

Switch MS O365 name servers to another dns hosting service?

Currently we have client which is using Office365 for DNS hosting and also for email delivery. The domain is registered at an external registrar, but unfortunally the MS name servers have been used in ...
André Schild's user avatar
2 votes
1 answer
1k views

Bind9 virtual subdomains

I am trying to setup virtual subdomains using Bind9, following this tutorial.. http://groups.drupal.org/node/16862 which I've completed. Basically setting up the zone and modifying the resolv.conf ...
Steffan's user avatar
  • 131
2 votes
2 answers
2k views

Nginx Subdomains and Rewrite Rules

I've been trying to configure Nginx to do what I currently have set up in Apache, but no luck so far. I would like http://$1.$2.mas.example.com (where $1 and $2 is any subdomain) to point to root ...
daLizard's user avatar
  • 131