The tag has no usage guidance.

learn more… | top users | synonyms

8
votes
1answer
1k 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 ...
6
votes
2answers
4k 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 ...
5
votes
1answer
643 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 ...
5
votes
3answers
2k views

Double Wildcard SSL Certificates

Is there a registar that offers SSL certificates for: ..domain.com or something_fixed.*.domain.com? -- M.
5
votes
1answer
2k 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?
5
votes
4answers
4k 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 ....
5
votes
2answers
6k 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....
4
votes
2answers
629 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 ...
4
votes
3answers
3k 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, ...
4
votes
1answer
91 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, ...
3
votes
1answer
199 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 ...
3
votes
1answer
253 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 ...
3
votes
2answers
139 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. ...
2
votes
4answers
663 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 ...
2
votes
2answers
851 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....
2
votes
4answers
594 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 ...
2
votes
3answers
691 views

SSL wildcard certificates and trailing 'www'

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 without a trailing www (if there is one). So it has,...
2
votes
2answers
90 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 ...
2
votes
1answer
86 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 and only .htacess and FTP access, how can I create a hosting site that when the user ...
2
votes
3answers
2k 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 ...
2
votes
3answers
644 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 ...
2
votes
1answer
201 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 ...
2
votes
1answer
929 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,...
2
votes
1answer
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 ...
2
votes
2answers
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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
527 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 ...
2
votes
1answer
62 views

Apache wildcard subdomain endlessly loads page

I'm on a Hostmonster VPS. I've pointed the A record *.example.com to my server's IP. Here's the main virtual host that's auto-generated by the server: <VirtualHost 162.144.48.232:80> ...
2
votes
1answer
434 views

wildcard subdomains for wordpress network

tyring to set up wildcard subdomains for wordpress 3 on localhost in Ubuntu 11 and no idea how to go about debugging this. Wordpress and wildcards seem to be set up correctly. If I create /var/www/...
1
vote
3answers
140 views

Are SSL certificates fixed to IP's within a region?

I need to purchase a wildcard ssl certificate. I am looking at purchasing it from Comodo, however when I go to purchase it there is a question asking to "select the region that you are located in". ...
1
vote
2answers
101 views

Virtualhost - defning subdomains each with separate folder

I currently have one main domain: mydomain.com This is working fine. What im trying to do is now adding a subdomain through my mydomain.conf file, so that I can have: sub.mydomain.com I've tried ...
1
vote
1answer
2k views

SERVER_NAME vs HTTP_HOST (Nginx + PHP)

I have a catchall server configuration that gets all sub-domains and point them to the same PHP script. There are thousands of sub-domains and they are created dynamically. The PHP script uses the ...
1
vote
2answers
269 views

wildcard dns redirect to root as well

I want to setup dns to allow wildcards eg. xxx.mycompany.com So I have setup the following dns entry *.mycompany.com 111.111.111.111 However just visiting mycompany.com does not resolve. For now I'...
1
vote
3answers
685 views

Catch-all subdomains email

I want to catch all emails sent to * @ *.domain.com to a single account, how do I do that? I've already set up a wildcard MX record, and it resolves correctly. But I'm having trouble finding any ...
1
vote
1answer
288 views

configure nginx name.site.com to blah/name?

I would like all subdomains to be mapped to a particular folder and 404 if nothing exist. So if i have a wordpress install i would like nginx to see ANYTHING.mysite.com and attempt to host files from /...
1
vote
2answers
174 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,...
1
vote
1answer
496 views

DNS failure for wildcard subdomains

I just moved my domains to another hoster, all works ok but just the pages I have under my wildcard domain seems not to be working / found by the server at all. What do I need to configure next to ...
1
vote
1answer
947 views

Wildcard on DocumentRoot for virtualhost

i use this config in apache2 for wildcard subdomain and works good : <VirtualHost *:80> DocumentRoot /var/www/ ServerName sumdomains.example.com ServerAlias *.example.com RewriteEngine ...
1
vote
1answer
1k 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 ...
1
vote
2answers
193 views

subdomain of a subdomain on Server 11.10

I have a server that hosts mydomain.com. Then I have a server that hosts subdomain1.mydomain.com. On the subdomain1.mydomain.com server, how do I make subdomains? For instance I want to create ...
1
vote
1answer
240 views

Is it possible to use one wildcard subdomain for both Web and Incoming Email?

Is it possible to use one wildcard subdomain for both web and incoming email? So, for instance: random01.example.com => handled by web server user01@random01.example.com => handled by email server ...
1
vote
2answers
1k views

How to setup nginx server with wildcard DNS

This is about an sample Rails app that uses subdomains. You can access it here: http://rodrigora.com.br. In this app, you can create site and specify one subdomain for it. Example: site: ...
1
vote
1answer
68 views

wildcard ssl for subdomains

I generate my ssl keys via openssl use this commands: openssl req -passin pass:3a1b -new -key server.key -out server.csr; cp server.key server.key.org; openssl rsa -passin pass:3a1b -in server.key....
1
vote
1answer
704 views

Amazon ec2 - WildCard Sub-Domain

I'm running an ec2 instance on ubuntu running lamp stack. I configured my httpd.conf file to support wildcard sub-domain but it didn't work. My httpd.conf file NameVirtualHost * <VirtualHost *...
1
vote
1answer
1k views

How to create virtual subdomains by using DNS with wildcard

I want to create many virtual subdomains e.g my original site is www.Test.com but I want that my site users can open my site with the given pattern username.Test.com Can you please help me for this ...
1
vote
1answer
215 views

Wildcard SSL certificate and subdomain levels

our server url schema is setup like this: customer-domain.extension.clients.example.com For example: customer-domain.net.clients.example.com So the clients.example.com never really changes but ...
1
vote
1answer
34 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 ...
1
vote
1answer
59 views

Wildcard DNS to NOT resolve a specific entry

I have a wildcard DNS on my external service: *.example.com I have one specific service, that I need to NOT resolve externally, to help a VPN service type connection fail silently. If there a way ...
1
vote
1answer
5k views

How to properly set DNS for subdomains on Plesk 12? [closed]

I re-installed a virtual server of mine and updated it to Plesk 12.0.18 (Ubuntu 10.04.4 LTS). The reset and reinstall was done automatically by HostEurope, the update from Plesk 11 to 12 was done ...
1
vote
1answer
2k views

From Apache to Nginx: complex rewrites with wildcard subdomains

I'm transitioning from Apache to Nginx and I'm trying to figure out how to get my subdomain rewrite rules to work. Apache The Apache configuration I have basically moves all traffic to HTTPS and ...