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
1
vote
1 answer

How Can We Add SAN to an Existing PCKS 12?

We have a wildcard .pfx file that's of the pkcs 12 convention. We have a vendor that's trying to use it, but it's only working on the whatever.company.com sites (for desktops), and not working on the m.whatever.company.com sites (for mobile). We're…
1
vote
1 answer

How to generate dynamic sub domain in laravel 5.2?

In my site (school management system) , i want to generate mini-site for each of the teacher and the admin member. Where the teachers and the admin member can put there task and other things.By using sub domain, i want to get this mini-site. So,…
abdtpbd
  • 51
  • 3
1
vote
0 answers

force https on any subdomain with a wildcard certificate

My app allow users to create a page using a subdomain, so I have hundreds of subdomains. I bought a Wildcard certificate and it works fine when you type the complete…
Chiste
  • 66
  • 5
1
vote
0 answers

Nginx Nodejs & Express - 404 on static files

I have a similar problem of this question: NginX proxying Nodejs/Express - 404 on static files https://serverfault.com/questions/635210/node-js-express-nginx-static-file-paths-break-with-name-spaced-proxy-pass This is my html:
JRichardsz
  • 14,356
  • 6
  • 59
  • 94
1
vote
2 answers

"Apache is functioning normally" on server wildcard subdomains

I have a website that use wildcard-subdomain to change languages. I work fine in localhost. When I upload to server, the default pages work fine but when I switch to English like this nghiemthu.net to en.nghiemthu.net only appear the message:…
user7057468
  • 15
  • 1
  • 4
1
vote
3 answers

htaccess, redirect virtual subdomain to URL parameter

I have a .ne.ro domain (registered in Romania) where visitors can enter with or without 'www': http://mydomain.ne.ro http://www.mydomain.ne.ro I want to redirect http://123.mydomain.ne.ro to http://mydomain.ne.ro?id=123. If visitor enter with…
1
vote
1 answer

mod_rewrite regex (too many redirects)

I am using mod_rewrite, to convert subdomains into directory urls. (solution from here). When I explicity write a rule for one subdomain, it works perfectly: RewriteCond %{HTTP_HOST} ^[www\.]*sub-domain-name.domain-name.com [NC] RewriteCond…
JP19
1
vote
0 answers

How Do I Configure Wildcard Subdomain Routing in Homestead

Am trying to implement a wildcard subdomain routing in my app. I have done the routing in my routes file. Route::group(['domain' => '{school}.myapp.dev'], function() { return $school; }); But am currently stuck on how to configure Homestead to…
ammezie
  • 355
  • 5
  • 20
1
vote
1 answer

Htaccess Trouble redirecting wildcard.domain.com to domain.com/wildcard

I am having trouble with an htaccess setup. My goal is to have a wildcard sub directory point to the appropriate folder but without changing the URL. I followed some examples here on stackoverflow and elsewhere. I already have my wildcard setup…
Derek
  • 4,747
  • 7
  • 44
  • 79
1
vote
1 answer

laravel 5.2, wildcard subdomains

I want to have routes like this: john-doe.mysite.local john-another-doe.mysite.local and then pass the subdomain name to some controller@method and present the users profiles. I'm using Laravel Homestead. Here's my /etc/hosts file from my local…
dbr
  • 1,037
  • 14
  • 34
1
vote
3 answers

How to create sub-links for user on sign up?

I am looking to create vanity url for my users. How can i do it? I want something like username.domain.com My second question is, can i also customize this upon client requests? Like let's say, Client says add a feature to my account, will I be…
AAA
  • 3,120
  • 11
  • 53
  • 71
1
vote
1 answer

How to exclude a specific subdomain from wildcard domain (Nginx)

For example, I have a domain example.com, the web app will create subdomain when user sign up. foo.example.com will point to the same site bar.example.com will point to the same site But I want to create a testing environment, e.g.…
Js Lim
  • 3,625
  • 6
  • 42
  • 80
1
vote
2 answers

Redirecting www to non www on server with wildcard subdomains

I have a Rails+Apache+Passenger setup and my app serves wildcard subdomains. I need all www URLs to redirect to their non www equivalents. www.example.net should redirect to example.net www.subdomain.example.net should redirect to…
1
vote
2 answers

Wildcard Subdomain in Nginx on Default EC2 instance

I'm using a default EC2 instance with no domain name registered. I'm attempting to test some multi-tenant functionality in a MEAN stack app using subdomains. Basically I can access the site through the browser using a default AWS public DNS…
1
vote
0 answers

How i can do wildcard subdomain support for multistore opencart 2x?

I have a question, opencart supports only specific domain names like site.com. What do I have to do to support domains like *.site.com ? Main idea: Product SEO url will replace subdomain. For example, product have SEO name iphone6, so url will be…