subdomain

Wordpress installed on subdomain?

I want to add a blogging area to my portfolio site here: www.ryanpays.com I have set up a subdomain of: www.blog.ryanpays.com And mapped this to www.ryanpays.com/wordpress/ When i hit the subdomain i get a 404 error and am not sure why. I installed Wordpress with a CGI script bundled with my hosting which seemed to work as you can ...

How to create sub.domain for user opon sign up

Hello, I am using php/mysql on linux servers. I want to create a user sub domain for each user upon sign up. For instance, john doe --> johndoe.example.com The issue is, we are going to allow customizations such as adding custom features for clients wanting customizations. So, is it better we automate the process or manually create ...

Rails Restful Routing and Subdomains.

Hi I wondered if there were any plugins or methods which allow me to convert resource routes which allow me to place the controller name as a subdomain. Examples: map.resources :users map.resource :account map.resources :blog ... example.com/users/mark example.com/account example.com/blog/subject example.com/blog/subject/edit ... #b...

PHP sites as subfolders in a Drupal installation

I have a drupal site that was on shared hosting with other non-drupal sites. Of course there's a primary domain and subfolders. I recently moved the drupal site to be the primary domain, so all the other non-drupal sites are as subfolders. Since I've done this however, none of the other non-drupal sites is displaying. But when I di...

Set Cookies on subdomain?

I have the site blah.com. I need to set 3cookies + use google analytic. I would like to set it as www.blah.com so when i serve images (on blah.com or static.blah.com) it is cookie-less. Is this possible? How do i do it? I am using jquery-cookies and asp.net ...

IIRF v2.0 - Help with Domain's and Redirects

I have a primary domain - let's call it xyz.com. I also have several other secondary domains such as abc.com def.com, ghi.com, etc.. These domain all have the same content. I am trying to do a URL redirect in IIRF that will take any of the secondary domains, and replace it with my primary xyz domain. This is the closest I have gotten. ...

IE png fix not calling from static domin when using relative path

All my static media is on a subdomain static.domain.com while the rest of the code is on www.domain.com. I am trying to apply the pngfix for IE and i noticed via fiddler that there are serveral requests to www.domain.com rather than static and these are all getting 404 and causing insane page load times. I swapped out the relative path ...

Rails: Set cookie only on www subdomain?

I have set up an asset host at assets.domain.com but it appears that cookies are being sent with requests to assets.domain.com. I read somewhere that if you have cookies set to domain.com then this will happen. So I guess I'm trying to set cookies only to www.domain.com so that requests to assets.domain.com will not send cookies. (I als...

dynamic subdomain with php/ htaccess

Basically, what i wanna do : change child.domain.com to domain.com/child However, I already have a ReWriteRule in htaccess to change domain.com/child to domain.com?page=child. Of course, in htaccess, I also have a rewrite condition to ignore actual folders and files. But if i create a subdomain for child, the server will actually creat...

How do you map a sub domain to a webapp on Tomcat 6 (including the root webapp)?

Hello, subject says it all. What I want is to map each sub domain to a webapp like: http://root.domain.com:8080 -> http://domain.com:8080/ http://manager.domain.com:8080 -> http://domain.com:8080/manager http://abc.domain.com:8080 -> http://domain.com:8080/abc http://def.domain.com:8080 -> http://domain.com:8080/def on a localhost ma...

check for subdomain in parse_url

Hello, I am trying to write a function to just get the users profile id or username from Facebook. They enter there url into a form then I'm trying to figure out if it's a Facebook profile page or other page. The problem is that if they enter an app page or other page that has a subdomain I would like to ignore that request. Right now...

How can I set up a subdomain to another host?

Hey guys, so I recently purchased a cheap vps for me to play around with, to get used to working with linux, command line, and servers. I also have a shared webhost that I host my site on. For now, I want to keep my site on my shared webhost until I fully find out how to work with my vps, then I'll slowly start moving projects, ect ove...

How to share sessions between subdomains with Rails 2.3.8

I have found numerous posts that describe how to do this. They all look something like putting this in the appropriate environment config file: config.action_controller.session[:domain] = '.localhost' However, if I do this then trying to sign in (I am using devise) fails with: ActionController::InvalidAuthenticityToken I see other...

How change main domain on WHM?

Hi, When my customers buy a new website layout , its need to aprove that. I create some subdomain like that: new.website.com but when layout is aproved i don't now how change this domain to website.com whitout destroy a account and create a account again!! Help Plz!! ...

IIS Subdomain Host Headers Not Working

Using IIS 7, I have an existing website, example.com, and I have added another website to which I'd like the URL, sub.example.com to point. I've set up the host headers for this, but it does not work. Trying to ping the subdomain URL give the message "Ping request could not find host sub.example.com. Please check the name and try again."...

Get blog.domain.com to appear as www.domain.com/blog

I want to create a blog for an e-commerce website, but due to data security reasons I don't want to host the blog on the same machine as the website is hosted on. Is there a way to host it on a separate machine using the sub-domain of blog.domain.com but have it be accessible via the url www.domain.com/blog. My reasoning is that the c...

IIS7 URL Rewriting - Subdomain with additional rewrite rules

I am having a problem with the URL rewrite module. I have a subdomain with it's own set of rewrite rules and I am getting 404 errors whenever I click on Urls that have been reformatted. My setup is below. On the main site I am using the following inbound rule to rewrite requests from {http}://mydomain.com/subdomain to {http}://subdomain...

IIS7 URL Rewriting - Subdomain with additional rewrite rules

I am having a problem with the URL rewrite module. I have a subdomain with it's own set of rewrite rules and I am getting 404 errors whenever I click on Urls that have been reformatted. My setup is below. On the main site I am using the following inbound rule to rewrite requests from {http}://mydomain.com/subdomain to {http}://subdomain...

IIS 6 WWW in subdomain doesn't redirect

In IIS, I have a subdomain: sub.mydomain.com BUT, if someone incorrectly types it as: www.sub.mydomain.com it doesn't work. How do I resolve this issue? Thanks! ...

How do I structure the domain architecture of my web app? - practical advice

So I am creating a web app, that will give each registered user a unique 'workspace'. This workspace should be accessible by anybody they give permission to. I have the main domain for my marketing website, but I am trying to figure out how to manage the nitty-gritty domain management of the web app itself. Should I buy generic domains...