You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by OOzy Pal <oo...@gmail.com> on 2006/06/09 17:00:27 UTC
[users@httpd] ServerAlias
When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
My VH is as follows:
NameVirtualHost *
<VirtualHost *>
<Directory /var/www>
Options FollowSymLinks
AllowOverride None
Allow from All
</Directory>
DirectoryIndex index.php
ServerName www.b1.com
ServerAlias admin.b1.com
DocumentRoot /var/www/
</VirtualHost>
--
OOzy
Kubuntu-Dapper
---------------------------------------------------------------------
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] ServerAlias
Posted by OOzy Pal <oo...@gmail.com>.
On 6/9/06, Rainer Sokoll <R....@intershop.de> wrote:
> On Fri, Jun 09, 2006 at 06:00:27PM +0300, OOzy Pal wrote:
>
> > When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
>
> Since there is no A record (DNS) for admin.b1.com:
>
> ~ >host admin.b1.com
> Host admin.b1.com not found: 3(NXDOMAIN)
>
> Rainer
>
> ---------------------------------------------------------------------
> 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
>
>
hmm, A DNS is required even for serveraliases?
Anyhow, I have added a line in my /etc/hosts file and it worked ok.
Thx
--
OOzy
Kubuntu-Dapper
---------------------------------------------------------------------
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] ServerAlias
Posted by Rainer Sokoll <R....@intershop.de>.
On Fri, Jun 09, 2006 at 06:00:27PM +0300, OOzy Pal wrote:
> When I type admin.b1.com in Firefox or Lynx, I get SERVER NOT FOUND error
Since there is no A record (DNS) for admin.b1.com:
~ >host admin.b1.com
Host admin.b1.com not found: 3(NXDOMAIN)
Rainer
---------------------------------------------------------------------
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