You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jim Sheffer <ji...@blueworld.com> on 2002/02/27 21:08:20 UTC

Setting VH to recognize www

I've got VH set up with several domains.


<VirtualHost    111.111.111.111>
DocumentRoot /Library/WebServer/www/domainname
Servername  www.domainname.com
</VirtualHost>

How do I get it to see domainname.com as well?

Thanks

Jim


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Setting VH to recognize www

Posted by Lewis Watson <li...@visionsix.com>.
----- Original Message ----- 
From: "Jim Sheffer" <ji...@blueworld.com>
To: <us...@httpd.apache.org>
Sent: Wednesday, February 27, 2002 2:08 PM
Subject: Setting VH to recognize www 


> I've got VH set up with several domains.
> 
> 
> <VirtualHost    111.111.111.111>
> DocumentRoot /Library/WebServer/www/domainname
> Servername  www.domainname.com
> </VirtualHost>
> 
> How do I get it to see domainname.com as well?
> 
> Thanks
> 
> Jim
> 


Is DNS configured  for domainanme.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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Setting VH to recognize www

Posted by Owen Boyle <ob...@bourse.ch>.
Jim Sheffer wrote:
> 
> I've got VH set up with several domains.
> 
> <VirtualHost    111.111.111.111>
> DocumentRoot /Library/WebServer/www/domainname
> Servername  www.domainname.com
> </VirtualHost>
> 
> How do I get it to see domainname.com as well?

Just to be clear: Apache is an application which uses TCP/IP. That means
it works with IP addresses - 63.251.56.142 and so on. It doesn't really
know anything about domain names. If apache does come across a DN in its
config, the first thing it does is translate it into and IP address
using standard library routines like gethostbyname() which, in turn,
uses whatever is available on the server (/etc/hosts, NIS, NIS+, DNS).

Thus for apache to make any sense of DNs, they must translate into IP
addresses. 

Once you've achieved that, you can use the DNs as easy-to-understand
tokens for human maintainers. Also, apache can use them for Listen,
ServerName, ServerAlias and other directives which, to be precise, take
IP addresses as arguments, but which can take DNs as an alternative. 

Rgds,

owen Boyle.

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Create user on APAche for Windows NT

Posted by Wendy Teknologi <su...@teknologi.web.id>.
How to create user in Apache for Windows NT? I want to manage my website
through MS Frontpage.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Setting VH to recognize www

Posted by ar...@cosmic.net.au.
Yes, You definitely should have it in the DNS, otherwise it will not
resolve.


On Wed, 27 Feb 2002, Kevin Smith wrote:

> Well, provided that your DNS has been setup then fine... otherwise, I don't
> think Apache will recognise it without the www
>
> Thanks what I've experienced anway.
>
> ----- Original Message -----
> From: <ar...@cosmic.net.au>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, February 27, 2002 9:34 PM
> Subject: Re: Setting VH to recognize www
>
>
> > Dont qoute me, but I think you use
> > servername domainname.com
> > serveralias www.domainname.com
> >
> > I hoep that helps:)
> >
> >
> > On Wed, 27 Feb 2002, Jim Sheffer wrote:
> >
> > > I've got VH set up with several domains.
> > >
> > >
> > > <VirtualHost    111.111.111.111>
> > > DocumentRoot /Library/WebServer/www/domainname
> > > Servername  www.domainname.com
> > > </VirtualHost>
> > >
> > > How do I get it to see domainname.com as well?
> > >
> > > Thanks
> > >
> > > Jim
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> > > 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
> > 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
> 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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Setting VH to recognize www

Posted by Kevin Smith <ke...@netsmith.ltd.uk>.
Well, provided that your DNS has been setup then fine... otherwise, I don't
think Apache will recognise it without the www

Thanks what I've experienced anway.

----- Original Message -----
From: <ar...@cosmic.net.au>
To: <us...@httpd.apache.org>
Sent: Wednesday, February 27, 2002 9:34 PM
Subject: Re: Setting VH to recognize www


> Dont qoute me, but I think you use
> servername domainname.com
> serveralias www.domainname.com
>
> I hoep that helps:)
>
>
> On Wed, 27 Feb 2002, Jim Sheffer wrote:
>
> > I've got VH set up with several domains.
> >
> >
> > <VirtualHost    111.111.111.111>
> > DocumentRoot /Library/WebServer/www/domainname
> > Servername  www.domainname.com
> > </VirtualHost>
> >
> > How do I get it to see domainname.com as well?
> >
> > Thanks
> >
> > Jim
> >
> >
> > ---------------------------------------------------------------------
> > 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
> > 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
> 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
For additional commands, e-mail: users-help@httpd.apache.org


Re: Setting VH to recognize www

Posted by ar...@cosmic.net.au.
Dont qoute me, but I think you use
servername domainname.com
serveralias www.domainname.com

I hoep that helps:)


On Wed, 27 Feb 2002, Jim Sheffer wrote:

> I've got VH set up with several domains.
>
>
> <VirtualHost    111.111.111.111>
> DocumentRoot /Library/WebServer/www/domainname
> Servername  www.domainname.com
> </VirtualHost>
>
> How do I get it to see domainname.com as well?
>
> Thanks
>
> Jim
>
>
> ---------------------------------------------------------------------
> 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
> 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
For additional commands, e-mail: users-help@httpd.apache.org