But that doesn't distinguish which domain the visitor is requesting. He doesn't want all requests redirected--just requests for the new subdomain. See, he has 2 names pointing at the same website--his original domain and a new subdomain. Both requests go to the same page (index.asp) but he wants visitors to see a different page depending on which domain/subdomain their trying to get to. The solution is to redirect only one of the two types of requests. ...or am I not understanding the problem?
- Vieth > -----Original Message----- > From: BobFilipiak [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 12:31 PM > To: [EMAIL PROTECTED] > Subject: Re: [ASP] ASP And Subdomains > > > Save the following as index.asp: > <% > response.redirect("articles.asp") > %> > > > Bob Filipiak > A question not asked > is a lost opportunity to learn. > ----- Original Message ----- > From: "professorw999" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 04, 2004 1:02 PM > Subject: [ASP] ASP And Subdomains > > > > > > > > I have never used a subdomain before and would like to try. > Our web > > host will set up this subdomain for us: > > http://articles.independent-sales-reps.com > > > > We want this subdomain to point to this page: /articles.asp > > However, our web host states that all subdomains may only point to > > our home page: /index.asp > > > > In order to have a subdomain point to a different web page, we need > > to use some sort of scripting. They will not offer any further > > technical support than that. > > > > Does this sound right? Has anyone used an ASP script to accomplish > > what I want to do here? > > > > Thanks, > > PW > > > > > > > > > > > > > > > -------------------------------------------------------------- > ------- > > Home : http://groups.yahoo.com/group/active-server-pages > > > --------------------------------------------------------------------- > > Post : [EMAIL PROTECTED] > > Subscribe : [EMAIL PROTECTED] > > Unsubscribe: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > > Yahoo! Groups Links > > > > > > > > > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor > --------------------~--> > Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. > Now with Pop-Up Blocker. Get it for free! > http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM > -------------------------------------------------------------- > ------~-> > > -------------------------------------------------------------- > ------- > Home : http://groups.yahoo.com/group/active-server-pages > --------------------------------------------------------------------- > Post : [EMAIL PROTECTED] > Subscribe : [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > --------------------------------------------------------------------- > Yahoo! Groups Links > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
