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
1
vote
1 answer
Virtual directories as DB queries
I have a site, e.g. site.com
I would like users to be able to access it in their locale at site.com/somecity
This is similar to craigslist, but they do it with subdomains e.g. sfbay.craigslist.org
Using Apache HTTP server.
MySql for DB.
If you can…
None
1
vote
1 answer
Record name route to cloudfront
My cloudfront distribution have "*.example.com" as CNAMEs and a loadbalancer as origin.
I route traffic from my route53 records directly to my cloudfront distribution domain name.
Some records have subsubdomain named randomly. So they look like…

AWS tryhard
- 11
- 2
1
vote
0 answers
Redirect Loop IIS10 UrlRewrite w/Wildcard SSL
I'm experiencing some weird redirect loops on mobile devices and sometimes desktops. I think it has to do with my URL Rewrite rule and the wildcard SSL certificate/Bindings.
In IIS my bindings are:
HN:mydomain.com - IP:MYIP
HN:www.mydomain.com -…

UserSN
- 953
- 1
- 11
- 33
1
vote
0 answers
How to point cname to nginx server that uses reverse-proxy
I've got a server using wildcard subdomains. I'm using nuxtjs, nginx that runs on a reverse proxy on port 3000. Every user should be able to create a subdomain on the site, for example subdomain.learnbot.tk this will then point to…

Matilde
- 31
- 1
1
vote
2 answers
Each wild card sub-domain points to different IP address
I have been using AWS Route-53 as dns service for my application and say in my code, for every http request I have a requirement of creating some dynamic sub-domains and point it to the new ec2 instance that gets created on fly.
Any one should now…

Jaykishan
- 21
- 1
- 4
1
vote
0 answers
Create subdomain masking for each user in WordPress
I am trying to add subdomain URL for each user.
For eg: if my site has a user name as John then the URL which he will be sharing with his users is http://john.example.com and this should open the home page for my site http://example.com.
My site is…

Swapnil Ghone
- 708
- 9
- 17
1
vote
1 answer
Wildcard SSL certificate on Google App Engine + Cloudflare
I have a domain, example.com and want to support wildcard subdomains such as *.example.com on SSL.
My app is running on Google App Engine and hoping to use Cloudflare to proxy all the requests to my domain on SSL. Please note I'm on the Free plan…

Rachel
- 152
- 9
1
vote
0 answers
Asp.net rewrite url as subdomain with using Wildcard DNS record in Windows IIS not working
I'm trying to rewrite urls in IIS as subdomains.
For example:
I have a webpage: http://websitetrafficcheck.com/site.aspx?url=google.com
and trying access without creating a real subdomain in DNS & IIS, http://google.com.websitetrafficcheck.com
I…

Sam Salim
- 2,145
- 22
- 18
1
vote
0 answers
Dynamic subdomain creation in Node / Angular app without nginx
How can I create subdomains dynamically for each newly registered user in my Node / Angular app? I have come across several posts that suggest using an nginx server. Is there a way to accomplish the same thing but without using nginx?
Edit: I want…

Manvendra Singh
- 55
- 1
- 8
1
vote
1 answer
redirecting sub sub domains in a wildcard vhost apache (xampp) setup
I am using XAMPP and Acrylic DNS Proxy on Windows 10, and I need to create several apps per day or week, these apps needs sometimes to be served from different domains, I'd like to use subdomains in this cases.
I am trying to serve several apps from…

JBoulhous
- 844
- 7
- 11
1
vote
0 answers
How to use a block for all non-root paths in nginx config?
In a single page app behind nginx, I'd like all non-root paths to be handled by an upstream server:
upstream socket_nodes {
server 127.0.0.1:5000;
}
server {
listen 80;
index index.html;
location / {
try_files $uri $uri/ /index.html;
…

Karlom
- 13,323
- 27
- 72
- 116
1
vote
0 answers
Restrict PHP in subdirectories
I have registered a wildcard subdomain record for the dir /.../public_html/hosting/accounts/. When a user requests a hosting space, I generate a folder in accounts. My index.php (which is also the 404 ErrorDocument) in accounts uses some basic PHP…

user12518018
- 5
- 2
1
vote
2 answers
laravel main domain route is taking precedence over dynamic subdomain
I am working on a Laravel project and have built a functionality to create dynamic subdomain which is really fine. here is the code of route.
Route::group(['domain' => '{subdomain}.{domain}.{ext}'], function($subdomain)
{
Route::get('/',…
user2711639
1
vote
1 answer
How to redirect all subdomains to main domain using htaccess?
I have looked through and tried many different suggestions all to no avail. please help!
I want to redirect all subdomains to main domains. I have pointed the DNS for wildcard subdomains to my IP with A zone and currently any subdomain entered will…

Chris
- 147
- 2
- 17
1
vote
1 answer
wildcard SSL/TLS certificate for second-level domain rejected by browsers
I'm trying to create certificate for both test and *.test. I'm using minica to generate it and everything goes well (alt names are added):
X509v3 Subject Alternative Name:
DNS:*.test, DNS:test
(and CA certificate is added to…

marzelin
- 10,790
- 2
- 30
- 49