|
Haven't you forgotten to change the VirtualHost directive
too?
i.e.
VirtualHost should now be <VirtualHost
192.9.203.178:8181>
James
err..I'm not an Apache expert or something, but I
think for a name based virtual server you want:
<VirtualHost virtual.host.com>
instead?
sam
----- Original Message -----
Sent: Thursday, May 03, 2001 12:31
PM
Subject: virtualHosting of apache
Hi Everybody,
I just installed
the apache server and changed the port to 8181.I can access it using http://192.9.203.178:8181/ .Now i want
that it should be accessible by using http://myname.com .If anyone can suggest how it
can be done, it will be a great help.I tried editing the httpd.conf file in
following way:
NameVirtualHost 192.9.203.178:8181
<VirtualHost 192.9.203.178>
# ServerAdmin [EMAIL PROTECTED]
# DocumentRoot /www/docs/host.some_domain.com
ServerName guninder.com
# ErrorLog logs/host.some_domain.com-error_log
# CustomLog logs/host.some_domain.com-access_log common
</VirtualHost>
what else should i do to access it by name.
Thanks and Regards
Guninder
**********************************************************************
This e-mail (including any documents which may accompany it) contains
information which is confidential and may also be privileged.
It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s) please note that any form of
distribution, copying or use of this e-mail or the information in it
or attached to it is strictly prohibited and may be unlawful.
If you have received this e-mail in error please notify us immediately
by e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 and
delete the e-mail.
Please advise immediately if you or your employer do not consent to
Internet E-Mail for messages of this type.
Information or opinions in this message that do not relate to the
business of Windsor plc and/or subsidiary and/or associated companies
shall be treated as neither given or endorsed by it.
**********************************************************************
|