Questions tagged [wildcard-subdomain]

Wildcard subdomains are useful to allow end users of a domain-based multisite network to create new sites on demand. In this type of network each new site has its own subdomain, and the wildcard configuration means that those subdomains do not have to be configured individually.

456 questions
3
votes
1 answer

Wildcard DNS for only first level subdomain

I want to know how to set a wildcard DNS for only first level subdomain, example: user.example.com // valid www.user.example.com // invalid I have my BIND zone domain configured like this: ; example.com $TTL 86400 @ IN SOA …
Fong-Wan Chau
  • 2,259
  • 4
  • 26
  • 42
3
votes
1 answer

Wildcard subdomain and subfolders as parameters in .htaccess

I have a portal site http://www.mysite.com/ where customers sign up and they get their own subdomain version of the site to run my app. I've set up the wildcard subdomain DNS/VirtualHost etc and got it working. What I am trying to set up is my…
Lucas Young
  • 187
  • 2
  • 13
3
votes
5 answers

Naked Domain with Heroku and BigRock

I have my domain name example.com from domain registrar BigRock, which also provides me the DNS management panel. My application is hosted at Heroku at example.herokuapp.com. Domain Settings at Heroku: bash-3.2$ heroku domains === MyApp Domain…
Jatin Ganhotra
  • 6,825
  • 6
  • 48
  • 71
3
votes
1 answer

Wildcard subdomain redirect using mod_rewrite

I am trying to figure out how to do a redirect using mod_rewrite to a new domain, that will include a wildcard subdomain redirection. I am hoping for such result: domain1.com -> domain2.com domain1.com/foo/bar?baz=quux ->…
Michal M
  • 9,322
  • 8
  • 47
  • 63
3
votes
1 answer

Use wildcard SSL subdomains with a Windows Azure ASP.NET application

I have the following scenario and I need help to deploy it to Windows Azure. I have the following ASP.NET site that routes customers based on the first part of the DNS…
Andrea
  • 803
  • 1
  • 12
  • 27
3
votes
1 answer

Starting a php $_SESSION on root domain (www) and sharing the session across subdomains

I'm trying to set my PHP $_SESSION and have it usable across all subdomains. This works fine except when trying to retrieve the session from the root domain (www). If I initiate the session while on www then it will not share with any sub domain. …
Todd Low
  • 437
  • 1
  • 3
  • 8
3
votes
1 answer

Wildcard SSL and CNAME

I am using Amazon EC2 ELB and following their recommendation of using CNAME to refer to the public DNS of the ELB: $ nslookup qa.mydomain.com Server: 192.168.1.1 Address: 192.168.1.1#53 Non-authoritative answer: qa.mydomain.com canonical…
Raj
  • 2,852
  • 4
  • 29
  • 48
2
votes
1 answer

Bind IIS wildcard subdomain

I need to add a "Site Mapping" on IIS 7.5 to accept domains that meet some wildcard, for example: I need some web site to be mapped to the subdomain: *.aaa.bbbb.com That means: anything.aaa.bbbb.com and so.
Saw
  • 6,199
  • 11
  • 53
  • 104
2
votes
1 answer

What url rewriting or wildcard subdomain rule be followed in this given case?

I am totally new to URL Rewriting and WildCard Subdomain management. My requirement is that I have a gridview in my ASP.Net 3.5 WebApp from where a hyperlinks navigate url property is dynamically generating the following url.…
user240141
2
votes
0 answers

Point sub domain to another domain on another server

is it possible to point my example.com domain to another domain like example2.com on another server ? my idea is to point {variable}.example.com to example2.com/{variable} like A.example.com -> someoneElseServer.com/A B.example.com ->…
Aiman
  • 33
  • 3
2
votes
1 answer

Wildcard subdomain redirection workaround

I have one application running on AWS amplify and have a custom domain associated with the app. One of my use cases is to have a dynamic number of subdomains (per customer based) so I can have e1.example.com, e2.example.com, and so on. But the…
2
votes
1 answer

cert-manager DNS01 Challenge fails - found no zone for wildcard domain

I'm getting this error in wildcard certificate challenge: Error presenting challenge: Found no Zones for domain _acme-challenge.my-domain.com. (neither in the sub-domain noir in the SLD) please make sure your domain-entries in the config are…
2
votes
1 answer

Wordpress Multisite - Redirect Subdomain to root with .htaccess

I've changed our website to a wordpress multisite. On my localhost everything worked like it should. But on our production site I'm having some problems. The normal site works after the new setup (example.com) but when I create a subdomain site…
Gamernamer
  • 165
  • 1
  • 1
  • 13
2
votes
1 answer

Local nginx wildcard installation not loading JS files

I have installed a nginx server configuration on my localhost. It's a multi store PrestaShop 1.6.1.4. You can see the nginx configuration right here: server { listen 80; listen [::]:80; root /var/www/html/devsite; index index.php index.html…
Raül
  • 137
  • 3
  • 15
2
votes
2 answers

Custom hostname for AWS ClientVPN?

Say I have the following record: *.foo.bar CNAME *.baz.qux If I do a DNS query on test.foo.bar, will it return the record for test.baz.qux? Or will it do something else? EDIT: There's a reason for wanting to do this. AWS's Client VPN provides an…
Jordan
  • 3,998
  • 9
  • 45
  • 81