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
0 answers
Htacces wildcard subdomain problem
Hello I have a problem with wildcard subdomains with htaccess and mod_rewrite.
I want www.domain.com/index.php?foo=x&bar=y translated to x-y.domain.com
My htaccess looks like this
RewriteCond %{HTTP_HOST} !^www.domain.com$
RewriteCond…

Robbert Stevens
- 316
- 3
- 17
1
vote
1 answer
Multiple Sub-domain Application Design
In the past, I've only build web applications that serve one customer so they've been pretty simple and easy. Now, I'd like to build an application where multiple customers are able to host their own content/websites on subdomains of my domain,…

shyneman
- 11
- 2
1
vote
2 answers
Is this possible to create subdomains on local server?
I am working on a project using ZF3 and my requirenment related to local server. Suppose user 'test' login on the system then url for that user should be http://test.10.1.1.55
I have already googled for this and found a post
Create subdomains on…

Katty
- 489
- 6
- 28
1
vote
0 answers
https://gatorinsurances.com working but https://www.gatorinsurances.com not working
I've just install SSL for the first time. I've gotten a problem, https://gatorinsurances.com will resolve but https://www.gatorinsurances.com will not resolve.
My .htaccess code:
RewriteEngine On
RewriteBase…

Nayeem Farid
- 128
- 1
- 10
1
vote
1 answer
SSL certificate error with wildcard subdomain @AWS route53 aliased to an ELB
The setup
Route53 record(*.testing.domain.com) linked to an ELB(which uses an Amazon Certificate Manger issued certificate for *.domain.com and domain.com)
The targets of the ELB are running nginx which inturn proxy_passes the incoming requests to a…

anilkumarggk
- 166
- 1
- 11
1
vote
1 answer
Redirect or rewrite any subdomain to www leaving the rest of URL as it is
I have:
subdomainaaa.mydomain.com
subdomainaaa.mydomain.com/anything/whatever
subdomainbbb.mydomain.com
subdomainbbb.mydomain.com/anything/whatever
...
...
anysubdomain.mydomain.com ...
Practically wild card subdomain.
And I need rewrite rule to…

Mirjana Katalina
- 83
- 8
1
vote
0 answers
Apache VirtualHost and Wildcard SSL
I am trying to configure my website so that :
www.example.com alias example.com is served by a VirtualHost
*.example.com are serverd by another one with different DocumentRoot
My concern is that the first item works well, but if I call…

Jibeji
- 453
- 4
- 14
1
vote
2 answers
Mod Rewrite - Advanced issue
I am needing to translate an unknown subdomain to a variable so the following would apply:
http://test.example.com/ → http://www.example.com/?domain=test
http://xyz.example.com/ → http://www.example.com/?domain=xyz
http://www.example.com/ →…

DwayneBull
- 254
- 3
- 12
1
vote
0 answers
Proper configuration to redirect all http subdomain to https
I have a following configuration for apache.
ServerName example.com
Redirect permanent / https://example.com/
ServerName example.com
SSLEngine on
SSLCertificateFile

Jaymin Shah
- 11
- 1
- 3
1
vote
2 answers
Laravel sub-domain routing set global para for route() helper
I have setup sub-domain routing on my app (using Laravel 5.4) with the following web.php route:
Route::domain('{company}.myapp.localhost')->group(function () {
// Locations
Route::resource('/locations' , 'LocationController');
// Services
…

Sheixt
- 2,546
- 12
- 36
- 65
1
vote
1 answer
c# HttpModule to handle pseudo sub-domains
I'm new to development with .NET and working on a personal project. My project will allow users to create their own simple mobile site.
I would like to write a HTTP Module that will handle pseudo sub-domains.
I have already setup my DNS wildcard, so…
nolovelust
1
vote
1 answer
Nginx redirect only root domain but not subdomain to www
Currently I'm using setting below to redirect non-www domain to www domain and it's working fine:
server {
listen 80;
server_name example.com;
return 301 http://www.example.com$request_uri;
}
server {
listen 80;
…

Ping
- 339
- 7
- 18
1
vote
3 answers
How to catch all subdomains in plesk
How to catch all subdomains in plesk which installed in windows server 2012 ?
I founded answer for Linux servers but not same config file and other settings in windows.
I want catch all subdomains like *.domain.com in one file like domain.com/t.asp…

MohsenB
- 1,669
- 18
- 29
1
vote
1 answer
Nginx redirect for single page on single subdomain while using wildcard subdomains
I have a server block that uses wildcard subdomains, example *.example.com. I need to redirect a single page on a single subdomain to a different page, while processing all other requests normally. What's the most efficient way to handle…

Jeff
- 6,643
- 3
- 25
- 35
1
vote
1 answer
How to create custom wildcard domain in azure
I'm having an issue with setting a custom wildcard domain on an Azure Website.
The azure website is demo.azurewebsites.net
And my custom domain is tenant1.demo.azurewebsites.net
I have done following steps : --
Step A:- Login into the…

Vishal G
- 179
- 4
- 12