Advertisement

08.08.2008 at 09:27AM PDT, ID: 23633243
[x]
Attachment Details

Using ISAPI to forward a subdomain to a domain page

Asked by simplethinking in Internet Search Engine Optimization, Microsoft IIS Web Server, WebApplications

Tags: Helicon Tech, ISAPI Rewrite, 2

I am trying to create an ISAPI redirect to forward users from a subdomain onto the domain page

The structure that i am trying to achieve is:

siteadmin.domain.co.uk forwarding to www.domain.co.uk/admin

The rule i have created that doesnt appear to work is:

RewriteCond %{HTTP:Host} ^domain\.co\.uk$ [NC]
RewriteRule (.*) http://www.domain.com/$1 [NC,R=301]

I am new to this, and any help would be gratefully appreciated!Start Free Trial
[+][-]08.11.2008 at 09:11PM PDT, ID: 22210044

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Internet Search Engine Optimization, Microsoft IIS Web Server, WebApplications
Tags: Helicon Tech, ISAPI Rewrite, 2
Sign Up Now!
Solution Provided By: meverest
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628