S
scorpion53061
Hi,
I recently switched providers. I was told I could support multiple domains
by using this code
<%@Language=VBScript%>
<%
SiteNameURL = Request.ServerVariables("SERVER_NAME")
%>
<%
Select Case SiteNameURL
Case "kjmsolutions.com"
%><!-- #Include File="default.asp" --><%
Case "www.sandbaybeachresort.com"
%><!-- #Include
File="sandbaybeachresort/default.asp" --><%
Case "sandbaybeachresort.com"
%><!-- #Include
File="sandbaybeachresort/default.asp" --><%
End Select
%>
WHich is nice but when I publish the web (I do to a new folder called
"sandbaybeachresort" on the new provider the default page works but the
links within (when I link to default2.asp and the link says
http://www.sandbaybaybeachresort.com/default2.asp it reports page not found.
But if I pull up the link in
http://www.kjmsolutions.com/sandbaybeachresort/default2.asp that will work.
In addition none of the include pages are working.
I would appreciate any and all suggestions. They tell me they cant ontrol
how frontpage performs.
I recently switched providers. I was told I could support multiple domains
by using this code
<%@Language=VBScript%>
<%
SiteNameURL = Request.ServerVariables("SERVER_NAME")
%>
<%
Select Case SiteNameURL
Case "kjmsolutions.com"
%><!-- #Include File="default.asp" --><%
Case "www.sandbaybeachresort.com"
%><!-- #Include
File="sandbaybeachresort/default.asp" --><%
Case "sandbaybeachresort.com"
%><!-- #Include
File="sandbaybeachresort/default.asp" --><%
End Select
%>
WHich is nice but when I publish the web (I do to a new folder called
"sandbaybeachresort" on the new provider the default page works but the
links within (when I link to default2.asp and the link says
http://www.sandbaybaybeachresort.com/default2.asp it reports page not found.
But if I pull up the link in
http://www.kjmsolutions.com/sandbaybeachresort/default2.asp that will work.
In addition none of the include pages are working.
I would appreciate any and all suggestions. They tell me they cant ontrol
how frontpage performs.