Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wildcard-subdomain]

The tag has no usage guidance.

0
votes
0answers
15 views

.Nginx subfolder to subdomain [duplicate]

Below is the code configuration from NGINX. Well i'm new on this server, so i ask you how can i have subfolders to (virtual host) subdomains. After a lot of search I have found this gists but it does ...
0
votes
0answers
32 views

Specific sub-domain of DNS A record wildcard (*) doesn't work

I own two domain names (cyklussoftware.com and totalstudent.io). They are both registered through and managed by GoDaddy. Both of them have an @ and a * in their DNS A records. Both the @ and the * ...
4
votes
1answer
346 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....
1
vote
0answers
58 views

Apache .conf to redirect all http subdomains to corresponding https subdomains via wildcard alias

I need to point each http://sub.example.com subdomain to its corresponding https://sub.example.com. This is for use with WordPress multisite and my wildcard DNS records and wildcard Certbot cert. ...
0
votes
1answer
116 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. ...
2
votes
1answer
97 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 ...
1
vote
1answer
74 views

need htaccess to define wildcard subdomain for a wordpress multisite install

I've installed a WordPress Network using subdomains on an existing install, to make an english version of my current site (in french), but I get a 404 error on the new subdomain site. If I create a ...
1
vote
2answers
274 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 ...
0
votes
0answers
29 views

wildcard certificate with unnamed sub domain

I have purchased a wildcard subdomain for one of my domain names. Here is the issue I am running into: I have a WordPress plugin that integrates with a 3rd party membership site. The membership ...
-2
votes
2answers
45 views

Nginx - Configure domain and multiple subdmains pointing to same root

My wish is to configure my site in a such way that: company.fr collaborator1.company.fr collaborator2.company.fr ... the domain and associated subdomains point to the same directory root. Under the ...
0
votes
0answers
403 views

Why does app engine return a 404 error on my wildcard subdomain?

I have set up a wildcard subdomain for our project custom domain in app engine. The DNS CNAME has also been updated with the wildcard record. Our nameservers are with Cloudflare which supports ...
0
votes
1answer
240 views

WS2016 RDS Gateway, Connects Internally not Externally

Here is what I have done so far - Configured Remote Desktop Services Purchased a domain "domain.com" Purchased a wild card ssl certificate, the thought is that I want to use "rds.domain.com" to ...
2
votes
1answer
772 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 ...
0
votes
1answer
62 views

How can I prevent error when subdomain does not exist?

Every subdomain is in a separate folder. I capture the subdomain and set the root to the correct folder with this code: server_name ~^(?<sub>.+)\.mysite\.com$; root "/path/to/my/site/$sub"; ...
0
votes
2answers
332 views

Let's Encrypt with dynamic subdomains

Setup is like this. I've got a domain e.g. example.com I've setup Apache2 with a VirtualDocumentRoot, this way I can point a subdomain to a specific folder in an easy way: File sites-available/...
1
vote
1answer
171 views

Wildcard on DocumentRoot rewrite for virtualhost

I use this config in apache2 for wildcard subdomain and works well: <VirtualHost _default_:80> UseCanonicalName off Options FollowSymLinks VirtualDocumentRoot /var/www/domains/%0/...
0
votes
1answer
749 views

Reverse proxy for wildcard domains - apache linux

I am trying to setup reverse proxy for wildcard domain, but my configuration don't simply work after I login to the application. This server is running Apache aka httpd service with port 80, 443 on ...
2
votes
0answers
237 views

FTP over SSL: Verify return code: 21 (unable to verify the first certificate)

I am trying to verify a SSL connection to one of my (sub) domains. I've installed a wildcard cert on IIS for a particular sub domain. When I check the connected website instance via https://www....
2
votes
1answer
521 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 ...
1
vote
1answer
101 views

SSL for multiple servers and sub-domains

I have purchased a wildcard ssl certificate from RapidSSL and trying to set it up. Essentially I want to be able to use it as: example.com app.example.com *.app.example.com and that'd be also good ...
1
vote
3answers
50 views

Subdomains On The Fly, but different IPs

My team and I are creating a service that when user request, it creates a new server instance on the fly, with a different IP for each new instance. The issue is that I'm connecting from a client via ...
3
votes
1answer
1k 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. ...
2
votes
2answers
329 views

SSL wildcard certificate + SAN to match multiple specific subdomains of wildcard section

Say I own the domain, domainname.com, and what to setup multiple websites as sub domains on this domain, but these websites also use several special endpoints as further subdomains, can I put them all ...
0
votes
1answer
778 views

Using a wildcard certificate for Exchange 2013

Until now I used a local CA signed certificate for my Exchange, but all foregin users could not trust the connection with their Outlook or browser to OWA webapp. I bought a wildcard certificate for ...
0
votes
1answer
770 views

How to redirect all wildcard subdomain to a particular subdomain? Having issues with a subdomain which runs nextcloud server

I want wildcard subdomains that do not exist like x.example.com, y.example.com etc., to redirect to 404.example.com. I am using Apache 2.4. How can I do this? What I tried: My 404.conf: <...
2
votes
0answers
243 views

PFSense wildcard records for local hosts

PFSense 2.3.2-RELEASE-p1 I have a local server running Apache. www.office.lan resolves to this server's IP. I want to run multiple virtual hosts, each accessible by a unique subdomain, for example: ...
1
vote
1answer
41 views

GoDaddy Wildcard Certficiate on GoDaddy Hosted Site and Self Hosted Subdomains

I have a few self hosted servers on my domain and my main website is hosted on Godaddy itself. One self hosted server needs an EV Certificate and we didn't want to change that, but I figured the ...
0
votes
2answers
41 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 ...
0
votes
1answer
1k views

Lets Encrypt Nginx - Your connection is not secure - for wrong subdomains

I have encryption from lets encrypt which is working fine. My configuration of Nginx allows only SSL connections. www.example.com, example.com, blog.example.com - all are working fine. The problems ...
0
votes
3answers
321 views

Wildcard certificate use [duplicate]

I been working on and with SSL certificate's for a bit now and my organization is thinking of going with a Wildcard certificate vs the Multi-domain san certificate we have now. What I need to know, is ...
2
votes
0answers
53 views

Redirect subdomain to the user profile

I want to redirect all subdomains to the user profile , eg: redirect this URL : http://alexusername.example.com To : http://alexusername.example.com But showing the content of : http://example....
0
votes
0answers
109 views

Multiple/Overlapping DNS wildcards

for a Domain mydomain.com, I have the following entries: ; Canonical Name definition * 600 IN CNAME www *.staging 600 IN CNAME newdomain.com. www IN CNAME ...
0
votes
1answer
292 views

Apply location directives to subdomains and sub-subdomains on NGINX

I'm trying to setup a site on NGINX so the second level domain is visible publicly, but access to subdomains is restricted. Basically a dev.domain.com should be restricted to my IP, and staging.domain....
1
vote
1answer
88 views

mod_write HTTPS remove “www”

I'm trying to prepare for the upcoming Chrome "Non Secure display" v56 release. I run a website service: example.com I give each customer a sub domain off the service: cust1.example.com, cust2....
0
votes
0answers
36 views

Does regenerating a wildcard SSL with CA invalidate it across previous properties/sites?

I'm migrating my company's primary website to a new production environment. I'm going to rekey and regenerate the SSL against the new production environment. The SSL cert we have is a wildcard cert ...
0
votes
0answers
33 views

only www.*.domain.com certificate for wildcard domain [duplicate]

I haven found a answer to the question from 2013 but is this answer still valid with SNI. SSL wildcard certificates and trailing 'www' Is it possible to have a certificate or SAN with www.*....
7
votes
6answers
1k 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 ...
1
vote
1answer
131 views

Setting up a wildcard catch-all VirtualHost on a domain that has existing valid subdomains

I am trying to configure my Apache instance to support a catch-all sort of construct for domains. I want the root domain, ie: example.com and all *.example.com to be directed to one specific ...
0
votes
2answers
69 views

Can I activate a wildcard SSL on a subdomain that has an A record

I am a noob when it comes to System Administration or Networking and I thought I would get some valuable insight from the pros in here. I work for a university and we host our website with a web ...
4
votes
1answer
4k 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 ...
0
votes
2answers
1k views

Nginx redirects: enforce subdomain and SSL

There are a lot of questions on ServerFault that cover parts of this question, but I'm having a hard time piecing them together. I have a fresh nginx server with a Wildcard SSL cert installed. All ...
1
vote
1answer
310 views

Wildcard Subdomains and Custom Domain Names

I have some questions regarding Nginx configuration with wildcard subdomains, and then how custom domains come into the picture. Here is my situation. Let's say I own the site awesome.com. When a ...
7
votes
3answers
3k 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. ...
1
vote
2answers
143 views

htaccess: limit to only certain sub-domains

I have a wildcard ssl setup on Apache for a domain so that I can create any type of sub-domain on the fly. <VirtualHost *:443> DocumentRoot "/var/www/html" ServerName www.domain.com ServerAlias ...
0
votes
1answer
404 views

How to have a dynamic DocumentRoot in apache2 site config file?

I need to configure my evelynblac.com.conf file so that any request with a subdomain gets mapped to the directory named after the subdomain (please see image in link). How can I do this? <...
4
votes
1answer
1k 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 ...
1
vote
1answer
894 views

Wildcard subdomain redirect to folder without changing the url

So I got my htaccess file set up, it look like this: Options +FollowSymLinks RewriteEngine on RewriteBase / # MAGIC RewriteCond $1 !/$ RewriteCond $1 !\. RewriteRule ^(.+)$ /$1/ [R=301,L] # //...
0
votes
1answer
42 views

Subdomain redirection is causing an error in apache

I am redirecting https://username.mywebsite.com/ to https://mywebsite.com/username using this redirection RewriteEngine On RewriteCond %{HTTP_HOST} ^(.*).mywebsite.com [NC] RewriteRule .* https://...
1
vote
1answer
296 views

Manage DNS for AWS EB site with hundreds of dynamic subdomains

A Domain Name System (DNS) problem: (also asked on stack-overflow) I've got an Amazon Web Services (AWS) Elastic Beanstalk (EB) site with potentially thousands of subdomains. Apparently it's not ...
0
votes
2answers
4k 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 ...