Re: Apache-SSL giving me odd results

From: Ludek (ngposter_at_email.cz)
Date: 12/29/04


Date: Wed, 29 Dec 2004 20:29:15 +0100

The Doctor wrote:
>
> Problem, I have 2 site that are suppose to be on port 80 and
> they are going to the FreeBSD Installed page instead.
...
> http://www.dynamicsi.com which should go to http://www.dynamicsi.com/index.htm
>
> and
>
> http://www.winfash.com which should go to http://www.winfash.com/index.htm
...
> This is what I have in the httpsd.conf file:
>
> <VirtualHost 216.95.238.209:80>
...
> ServerName dynamicsi.com
!!!
...
> <VirtualHost 216.95.238.211:80>
...
> ServerName winfash.com
!!!
...
> </VirtualHost>
> #
>
> What cann I not get dymanicsi or winfash to behave themselves?

That's because neither www.dynamicsi.com nor www.winfash.com match any
of the entries above.
ServerNames in the VirtualHost directives which you probably expect to
match the names are dynamicsi.com and winfash.com, respectively, and no
ServerAlias is set.
Correct the ServerNames and/or add desired ServerAliases, if any, and it
should work.

> In between the entry for cottage-computers.com is running correctly.

Yes but I suppose that www.cottage-computers.com doesn't work for the
same reason.

Ludek



Relevant Pages

  • Re: Apache-SSL giving me odd results
    ... >The Doctor wrote: ... >> ServerName dynamicsi.com ... >> What cann I not get dymanicsi or winfash to behave themselves? ... Member - Liberal International ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Lost outbound access (really)
    ... I'm posting this here so everything is on one thread. ... this is the reason why you should post in the ... > have the servername or internal ip and that the port is 8080. ... >> Because I lost outbound connectivity via my IE browser ...
    (microsoft.public.windows.server.sbs)
  • Re: Returning the Server Name
    ... the reason I suggested it is so that you can read the remarks regarding ... Peter wrote: ...
    (microsoft.public.sqlserver.programming)