subdomain

How to make subdomain user accounts in a webapp

I am looking to allow users to control of subdomain of an app I am toying with, much like Basecamp where it is 'customusername.seework.com'. What is required on the DNS end to allow these to be created dynamically and be available instantly. And how do you recommend dealing with this in the logic of the site? Htaccess rule to lookup ...

Wildcard Subdomains

I know there have been a few threads on this before, but I have tried absolutely everything suggested (that I could find) and nothing has worked for me thus far... With that in mind, here is what I'm trying to do: First, I want to allow users to publish pages and give them each a subdomain of their choice (ex: user.mysite.com). From wh...

How do I get a list of all subdomains of a domain?

I want to find out all the subdomains of a given domain. I found a hint which tells me to dig the authoritative Nameserver with the following option: dig @ns1.foo.bar some_domain.com axfr But this never works. Has anyone a better idea/approach ...

Using a subdomain to identify a client

I'm working on building a Silverlight application whereas we want to be able to have a client hit a url like: http://{client}.domain.com/ and login, where the {client} part is their business name. so for example, google's would be: http://google.domain.com/ What I was wondering was if anyone has been able, in silverlight, to be able...

Map *.domain.com to a single address

I´m not sure if this is really a programming question, but it's related to what I'm doing which is... I'm developing a web site that will have a lot of .domain.com, and based on what contain, the web site will show diffrent content. Anyone knows how to do that? Maybe it requires changes in the DNS server. Thanks! ...

How to let PHP to create subdomain automatically for each user?

Hi, How do I create subdomain like http://user.mywebsite.com ? Do i have to access htaccess somehow? Is it actually simply possible to create it via pure php code or I need to use some external script-server side language? To those who answered: Well, then, should i ask my hosting if they provide some sort of DNS access?? ...

Subdomain on different host

Hi everyone! I'm trying to host a subdomain for my site with a different hosting company and I'm running into issues on how to set it up. Here are the specifics: - Domain is registered with GoDaddy. - Nameservers are pointing to DiscountASP.net where ASP.NET app has been happily running for couple of years. - Would like blog.mydomain....

How do I reference assets from a different subdomain (or CDN) in production?

I am working both in the Ruby and Java worlds. I have been inspired somewhat by the merb-assets project, which provides various functionality to make it easy to reference assets (images, CSS, etc.) located on a subdomain (or CDN). I want to do the same in Java: in development and testing, I want to use either JSTL's <c:url> or Struts ...

Using Wild Card Subdomains With Mod Rewrite?

I have Wild Card Subdomains on, however I just do not know mod_rewrite to the extent that is required to write this. Can anyone tell me how to make it so anything other than www and nothing go to the main site but any subdomain other than that go to /script/index.php?username=$username? ...

AJAX, Subdomains, and SSL

I have a site, foo.com, that makes ajax requests to bar.foo.com. Will this work. Also, if foo is a secure connection, https, does bar.foo.com need to be https too? Can these two sites use different certificates? ...

What options are there for sharing data across subdomains?

I have www.example.com and also store.example.com. (Yes they are subdomains of the same parent domain) store.example.com is on ASP.NET 1.1 www.example.com is on ASP.NET 3.5 I want to know what options are available for sharing 'session' data between the two sites. I need some kind of shared login and also the abiltity to track user ac...

Subdomain on different host

ok so i have a domain name that im trying to point to a subdomain on my godaddy hosted domain. So domain1.com should point to sub.domain2.com . I cant get it to work without giving me a 403 error from godaddy because they dont recognize the incoming domain name (domain1.com) Thanks. ...

.htaccess Redirections

Hi, I've been Googling around for .htaccess redirection information, but nothing I find is quite what I'm looking for. Basically, I want a solution that will take a site example.com and allow you to enter URL's like: 123.example.com ksdfkjds.example.com dsf38jif348.example.com and this would redirect them to: example.com/123 example....

Get the subdomain from a URL

Getting the subdomain from a URL sounds easy at first. http://www.domain.example Scan for the first period then return whatever came after the "http://" ... Then you remember http://super.duper.domain.example Oh. So then you think, okay, find the last period, go back a word and get everything before! Then you remember http://su...

How to do a jquery ajax call to a subdomain?

Hi there, i could call a page inside the same domain, but its not working when i calling a page in a sub domain due to security issues. what i have to do? help me!!! ...

How to setup sub-domains like blogspot

What should do to setup a sub-domain for the users when they sign-up into my site. What are the infrastructure required? I am using Linux servers. ...

Redirect 'myapp.com' to 'www.myapp.com' in rails without using htaccess?

Using Morph Labs' Appspace to deploy a site means no automated way to redirect 'myapp.com' to 'www.myapp.com' (and no access to .htacess). Is there an in-rails way to do this? Would I need a plugin like subdomain-fu? More specifically, I'm trying to do something like: 'myapp.com' => 'www.myapp.com' 'myapp.com/session/new' => 'www.mya...

How can I trick MVC into rendering links based on a different virtual path?

I'm running a bunch of apps on discountasp.net with the subdomain addon. Since with shared hosting I can't have multiple IIS sites, I've also written an HTTP module that allows sites in subfolders to operate as if they are running in the root directory. So for example, instead of hosting my blog at dandoes.net/blog, I can host it at blog...

Should I default my website to www.foo or not?

Notice how the default domain for stackoverflow is http://stackoverflow.com and if you try to goto http://www.stack.... it bounces you to http://stack... ? What is the reason for this? Not the tech reason (as in the http code, etc) but why would the site owners want to do this? I know it's purely aesthetic and I always have host-header...

Example of using AuthType Digest to authenticate a user once across sub-domains?

Hi there. I have a domain that will be accessed by a small, private group of people. So I want to control access via authentication. The domain has a collection of applications installed that each have their own sub-domain. Eg: domain.com, app1.domain.com, app2.domain.com, app3.domain.com I'd love to have a single sign-on solution so ...