This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > August 2004 > HELP : how to set up 2 sites on 1 server ???
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
HELP : how to set up 2 sites on 1 server ???
|
|
| aerolex 2004-08-23, 11:14 pm |
| REGARDS TO ALL
:::::::::::::::::::::::::::::::::::
many thanks in advance to any who can offer help
:::::::::::
:::::::::::
i'm quite new to the world of dreamweaver, and as such i have been unable to
properly set up my 2 sites.
the situation is this :
I have 2 SITES of which i have the DNS set to point towards ONE ftp server.
I am able to place one of the sites LIVE on the WEB .
but no matter how i configure the folder heirarchy
i cannot view the second site online.
I get the SPECIFIED URL CANNOT BE FOUND error.
i have 2 FTP's set up instead of dreamweaver SITES .
one site has a root host directory of PUBLIC_HTML . this site is live .
the second site i have placed inside PUBLIC_HTML/COMMONALMS/PUBLIC_HTML
ive made PUBLIC_HTML/COMMONALMS/PUBLIC_HTML the HOST directory for the 2nd
site.
no matter what i've tried i cannot get both sites LIVE online.
please offer any pertinent advice as to how i should configure the files and
site structures
in order to have 2 seperate sites hosted on one ftp server???????????????????
aerolex.com
commonalms.com
:::::::::::::::::::::::::::::::::
many thanks in advance
aerosyn.lex mestrovic
aerosyn@hotmail.com
| |
|
| you need to put each site in a seperate subfolder then in the root put an
index.asp or default.asp page with the following code :
<%@LANGUAGE="VBSCRIPT"%>
<%
sname = Request.ServerVariables("SERVER_NAME")
sname = ucase(sname)
if InStr(sname,"SITE1") <> 0 then
response.redirect "site1"
elseif InStr(sname,"SITE2") <> 0 then
response.redirect "site2"
end if
%>
where the name in capitals is the URL and the name in lower case is the
folder name.
note the URL must be in capital letters.
hope that helps
dog
"aerolex" <webforumsuser@macromedia.com> wrote in message
news:cgdv55$8a$1@forums.macromedia.com...
> REGARDS TO ALL
> :::::::::::::::::::::::::::::::::::
>
> many thanks in advance to any who can offer help
>
> :::::::::::
> :::::::::::
>
> i'm quite new to the world of dreamweaver, and as such i have been unable
to
> properly set up my 2 sites.
>
> the situation is this :
>
> I have 2 SITES of which i have the DNS set to point towards ONE ftp
server.
>
> I am able to place one of the sites LIVE on the WEB .
>
> but no matter how i configure the folder heirarchy
> i cannot view the second site online.
> I get the SPECIFIED URL CANNOT BE FOUND error.
>
> i have 2 FTP's set up instead of dreamweaver SITES .
> one site has a root host directory of PUBLIC_HTML . this site is live .
> the second site i have placed inside PUBLIC_HTML/COMMONALMS/PUBLIC_HTML
>
> ive made PUBLIC_HTML/COMMONALMS/PUBLIC_HTML the HOST directory for the
2nd
> site.
>
> no matter what i've tried i cannot get both sites LIVE online.
>
>
> please offer any pertinent advice as to how i should configure the files
and
> site structures
> in order to have 2 seperate sites hosted on one ftp
server???????????????????
>
> aerolex.com
> commonalms.com
> :::::::::::::::::::::::::::::::::
>
>
> many thanks in advance
>
> aerosyn.lex mestrovic
>
> aerosyn@hotmail.com
>
>
| |
| Murray *TMM* 2004-08-26, 12:18 pm |
| Hmm - I wonder how SE's would like that.... It may work!
You'd have to make sure to use ONLY document relative links in the
respective site, or perhaps a <base> tag though, right?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Dog" <dog@XXXXmicrosoft.com> wrote in message
news:cgf91j$7hp$1@forums.macromedia.com...
> you need to put each site in a seperate subfolder then in the root put an
> index.asp or default.asp page with the following code :
>
> <%@LANGUAGE="VBSCRIPT"%>
> <%
> sname = Request.ServerVariables("SERVER_NAME")
> sname = ucase(sname)
> if InStr(sname,"SITE1") <> 0 then
> response.redirect "site1"
> elseif InStr(sname,"SITE2") <> 0 then
> response.redirect "site2"
> end if
> %>
>
> where the name in capitals is the URL and the name in lower case is the
> folder name.
>
> note the URL must be in capital letters.
>
> hope that helps
>
> dog
>
>
> "aerolex" <webforumsuser@macromedia.com> wrote in message
> news:cgdv55$8a$1@forums.macromedia.com...
> to
> server.
> 2nd
> and
> server???????????????????
>
>
| |
|
|
| aerolex 2004-08-26, 12:20 pm |
| MANY
MANY
MANY THANKS
TO ALL WHO ANSWERED WITH ADVICE .... HOLLA
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|