subdomain

setting cross-subdomain cookies accessible to a sub-subdomain?

I've set a cookie with domain of .example.com. It is available for every first-level subdomain on my site, as it should be. It is not, however, available on nth level subdomains, i.e. sub.subdomain.example.com and too.many.subdomains.subdomain.example.com don't see the cross-subdomain cookie while subdomain.example.com does. Is there an...

*.mydomain.com - A record or CNAME?

Some people are saying use an A record and others a CNAME for a catch all subdomain. Which should I use and why? ...

URL Rewriting for user accounts

We currently have domain.com/username redirected to domain.com/setsession.asp?u=username which then redirects to the app at domain.com/theapp. This means users always see domain.com/theapp, so browsing to a page shows domain.com/theapp/somepage.asp Looking to move this to subdomains ie username.domain.com (we'll get the host name a...

Rails and a development domain

I'm trying to use http://ls1.bigseapreview.com as a domain for a Rails project. The problem is it doesn't seem to be correctly mapping any routing apart from the home page. I have added /about but you can see that you will just get a 404, but it works locally. What do I have to do to fix this? ...

What is the difference between Domain Pointing and Domain Forwarding?

I currently have a website hosted with one hosting provider along with a good hosting plan that allows multiple subdomains. I have another domain name registered with another company that is currently parked and would like to host it as an independent site on my existing hosting plan. I've created a directory with the site content and no...

Mod Rewrite all traffic not from my domain and subdomains

At this time every site on my server is on the domain "mydomain.com" or "subdomain.mydomain.com", I do various re-writes depending on the subdomain used to access the site. What I want to do now, is send any request NOT from my domain or subdomains to a script for handling...... sounds simple, but I can't get it working.. This is what ...

Website Replication using Wordpress

Hi I have a wordpress installed on h*ttp://domainname.com and I would like to have replication of the same website on a subdomain for example h*ttp://sub1.domainname.com h*ttp://sub2.domainname.com What should I do to make this happen without copying any database and the wordpress should be smart enough to recognize the...

Rails on Subdomain and Custom Port

Hi, I have to run rails on a shared host for a client via cPanel. The application is running on a subdomain and non standard port. I am using Authlogic, so on the first visit it detects I am not logged in and I get a page with: You are being redirected. Clicking on that I get the login form, which then takes me to the target page, ...

SubProject OR SubFolder ?

I am writing an asp.net application that exposes data in 2 ways: 1 - 1 common section that all users can see 2 - a Section that displays data specific to a registered user. in this case the user can decide how it looks (through themes), and manage the data to be displayed. Of course, the logic behind is the same, appearance would be dif...

How to add SSL to subdomain that points to a different server?

I don't know much about secure certificates, so please bear with me... I've got a webserver that has a single domain SSL certificate https://secure.mysite.com I also have a couple of subdomains that point to different servers. http://www.mysite.com ( main server) http://subdomain.mysite.com (completely different server) I am ...

appear subdomain instead of ip address

hi! I have me own xamp server on my office and I developed an intranet witch clients can access through client.com domain... I have an index.php with header("location:ipadress") . i was wondering if it is possible to redirect cliente to my office ip adress but mantain my domain name in the browser like http://intranet.client.com is t...

sharing session data between domains in asp.net, confused!!

Ok, here's my problem, i want to maintain session data between two applications or domains (eg:- www.abc.com and secure.abc.com). I have read on net about this, but many people pointing many different ways to do it, with people commenting +ve and -ve responses to all. Plus many are just providing theoretical answer, do this and that ,b...

Do subdomains have a part in cross-browser restrictions when calling webservices from Javascript?

Hi guys, The scenario is this: My html page is on http://www.mydomain.com/somepage.html Using jQuery, I call a webservice on: http://subdomain.mydomain.com/webservice.asmx/somemethod At the moment this is not working. I suspect that the subdomain is breaking a x-browser restriction. Any ideas? It is working locally when the html p...

Index files for Subdomains

I was finally able to setup subdomains but now I have a problem when I try and access the subdomain by itself. For instance, when I visit sub.domain.com, I get a page not found error. However, when I visit sub.domain.com/index.php, I see my page. My theory is that when I visit sub.domain.com, the index file it searches for is not in the...

Automatically Host User Domains in Rails/Apache

Hi, I'm currently developing a user facing web application that gives each new user their own subdomain on the site, which is fine (using subdomain_fu), but is there a way to let a user map their own domain to this subdomain? I know how to do this manually through SSH-ing into the server and editing the Apache Vhosts file by hand, but i...

Symfony dynamic subdomains

Hi all, I'm trying to match subdomains to a customer id in symfony. i.e. i have customer1.example.com and customer2.example.com Domains are stored in a table. When a user goes to customer1.example.com, I would like to get the subdomain, look up the domain name in the database, once matched, it will then deploy the app config for that...

How to Set up Virtual Static Subdomain

Given current rewrite rules at http://www.example.com/: Options +FollowSymlinks +Includes RewriteEngine on RewriteBase / RewriteCond %{HTTP_HOST} !^www\.example\.com [NC] RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/?(.*) http://www.example.com/$1 [L,R,NE] # Remove all "index.html"s. RewriteCo...

domain -> subdomain - passing session data

Howdy, having a little trouble here. I have domain.co.uk setting a session. When I click on a link on domain.co.uk to go to sub.domain.co.uk the session is not being read. I have altered session.cookie_domain to .domain.co.uk not still not working. Is there anything else that needs changing? Regards, me. ...

ASP.NET MVC subdomain shows folder name

Hi, I'm using godaddy shared hosting, with IIS7, Integrated mode, and published up a bog standard MVC2 app to dev.lazygekko.com created with Visual Web Developer 2010. It all works, however when any of the links are clicked, they point to dev.lazygekko.com/dev/..., dev being the folder it is pointing at. Can anyone shed some light o...

How to setup sub-domains in development environment - asp.net?

Hi, I would like to know the method of setting up sub-domains in the development environment. Don't have any hosting account yet. But would like to test it up internally by simulating a similar setup that would be provided by the hosting company later on. Thanks! ...