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
3 answers

Non-leftmost wildcard in DNS record?

Hypothetical situation: Suppose I ran a hosting firm where I hosted subdomains for people. You could sign up and give me a few bucks a month, and I'd give you yourname.mycompany.com. Now, say I wanted mail.*.mycompany.com to point to one server and…
Jim Puls
  • 79,175
  • 10
  • 73
  • 78
1
vote
4 answers

PHP HTTP_HOST subdomain extraction given that a subdomain be a wildcard and contain more than one '.'

I'm trying to extract the subdomain from the HTTP_HOST value. However I've stumbled into a problem where if the subdomain has more than one dot in it it fails to match properly. Given that this is a script to run on multiple different domains and it…
buggedcom
  • 1,537
  • 2
  • 18
  • 34
1
vote
0 answers

Get values from wildcard sub-domain and the url using mod_rewrite

I have tried for many days to solve my need. Try to find in google and read at the stackoverflow, but I stil unable to get my answer. I need to get the subdomain value including the value behind it. for example: subdomain_name.domain.com -> will…
1
vote
2 answers

How can I configure wildcard/catchall domains in OpenShift Online?

My app handles a ton of sub-domains (www.example.org, foo.example.org, bar.example.org, ...). Due to the big amount and the fact that the sub-domains are determined based on regular exports from another system, it would be virtually impossible to…
user569825
  • 2,369
  • 1
  • 25
  • 45
1
vote
1 answer

Dynamic Subdomains - ColdFusion 11

Anyone know a way to create dynamic subdomains in coldfusion 11 without having to add them to a dns server? I want to be able to redirect each of my clients in a personalized subdomain every time they log in to my system. ex: client1.example.com…
Geo
  • 3,160
  • 6
  • 41
  • 82
1
vote
2 answers

How to point subdomain to another document root in aws

I am using AWS for the first time. I have created an ec2 instance and installed Apache server , made domain mapping from GoDaddy, Now I want to create subdomains and point subdomains to the another document roots. Like this : www.mydomain.com…
1
vote
3 answers

Sub-Domain Routing Laravel 5

I have been testing sub-domain routing functionality in Laravel 5 and have had success with the following code as described in the docs. When the user visits {username}.mysite.com, the user profile view is shown as expected. Route::group(['domain'…
user3691644
  • 477
  • 3
  • 7
  • 18
1
vote
1 answer

Create subdomain on the fly like blogger.com using asp.net mvc

I want to create sub domains on the fly for each of my identity users (AspNetUsers). You can see this kind of feature available in blogger.com. I have list of sub domain names in the database Users={"abc", "xyz","blah"} My original website is…
1
vote
1 answer

Windows, Apache, Acrylic DNS, and wildcard subdomains

I'm trying to set up dynamic VirtualHosts subdomains using Apache 2.4 on Windows 8.1 with Acrylic DNS Proxy, but I'm running in to problems with Server Not Found errors. I've read so many answers already, like this one, but I can't figure out what's…
ch1902
  • 13
  • 1
  • 6
1
vote
0 answers

Wildcard-subdomain with Wordpress Multisite as Subdirectory

I have a Wordpress multisite project and the multisite network is configured as subdirectory. Let's say - domain.com/site1, domain.com/site2 (which are working properly). The server is also configured for wildcard-subdomain. Now, if I try with…
Shakil
  • 11
  • 3
1
vote
0 answers

Wildcard subdomain with dynamic subfolders, i.e. sub.example.com/folder

I have wildcard subdomains set up where the subname is incorporated in the code to determine a username. So name.domain.com gives the value Name. That works fine. But I'd like to have "wildcard subfolders" where if it's a numeric value, say…
1
vote
2 answers

Reserve certain words in subdomain/Username

I have managed to configure username as subdomain in nginx and php ( on localhost, I an not sure if it would work when I host it on DigitalOcean). But now I have two more queries/problems. Disable certain keywords like slangs, generic words etc in…
Abhinav Kulshreshtha
  • 2,147
  • 1
  • 23
  • 38
1
vote
1 answer

Laravel 4 - How to route subdomain to controller

I have a code work with laravel and Wildcard Domain. I like to using Subdomain Route for a controller and I have a route like this: # Tester. URI : www.example.com/tester/{any} Route::get('/tester/{any}', 'tester@Modules'); then i want to using…
Fredy
  • 2,840
  • 6
  • 29
  • 40
1
vote
2 answers

Subdomain and Uploadify not working

I have wildcard subdomains for example: .example.com goes to example.com/app/ It seems uploadify works fine if I use the directory instead of the subdomain. But when I use the subdoman and click on the upload image nothing happens. It seems to load…
mikelbring
  • 1,492
  • 2
  • 13
  • 24
1
vote
3 answers

Using one wordpress site for all subdomains

I want to use Wordpress to manage all sub-domains but not as a multi-site. So in essence all subdomains will show the same wordpress site (*.domain.com -> shows same wordpress site). Is that possible and how?