[Xitami] Virtual Host?
xitami@lists.xitami.org
xitami@lists.xitami.org
Fri, 13 Jun 2003 14:43:25 -0400
--Alt-Boundary-15741.1604109
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
Paul,
I have setup virtual-host names
Select a configuration:
Name:
Last modified:
Size, lines:
defaults
2003-06-13
14:23
21
homeftp
2003-06-13
11:11
27
homeip
2003-06-13
11:12
14
my defaults.cfg file has this:
[Virtual-hosts]
dnsname.homeftp.net=homeftp.cfg
dnsname.homeip.net=homeip.cfg
(where dnsname above is masked for this message.)
I also have homeftp.aut & .cfg as well as homeip.aut & .cfg
(these are located in my Xitami directory.
I have created :/xitami/homeftp & :/xitami/homeip directories,
both of these directories contain different index.htm files for testing.
I can only view the contents of homeip even if I type into my browser
both of the DNS Names....
perhaps you could help explain why....
Euman
On 13 Jun 2003 at 12:23, Paul Reid wrote:
> > I have [one IP address] but, I have several [Domain names] How do
> > I setup Xitami so that if a user types in something.com he/she is
> > directed to pages in something.com on the other hand, if
> > (anotherdomain.net) is used they are directed to pages for that
> > Domain name....
>
> As I just told someone else:
>
> Go into XITAMI's main Administration page, click "Virtual hosts".
> Click "New".
>
> Create virtual host profile: [ drewhoo ]
> Select IP address: [ (all) ]
> Or, enter DNS host name: [ drewhoo.com ]
> Web page root directory: drewhoo
> Create directories if necessary? [ ] (not checked)
> Click "Create"
>
> Since you already have the pages, I told you to NOT "Create
> directories" so if you get the syntax wrong, Xitami will complain
> and let you guess again.
>
> The way you are set up now, (webpages)/drewhoo/ will pull up a
> directory listing, unless you have an index.html in there. You
> probably want to rename Drewhoo.html to index.html, so it will pop
> up when drewhoo.com/ opens (webpages)/drewhoo/
>
> -PRR
>
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
--Alt-Boundary-15741.1604109
Content-type: text/html; charset=US-ASCII
Content-transfer-encoding: 7BIT
Content-description: Mail message body
<?xml version="1.0" ?><html>
<head>
<title></title>
</head>
<body>
<div align="left"><font face="Arial"><span style="font-size:10pt">Paul,</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I have setup virtual-host names</span></font></div>
<div align="left"><br/></div>
<p><font face="Times New Roman" size="3"><span style="font-size:12pt">Select a configuration:</span></font></p>
<table cellpadding="0" cellspacing="2" style="border-collapse: collapse; border: none">
<tr>
<td align="center" valign="top" width="130">
<div align="center"><font face="Times New Roman" size="3"><span style="font-size:12pt"><b>Name:</b></span></font></div>
</td>
<td colspan="2" align="center" valign="top" width="251">
<div align="center"><font face="Times New Roman" size="3"><span style="font-size:12pt"><b>Last modified:</b></span></font></div>
</td>
<td align="center" valign="top" width="168">
<div align="center"><font face="Times New Roman" size="3"><span style="font-size:12pt"><b>Size, lines:</b></span></font></div>
</td></tr>
<tr>
<td valign="top" width="130">
<div align="left"><a href="javascript:submit('~C4.0')"><font face="Times New Roman" size="3"><span style="font-size:12pt">defaults</span></font></a><font face="Times New Roman" size="3">
 </font></div>
</td>
<td valign="top" width="143">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">2003-06-13</span></font></div>
</td>
<td valign="top" width="104">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">14:23</span></font></div>
</td>
<td valign="top" width="168">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">21</span></font></div>
</td></tr>
<tr>
<td valign="top" width="130">
<div align="left"><a href="javascript:submit('~C4.1')"><font face="Times New Roman" size="3"><span style="font-size:12pt">homeftp</span></font></a><font face="Times New Roman" size="3">
 </font></div>
</td>
<td valign="top" width="143">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">2003-06-13</span></font></div>
</td>
<td valign="top" width="104">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">11:11</span></font></div>
</td>
<td valign="top" width="168">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">27</span></font></div>
</td></tr>
<tr>
<td valign="top" width="130">
<div align="left"><a href="javascript:submit('~C4.2')"><font face="Times New Roman" size="3"><span style="font-size:12pt">homeip</span></font></a><font face="Times New Roman" size="3">
 </font></div>
</td>
<td valign="top" width="143">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">2003-06-13</span></font></div>
</td>
<td valign="top" width="104">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">11:12</span></font></div>
</td>
<td valign="top" width="168">
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">14</span></font></div>
</td></tr>
</table>
<p><br/></p>
<div align="left"><font face="Arial"><span style="font-size:10pt">my defaults.cfg file has this:</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">[Virtual-hosts]</span></font></div>
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">    dnsname.homeftp.net=homeftp.cfg</span></font></div>
<div align="left"><font face="Times New Roman" size="3"><span style="font-size:12pt">    dnsname.homeip.net=homeip.cfg</span></font></div>
<div align="left"><br/></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">(where dnsname above is masked for this message.)</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I also have homeftp.aut & .cfg as well as homeip.aut & .cfg</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">(these are located in my Xitami directory.</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I have created :/xitami/homeftp & :/xitami/homeip directories,</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">both of these directories contain different index.htm files for testing.</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">I can only view the contents of homeip even if I type into my browser</span></font></div>
<div align="left"><font face="Arial"><span style="font-size:10pt">both of the DNS Names....</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">perhaps you could help explain why....</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">Euman</span></font></div>
<div align="left"><br/></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial"><span style="font-size:10pt">On 13 Jun 2003 at 12:23, Paul Reid wrote:</span></font></div>
<div align="left"><br/>
</div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> > I have [one IP address] but, I have several [Domain names] How do</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> > I setup Xitami so that if a user types in something.com he/she is</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> > directed to pages in something.com on the other hand, if</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> > (anotherdomain.net) is used they are directed to pages for that</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> > Domain name....</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> As I just told someone else:</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Go into XITAMI's main Administration page, click "Virtual hosts".</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Click "New".</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Create virtual host profile:  [ drewhoo ]</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Select IP address: [ (all) ]</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Or, enter DNS host name:  [ drewhoo.com ]</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Web page root directory:  drewhoo</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Create directories if necessary?  [ ] (not checked)</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Click "Create"</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Since you already have the pages, I told you to NOT "Create</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> directories" so if you get the syntax wrong, Xitami will complain</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> and let you guess again.</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> The way you are set up now, (webpages)/drewhoo/ will pull up a</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> directory listing, unless you have an index.html in there. You</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> probably want to rename Drewhoo.html to index.html, so it will pop</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> up when drewhoo.com/ opens (webpages)/drewhoo/</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">>  -PRR</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> </span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> --</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> Xitami Users Mailing List -- For Xitami support</span></font></div>
<div align="left"><font face="Arial" color="#7f0000"><span style="font-size:10pt">> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami</span></font></div>
<div align="left"><br/>
</div>
<div align="left"></div>
</body>
</html>
--Alt-Boundary-15741.1604109--