subdomain

Asp.Net Profile Across Sub-Domains

Is there any way I access Profile information set in one sub-domain across another sub-domain? Or is the Profile information application specific? I am setting profile values in one sub-domain and want to access that Profile on another sub-domain. ...

site 5x faster via mod_rewrite, but CSS images are broken

I am using .htaccess to accelerate a site with the following redirects: request for http://example.com/images/name.jpg routed to http://i.example.com/name.jpg request for http://example.com/css/name.css routed to http://c.example.com/name.css From listening to the Stack Overflow podcast, I learned that this could make a site fa...

How do I limit PHP apps to their own directories and their own php.ini?

I am running multiple PHP apps on my Mac, running OS X 10.5.6, Apache 2, PHP 5. I have subdomains setup for each project, a host file entries for each subdomain, and Virtual Directory blocks in the Apache config. So project1.localhost goes to /Library/WebServer/Documents/Project1 project2.localhost goes to /Library/WebServer/Documen...

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 provide a brief explanation and perhaps links to more thorough discussions, I would be qui...

stop subdomain access root

i have root and subdomain (for my friend) like this /home/blahblah/ /home/blahblah/domain.com/ (Apache server) can i stop subdomain access root by using some php shell script? ...

Setting up wildcard domains on local host (OS X 10.5)?

I am starting to develop a site which basically acts as WordPress MU, in the sense that a user can signup and have their own blog. I will be coding this in Rails, however I am hoping to be able to utilize wildcard subdomains, so I can use the format such as blog.example.com. I've done some searching but I can't find any good resources. ...

How to prevent getting sued for hosting "Fake" Creative Commons image?

Say if I own a blog site for multiple users like wordpress, say blogsss.com, and every user hosts their blog under a subdomain *.blogsss.com. UserA post a JPEG that UserA claims it is under Creative Commons, but actually it isn't. Then UserB, C, and D use that JPEG, without knowing it is actually not under Creative Commons. A few mo...

Domain management (multiple servers)

Here's my scenario: I have two web applications that are hosted on seperate servers. What I'd like to do is have requests for "*.mydomain.com" (i.e. no subdomain, 'www', etc) to go to the first server, and requests for "mysubdomain.mydomain.com" to go to the second server. How do I accomplish this? Is it just a "CNAME" setting with m...

Subdomain to point to subdirectory of main site?

I have my website running at: www.example.com I also have this other domain: www.example.net Is it possible to point "www.example.net" to a subdirectory of "www.example.com"? For example: www.example.net-> www.example.com/other ? It's not just a redirect, I need to serve the pages and see "www.example.net" in the user'...

How can I Create a Subdomain on an IIS Server Using ASP.Net (Or C#)?

I want to create a website where users who sign up are able to get a subdomain on my main domain a la blogspot.com (ex. user.mywebsite.com) I really don't know how to get about doing this. I guess this will involve DNS. Here is some more info about my requirement. Don't need to set up an IIS website either. I want an app that would ro...

Configuring subdomains on an Apache Server

I'm trying to set up a subdomain for a site on an Apache server. I've added in DNS entries for the subdomain and added <VirtualHost 192.168.1.2:80> ServerName sub.domain.com DocumentRoot /export/home/sites/domain/web/sub </VirtualHost> to the vhosts.conf file. This is still not resolving to the site. If I do an "nslookup sub.domain...

Virtualhost For Wildcard Subdomain and Static Subdomain

I have an odd situation where I want to have the urls app1.example.com, example.com and *.example.com all using a different virtual host. This is what I have (excluding example.com cause it just makes it messier) ServerName app1.example.com ServerAlias app1.example.com DocumentRoot = /var/www/app1 # Other configuration for th...

How can I direct traffic to Subdomains in /etc/hosts?

I tried to put the line to /etc/hosts: IP math.com mathworld.com where IP was supposed to be the IP of http://mathworld.wolfram.com/classroom/. I pinged the site, and I realised that I must direct traffic with some other tools: ping mathworld.wolfram.com/ ping: cannot resolve mathworld.wolfram.com/: Unknown host So the q...

Django caching for subdomains

I'm using subdomains in django for user pages via a middleware hack in a similar way to what is described here: stackoverflow.com/questions/624827/in-a-django-web-application-how-do-you-give-users-their-own-subdomain Now, I have the default django cache turned on for all pages for not-logged-in users. I had to disable the cache implicit...

Why is IIS forwarding my www request to the TLD without www host name?

I just setup 2 host names in my IIS web-site identity advanced configuration tab. They are: port 80 www.mydomain.com port 80 mydomain.com Whenever I go to www.mydomain.com it forwards me to mydomain.com How do I fix it so that it's the other way around, all requests go to www.mydomain.com? Thank you! ...

What are the pros/cons of using "www"?

Duplicate: Should I default my website to www.foo or not? To be quite honest, I'm ignorant as to what the differences between "http://example.com" and "http://www.example.com" are. I typically always use the shorter version, without the "www," just for the sake of the length. But I know (think) that there can be cookie conflicts...

Is it possible to simulate subdomain on a development machine?

I am trying to set up a subdomain on my website but i am having a hard time getting it to work. Especially since the only way i can test it is by sending all the files needed from my development machine to the hosting server (and sometimes breaking the website). i am using asp.net on an IIS7 servers Is there an easy way to do the settin...

DNS two domains one server

Greetings All, Long time reader first time poster. I work for a small school district. We are our own SOA so we can pretty much do what we want. In the state of Washington all educational institutions are given a name like myschools.wednet.edu. I've recently purchased a new and hopefully easier to remember domain myschools.org and I'...

Working with subdomain in google app engine

How can I work with sub domain in google app engine (python). I wanna get first domain part and take some action (handler). Example:      product.example.com -> send it to products handler      user.example.com -> send it to users handler Actually, using virtual path I have this code: application = webapp.WSGIApplication( ...

Technical/Programming/Non-SEO Pros and Cons of WWW or no-WWW?

What are technical/programming/non-SEO pros and cons of www or no-www, for domains as well as sub-domains? From Jeff Atwood's twitter at http://twitter.com/codinghorror/status/1637428313 : "sort of regretting the no-www choice because it causes full cookie submission to ALL subdomains. :(" What does this mean? Is there a blog post or ar...