You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Innerlab <in...@yahoo.com> on 2002/02/07 23:47:42 UTC

virtual hosts help, PLEASE

Please help! I've been trying to set up a virtual host, and I had
no success for days. My DNS is dynamic

My questions are regarding the following commands,
and I give an example of settings that I've tried and didn't work.

-ServerName www.mydomain.com
-Listen *
-NameVirtualHost www.myotherdomain.com 
-BindAdress *
-<virtualhost www.myotherdomain.com>

What's wrong in a configuration like the above???

Thanks in advance

___________
Ed.







---------------------------------------------------------------------
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: virtual hosts help, PLEASE

Posted by Raquel Rice <ra...@thericehouse.net>.
On Fri, 8 Feb 2002 08:18:26 +0100
Nick Wilson Nick Wilson <ni...@explodingnet.com> wrote:

> 
> I'm afraid I'm no expert either, but I had this trouble a few days
> ago
> and someone here reminded me to put an entry in my /etc/hosts file
> for
> the virtual host. Have you done that?
> - -- 
> 
> Nick Wilson

No.  I just put my virtual hosts into the Apache virtualhost
containers like my example.  DNS is handled by DynDNS.org and my
hosts are registered there.

-- 
Raquel
============================================================
My mother drew a distinction between achievement and success.  She
said that achievement is the knowledge that you have studied and
worked hard and done the best that is in you.  Success is being
praised by others, and that's nice too, but not as important or
satisfying.  Always aim for achievement and forget about success.
  --Helen Hayes

                              
                              

---------------------------------------------------------------------
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: virtual hosts help, PLEASE

Posted by Nick Wilson <ni...@explodingnet.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


* and then Raquel Rice declared....
> I'm so new to this that I can't tell you if you're doing anything
> "wrong" or what it might be if you were.  However, I'm currently
> using dynamic DNS and below are the relevant parts of my config ...
> multiple domains and subdomains ... except for domain names it's
> straight out of the user docs.
> 
> Port 80
> ServerName server.thericehouse.net
> NameVirtualHost *
> <VirtualHost *>
> 	ServerName thericehouse.net
> 	...
> 	...
> 	...
> </VirtualHost>

I'm afraid I'm no expert either, but I had this trouble a few days ago
and someone here reminded me to put an entry in my /etc/hosts file for
the virtual host. Have you done that?
- -- 

Nick Wilson

Tel:	+45 3325 0688
Fax:	+45 3325 0677
Web:	www.explodingnet.com



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8Y3vCHpvrrTa6L5oRAr+1AJ0RBXkBoG6/OGlDsr0urIZv+J6UhACggdUa
yQlzypoF5JKfQ0a9uea7AYQ=
=jZTG
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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: virtual hosts help, PLEASE

Posted by Raquel Rice <ra...@thericehouse.net>.
On Thu, 7 Feb 2002 17:47:42 -0500
Innerlab "Innerlab" <in...@yahoo.com> wrote:

> Please help! I've been trying to set up a virtual host, and I had
> no success for days. My DNS is dynamic
> 
> My questions are regarding the following commands,
> and I give an example of settings that I've tried and didn't work.
> 
> -ServerName www.mydomain.com
> -Listen *
> -NameVirtualHost www.myotherdomain.com 
> -BindAdress *
> -<virtualhost www.myotherdomain.com>
> 
> What's wrong in a configuration like the above???
> 
> Thanks in advance
> 
> ___________
> Ed.

Ed,

I'm so new to this that I can't tell you if you're doing anything
"wrong" or what it might be if you were.  However, I'm currently
using dynamic DNS and below are the relevant parts of my config ...
multiple domains and subdomains ... except for domain names it's
straight out of the user docs.

Port 80
ServerName server.thericehouse.net
NameVirtualHost *
<VirtualHost *>
	ServerName thericehouse.net
	...
	...
	...
</VirtualHost>

-- 
Raquel
============================================================
My mother drew a distinction between achievement and success.  She
said that achievement is the knowledge that you have studied and
worked hard and done the best that is in you.  Success is being
praised by others, and that's nice too, but not as important or
satisfying.  Always aim for achievement and forget about success.
  --Helen Hayes

                              
                              

---------------------------------------------------------------------
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