You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by stakys <st...@punktas.lt> on 2003/06/08 03:03:46 UTC
[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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] vhosts
Posted by Jeff Cohen <su...@gej-it.com>.
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
>
> 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:
> <VirtualHost *>
> ServerName yyy.xxx.com
> ServerAlias www.yyy.xxx.com
> DocumentRoot /xxx/htdocs/ROOT
> ErrorLog /xxx/logs/error.log
> CustomLog /xxx/logs/custom.log common
> </VirtualHost>
>
> ----- Original Message -----
> From: "Jeff Cohen" <su...@gej-it.com>
> To: <us...@httpd.apache.org>
> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] vhosts
Posted by stakys <st...@punktas.lt>.
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:
<VirtualHost *>
ServerName yyy.xxx.com
ServerAlias www.yyy.xxx.com
DocumentRoot /xxx/htdocs/ROOT
ErrorLog /xxx/logs/error.log
CustomLog /xxx/logs/custom.log common
</VirtualHost>
----- Original Message -----
From: "Jeff Cohen" <su...@gej-it.com>
To: <us...@httpd.apache.org>
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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] vhosts
Posted by Jeff Cohen <su...@gej-it.com>.
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 <URL:http://httpd.apache.org/userslist.html> 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 <URL:http://httpd.apache.org/userslist.html> 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