The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
30 views

Apache VirtualHost Multiple Wildcard Domains / SSL

I'm trying to figure out the configuration for the following: Multiple Domains - (example1.com, example2.com, example3.com) Single Virtual Host Wildcard Subdomains (*.example1.com, *example2.com, ...
1
vote
1answer
33 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 ...
0
votes
2answers
55 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 ...
0
votes
1answer
59 views

How to parse and retrieve both subdomain and host name label in Nginx

I'm working with an environment for testing purposes based on a few magento versions over a nginx + php-fpm + mysql stack, i puts each distribution in a different folders and in the nginx vhost config ...
1
vote
1answer
250 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 ...
2
votes
2answers
135 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 ...
0
votes
1answer
59 views

Setting up wildcard subdomain on ubuntu 14.04 with a2ensite?

I am using apache on ubuntu 14.04. I set up a wildcard domain for my site but it isn't working how I would like it to. I want www.example.com --> /var/www/mysite example.com --> ...
0
votes
1answer
27 views

Purchasing Godaddy SSL Exchange 2010 Server

I have created a CSR for our Microsoft Exchange 2010 Server (domain: mail.domain.com (example). We have a hosting account with Godady (DNS Hosting only as well). We do not have SSL Cert and need to ...
2
votes
1answer
96 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 ...
1
vote
1answer
208 views

nginx wildcard server_name for subdomain gives index.php 404 error

I've been using this server configuration for wordpress which works great on my local machine: server { server_name example.example root /home/user/sites/example/example/html; index ...
1
vote
1answer
93 views

Apache Sub-Subdomains and existing wildcard Subdomain

So I have an existing wildcard DNS A record, and subdomain virtual server setup as follows DocumentRoot /path/to/code <Directory "/path/to/code"> allow from all Options +Indexes ...
0
votes
1answer
2k 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
2answers
91 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 ...
0
votes
1answer
92 views

Setup my own DNS server to support wildcard domains?

My registrar doesn't support wildcard domains through their DNS system, but I can define my own DNS Services, I can't change my registrar (I know, the "why" is beyond the scope of my question :)), ...
1
vote
2answers
288 views

Lighttpd rewrite subdomains to subfolders

I have a server (itself on a subdomain) with wildcard DNS pointing to it. The server is running Lighttpd and PHP. I need requests to http://any-subdomain.server.example.com to rewrite to ...
1
vote
0answers
106 views

How to configure servers on LAN to emulate no-ip.com functionality with dnsmasq and apache wildcard subdomains?

I have a multi workstation LAN with Apache2 serving a website at 10.0.0.3:80 and running on Ubuntu Linux. This LAN is segmented from another LAN via a router, from which all machines on this LAN ...
4
votes
2answers
2k 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 ...
0
votes
2answers
1k 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 ...
-3
votes
1answer
165 views

How do I send different SSLCertificateFile based on SSL_TLS_SNI environment variable? [closed]

Idea is to run a wildcard cert off an internal CA for *.domain.com, while public-facing domain.com site is validated by a world recognized CA. Application serving requests is the same though, so I'd ...
1
vote
1answer
1k 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 ...
2
votes
1answer
118 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 ...
1
vote
1answer
147 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 ...
2
votes
1answer
59 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> ...
1
vote
1answer
310 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
2answers
562 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: ...
2
votes
1answer
3k 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 ...
0
votes
1answer
79 views

How to route/redirect *.foo.org --> *.foo.biz via DNS records?

I registered my domain foo.org and along with it they gave me foo.biz for free. I don't really like it, but as I said, they gave it to me for free... And I want to route absolutely every request ...
0
votes
1answer
63 views

Expose a directory as public but hide another same-level directory

I have a web application that has the following directory structure: /subdomain_name /app /public This web application is installed for every new user in our VPS. They provide a subdomain ...
2
votes
1answer
58 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 ...
0
votes
1answer
350 views

Apache2 VirtualHosts and wildcard subdomains

Is there a way to setup a catchall (for subdomains) virtual server for a single domain, where I have a couple pre-defined subdomains. ie: webmail.example.com -> points to "/var/web/roundcube" ...
2
votes
3answers
515 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 ...
0
votes
2answers
288 views

DNS wildcard entry from *.domain.com to www.domain.com

If a user enters ww2.domain.com he should be redirected to www.domain.com. This should be possible for all sort of subdomains (e.g. xxx.domain.com, ww.domain.com, ...). How should I set up the DNS ...
-2
votes
2answers
143 views

how to allow users to use their own domain name to access their page [closed]

I am going to build an album website using Django 1.5. one of the feature I want to provide my members is to use their own domain name. www.albumn123.com/user/mike www.mike.com now, the site is ...
1
vote
1answer
686 views

htaccess - Wildcard subdomains to subfolders

So the idea is that I have: domain.com/.subdomains/domain1 (2,3,4,etc) And I want to map: domain1.domain.com -> domain.com/.subdomains/domain1/ domain2.domain.com -> ...
-2
votes
2answers
84 views

is it possible to Point a cname record to a wilcard subdomain [closed]

*.mydomain.com is pointing to this directory /home/mydirectory so if I enter : foo.mydomain.com or bar.mydomain.com it points to /home/mydirectory in another domaine I've set a CNAME as : ...
6
votes
1answer
676 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 ...
0
votes
0answers
43 views

Point Domain containing customer name to single application

We are building a SAAS based product where in customers procure the product by registering with a unique name appended before the domain name. Ex. "abccompany.bestproduct.com" Likewise there would be ...
0
votes
1answer
143 views

Redirect invalid subdomain request to proper location

We've got site at a subdomain (new.example.com) and previous version of the site at the root (example.com). The previous version is a WordPress network with wildcard subdomains. The static subdomain ...
0
votes
1answer
495 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 ...
0
votes
0answers
279 views

mod_rewrite in .htaccess w/ wildcard virtual hosts - preserving subdomain while funneling requests through index.php

I have a project which utilizes wildcard subdomains to allow requests for www.foo.com, api.foo.com, & admin.foo.com to utilize the same document root. Routing for this project is based initially ...
0
votes
1answer
259 views

Receiving email to wildcard subdomain @ any alias (anyalias@*.domain.com)

I have seen lots of SaaS solutions provide client specific email URLs like the following: anyalias@*.mydomain.com. This is a new concept to me but i need to adopt it for future application ...
1
vote
2answers
156 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 ...
2
votes
2answers
519 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, ...
4
votes
1answer
76 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, ...
0
votes
2answers
85 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 ...
0
votes
1answer
49 views

catch all unused sub domains not working

im using wildcard subdomains and would like to specify the directory to send an unused subdomain. i have edited the 000-default in my sites enabled but that does not effect anything. how could i ...
1
vote
1answer
275 views

Configure dynamic subdomains with wildcard

I want to keep some web projects in my local host so my customers can access some webapps I'm developing. I've got a domain name that is currently mapped to my dynamic home ip. e.g: ...
0
votes
1answer
238 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 ...
4
votes
1answer
418 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 ...
3
votes
1answer
162 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 ...