vhosts

vhosts

am 08.06.2003 03:03:46 von stakys

Hi, i got domain xxx.com and i created vhost for it yyy.xxx.com, but i
cannot access to http://yyy.xxx.com, i need to type http://www.yyy.xxx.com,
how to solve this to access to yyy.xxx.com?


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: vhosts

am 08.06.2003 08:55:21 von Jeff Cohen

You'll need to add:
ServerAlias www.yyy.xxx.com
In you Vhost container.

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: stakys [mailto:stakys@punktas.lt]
> Sent: Saturday, June 07, 2003 9:04 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] vhosts
>=20
> Hi, i got domain xxx.com and i created vhost for it yyy.xxx.com, but i
> cannot access to http://yyy.xxx.com, i need to type
http://www.yyy.xxx.com,
> how to solve this to access to yyy.xxx.com?
>=20
>=20
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server =
Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: vhosts

am 08.06.2003 10:46:31 von stakys

Yes i got that... But i didn't say that, xxx.com is vhost too, and
yyy.xxx.com is one more for that xxx.com vhost. My yyy.xxx.com vhost file
looks like this:

ServerName yyy.xxx.com
ServerAlias www.yyy.xxx.com
DocumentRoot /xxx/htdocs/ROOT
ErrorLog /xxx/logs/error.log
CustomLog /xxx/logs/custom.log common


----- Original Message -----
From: "Jeff Cohen"
To:
Sent: Sunday, June 08, 2003 9:55 AM
Subject: RE: [users@httpd] vhosts


You'll need to add:
ServerAlias www.yyy.xxx.com
In you Vhost container.

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: stakys [mailto:stakys@punktas.lt]
> Sent: Saturday, June 07, 2003 9:04 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] vhosts
>
> Hi, i got domain xxx.com and i created vhost for it yyy.xxx.com, but i
> cannot access to http://yyy.xxx.com, i need to type
http://www.yyy.xxx.com,
> how to solve this to access to yyy.xxx.com?
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

RE: vhosts

am 08.06.2003 16:36:52 von Jeff Cohen

The ServerAlias can carry as many aliases as you want..
ServerAlias yyy.com xxx.com www.yyy.com *.google.com

Hope that that answers your question.

All the best,
Jeff Cohen
Support@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!



> -----Original Message-----
> From: stakys [mailto:stakys@punktas.lt]
> Sent: Sunday, June 08, 2003 4:47 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] vhosts
>=20
> Yes i got that... But i didn't say that, xxx.com is vhost too, and
> yyy.xxx.com is one more for that xxx.com vhost. My yyy.xxx.com vhost =
file
> looks like this:
>
> ServerName yyy.xxx.com
> ServerAlias www.yyy.xxx.com
> DocumentRoot /xxx/htdocs/ROOT
> ErrorLog /xxx/logs/error.log
> CustomLog /xxx/logs/custom.log common
>

>=20
> ----- Original Message -----
> From: "Jeff Cohen"
> To:
> Sent: Sunday, June 08, 2003 9:55 AM
> Subject: RE: [users@httpd] vhosts
>=20
>=20
> You'll need to add:
> ServerAlias www.yyy.xxx.com
> In you Vhost container.
>=20
> All the best,
> Jeff Cohen
> Support@GEJ-IT.com
> Tel. (416) 917-2324
> www.GEJ-IT.com
> GEJ-IT Networks!
>=20
>=20
>=20
> > -----Original Message-----
> > From: stakys [mailto:stakys@punktas.lt]
> > Sent: Saturday, June 07, 2003 9:04 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] vhosts
> >
> > Hi, i got domain xxx.com and i created vhost for it yyy.xxx.com, but =
i
> > cannot access to http://yyy.xxx.com, i need to type
> http://www.yyy.xxx.com,
> > how to solve this to access to yyy.xxx.com?
> >
> >
> > =
------------------------------------------------------------ ---------
> > The official User-To-User support forum of the Apache HTTP Server
Project.
> > See for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>=20
>=20
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server =
Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>=20
>=20
>=20
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server =
Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org