Re: just installed certificate and I'm getting the wrong site...
This sounds to me like more of an apache configuration problem.
Perhaps if you posted some bits of your httpd.conf someone could spot
Could you clarify on the old and new versions of wrongdomain.com? Are
both still present on your server with the old one residing in
It sounds to me like when you come through to your server from
mysecuredomain.com, via https you come through to the first virtual
directory / host whioch is wrondomain.com, because they're both on
the same IP. What happens if you switch the order of your virtual
hosts, do you come through to a different site?
I'd be switching my conf files about to experiment and see what
happens in order to figure out the problem.
--- Chris Jordan <email@example.com> wrote:
> Sorry for bumping my own post, but I'm really in need of help here.
> I'm at a
> loss. Maybe it's because folks are on holiday given the time of
> year, but if
> anyone thinks they can help, I'd very much appreciate it. :o)
> On Dec 27, 2007 3:30 PM, Chris Jordan <firstname.lastname@example.org>
> > Hi folks,
> > I'm a complete newbie to this stuff, and I need a little more[/color]
> > I'm running apache 2.2.4 on a Fadora Core 6 (2.6.20-1.292.fc6).[/color]
> My first[color=green]
> > problem after I installed the certificate is that we apparently[/color]
> had an old[color=green]
> > self-signed certificate installed. So, once I figured out that[/color]
> the SSL[color=green]
> > directives were in the conf.d/ssl.conf and not in[/color]
> conf/httpd.conf, I was[color=green]
> > able to put my certificate information in that file and now our[/color]
> server is[color=green]
> > using our real certificate and not the self-signed one.
> > Our server runs multiple domains using virtual hosting, and I've[/color]
> > through the archives enough to find out that I can't do named[/color]
> virtual host[color=green]
> > with SSL. That's fine. My problem now is that when I browse to:
> > [url]https://mysecuredomain.com[/url], I'm getting sent to another one of[/color]
> our other[color=green]
> > domains (wrongdomain.com -- for the sake of discussion) except[/color]
> that the[color=green]
> > URL in the address bar still says: [url]https://mysecuredomain.com[/url].
> > I'm confused. I've searched through the archives, but can't seem[/color]
> to find[color=green]
> > out how this is happening.
> > Here's another strange bit. We've got an old version and a newer[/color]
> > of " wrongdomain.com" and when I browse to[/color]
> [url]http://wrongdomain.com[/url] I get[color=green]
> > the new version. When I browse to [url]https://wrongdomain.com[/url] I get[/color]
> the *old*[color=green]
> > version of the site -- just as I do when I browse to
> > [url]https://mysecuredomain.com[/url]...
> > I hope I'm explaining this well enough. I really need help on how[/color]
> to get[color=green]
> > things working properly.
> > The other thing that I'm curious about is whether we'll be able[/color]
> to secure[color=green]
> > any of our other domains hosted from this box in the future if we[/color]
> need to.[color=green]
> > From the reading I've done I'm thinking that's going to be a[/color]
> 'No', but what[color=green]
> > if we use the same certificate for all sites? That may be a dumb[/color]
> > but again, I'm a genuine newbie here.
> > My main concern is about the first part of this post... the side[/color]
> > about multiple domains is less important to me, but I'd still[/color]
> like to know.[color=green]
> > I sure hope someone can help me.
> > Thanks heaps,
> > Chris
> > --
> > [url]http://cjordan.us[/url][/color]
Sent from Yahoo! Mail - a smarter inbox [url]http://uk.mail.yahoo.com[/url]
Apache Interface to OpenSSL (mod_ssl) [url]www.modssl.org[/url]
User Support Mailing List [email]email@example.com[/email]
Automated List Manager [email]firstname.lastname@example.org[/email]