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.
Questions tagged [wildcard-subdomain]
456 questions
2
votes
2 answers
Pass subdomain as parameter
I'm new to ISAPI_Rewrite & I'm terrible with regular expressions. I'm in need of a rewrite rule for ISAPI_Rewrite that will remove the subdomain and pass it as a parameter. For example:
mysubdomain.mydomain.com
should…

James Hill
- 60,353
- 20
- 145
- 161
1
vote
2 answers
Rewrite special subdomains to special scripts and catch-all-subdomains to script
I'm failing at creating a script for my .htaccess file.
I want the following Rewrites:
www.domain.tld -> domain.tld (no problem)
admin.domain.tld/(.*) -> domain.tld/?show=admin$1
(everyothersubdomain).domain.tld ->…

Maddis
- 577
- 1
- 6
- 19
1
vote
2 answers
Passing variable through subdomain wildcard redirect?
I am working on a new script that basically instead when somebody searches for something on my website how it normally goes to here:
http://domain.com/index.php?q=apples
to
http://apples.domain.com
I have made this work perfectly in PHP as well as…

deadlyeffect
- 63
- 6
1
vote
2 answers
How to make this with htaccess?
How to make this with htacess:
http://example.com/category => /index.php?action=category
http://example.com/category?query=string => /index.php?action=category&query=string
http://example.com/category/subcategory =>…

Aghaie
- 44
- 7
1
vote
2 answers
should wildcards belong to CNAME or A NAME?
should wildcards belong to CNAME or A NAME? Both looks the same to me, and googling gives me a inconclusive result.
Any rational and implications behind for choosing one over the other? (underlying DNS server software? web hosting software? speed?)
eatsleeplim
1
vote
3 answers
rails subdomain
I went to this tutorial http://railscasts.com/episodes/221-subdomains-in-rails-3 and trying to implement in http://ngtv2.info
but after I place the code in routes.rb
match '/' => 'projects#show', :constraints => { :subdomain => /.+/ }
and then…

King Pangilinan
- 597
- 1
- 14
- 26
1
vote
0 answers
DNS not mapping to subdomain - Vercel
I'm working on a blogging infrastructure and I'm sort of practicing how things are going to work with the domains. I have figured how to make users have their own subdomain and fetch their blog based on that. Now, I'm trying to figure out how users…

xing0x
- 11
- 1
- 2
1
vote
0 answers
Where Do I get Certificate For Heroku Wildcard Domain?
I am building an app and I want to use a wildcard domain (e.g. *.domain.com). In order to add this domain to Heroku, I need to obtain a wildcard SSL certificate and import it manually to Heroku. I am using Cloudflare as my domain provider. Where can…

1baz
- 148
- 1
- 9
1
vote
1 answer
Can I use a wildcard like https://sub-*.domain.com in my CSP?
I have a domain that has three different subdomains (the naming convention is sub-environment.domain.com). I want to add them to the Content Security Policy, but was wondering if I can use a wildcard like…

Brad
- 12,054
- 44
- 118
- 187
1
vote
1 answer
wildcard certificate support using Autocert (golang)
implementing a https go server with wildcard certificate support.
package main
import (
"crypto/tls"
"log"
"net/http"
"golang.org/x/crypto/acme/autocert"
)
func main() {
certManager := autocert.Manager{
Prompt: …

hemanth koganti
- 103
- 2
- 12
1
vote
1 answer
Wildcard Subdomain help needed
I want to dynamically create subdomain sites such as "user1.example.com", "user2.example.com" and serve static html and css based on subdomain. For a real world example blogger.com servers html and css for different users on blogspot domainl link…

Chetan Jain
- 236
- 6
- 16
1
vote
0 answers
How can i make a subdomain automatically when a user register
Hi i tried everywhere but i cant get the solution. i am using vhost and nodejs to make subdomain in vhost documentation they not provided how to make subdomain dynamically my actual question is how can i make a subdomain with the name of the user…

Tony George
- 116
- 14
1
vote
1 answer
How to get credentials from Google-Calendar-API for an app that has many subdomains?
I have an application that's many subdomains, and amoung all, has 500 concurrent users. And I need integrate Google Calendar to my app, but Google deny the use of wildcards (*) for subdomains.
And is not posible charge all URLs in Google Console.…

Luciano Amerio
- 11
- 1
1
vote
0 answers
Laravel - Dynamic Wildcard Subdomain Creation on GoDaddy Server
I want to create wildcard dynamic subdomain on GoDaddy server with Laravel framework.
For this.
I have added A record in my DNS zone in domain setting like this...
Then in Laravel routes file I have added like this....
But then also it is not…

jay.jivani
- 1,560
- 1
- 16
- 33
1
vote
1 answer
How to set cookie from a domain into a subdomain
This is a protocol question - not related to a specific programming language.
Let's say we currently have:
a website using the domain: example.com
a frontend app at: example.com/example-front
an API at: example.com/api/example-data
all addresses…

David Levy
- 203
- 2
- 10