different domains > different sites ?

This is a discussion on different domains > different sites ? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Ok, i got two different domains (wich are: a1b1.hopto.org and a2b2.hopto.org) leading to the same folder: ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-12-2004
CKY
 
Posts: n/a
Default different domains > different sites ?

Ok, i got two different domains (wich are: a1b1.hopto.org and
a2b2.hopto.org) leading to the same folder: C:\Program Files\Apache
Group\Apache2\htdocs

inside that folder i have two different sites
1.html
and
2.html

What do I have to configure now to have a different site popup as its
url is entered in the browser?
  #2 (permalink)  
Old 10-12-2004
David Dorward
 
Posts: n/a
Default Re: different domains > different sites ?

CKY wrote:

> What do I have to configure now to have a different site popup as its
> url is entered in the browser?


http://httpd.apache.org/docs-2.0/vhosts/name-based.html

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
  #3 (permalink)  
Old 10-13-2004
CKY
 
Posts: n/a
Default Re: different domains > different sites ?

> http://httpd.apache.org/docs-2.0/vhosts/name-based.html

Ok, I read the file but my httpd.conf still looks like this:

#<VirtualHost a1b1.hopto.org:80>
# ServerAdmin CharmsDelight@sbcglobal.net
# DocumentRoot
# ServerName http:\\a1b1.hopto.org
# ErrorLog logs/a1b1.hopto.org-error_log
# CustomLog logs/a1.b1.hopto.org-access_log common
#</VirtualHost>

#<VirtualHost a2b2.hopto.org:82>
# ServerAdmin CharmsDelight@sbcglobal.net
# DocumentRoot
# ServerName http:\\a2b2.hopto.org
# ErrorLog logs/a2b2.hopto.org-error_log
# CustomLog logs/a2b2.hopto.org-access_log common
#</VirtualHost>

Notice that I left the document root empty because no matter what I
type, the website path
does not change.
I am trying to have a default webpage for both websites. My htdocs
folder has two folders
in it: A and B. Each filder has a default webpage: index.htm. So what
would be the correct
Path to type in the ducumentroot section?
  #4 (permalink)  
Old 10-13-2004
Robin Strahan
 
Posts: n/a
Default Re: different domains > different sites ?

Remove the comment tags. i.e. remove the #'s. Then add the DocumentRoot.
"CKY" <Charmsdelight@sbcglobal.net> wrote in message
news:8587e9df.0410130550.4575f81d@posting.google.c om...
>> http://httpd.apache.org/docs-2.0/vhosts/name-based.html

>
> Ok, I read the file but my httpd.conf still looks like this:
>
> #<VirtualHost a1b1.hopto.org:80>
> # ServerAdmin CharmsDelight@sbcglobal.net
> # DocumentRoot
> # ServerName http:\\a1b1.hopto.org
> # ErrorLog logs/a1b1.hopto.org-error_log
> # CustomLog logs/a1.b1.hopto.org-access_log common
> #</VirtualHost>
>
> #<VirtualHost a2b2.hopto.org:82>
> # ServerAdmin CharmsDelight@sbcglobal.net
> # DocumentRoot
> # ServerName http:\\a2b2.hopto.org
> # ErrorLog logs/a2b2.hopto.org-error_log
> # CustomLog logs/a2b2.hopto.org-access_log common
> #</VirtualHost>
>
> Notice that I left the document root empty because no matter what I
> type, the website path
> does not change.
> I am trying to have a default webpage for both websites. My htdocs
> folder has two folders
> in it: A and B. Each filder has a default webpage: index.htm. So what
> would be the correct
> Path to type in the ducumentroot section?



 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0