Should be a simple httpd.conf question

Hello, i have a fedora 4 box with apache 2.0.54
i am using virtual host
i am using test.mydomain.com and consult.mydomain.com
i am trying to get ssl working for consult.mydomain.com
this is the part that is driving me crazy. there is no mention of SSL or 443 but i goto the URL of https://test.mydomain.com is goes to the docroot of test.unitnet.com

so in my httpd.conf i put in

NameVirtualHost xxx.xxx.xxx.3:443

<VirtualHost xxx.xxx.xxx.3:443 >
    ServerAdmin webmaster@mydomain.com
    ServerName consult.mydomain.com

    DocumentRoot /home/unitnetconsult

    JkMount       /*.jsp worker1
    JkMount       /servlet/* worker1
</VirtualHost>

if i go to https://consult.mydomain.com i get page can not be displayed
but if i goto  http://consult.mydomain.com:443 it goes to the correct place

thanks for any help

Randy



pariesAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

giltjrCommented:
My quick 5 second answer is.  

Try removing the :443 off of the host names.  What you have coded says that the normal port for HTTP communcations with host consult.mydomain.com is port 443.
giltjrCommented:
Opps, must must have 443 (I'm brain dead today).  Do you have mod_ssl loaded?  Is Apache setup to do SSL properly?

If you do netstat -anA inet is something listening on port 443?
pariesAuthor Commented:
if i go to https://consult.mydomain.com i get page can not be displayed

but if i goto  http://consult.mydomain.com:443 it goes to the correct place

RP
pariesAuthor Commented:
i need to add these , now it works

SSLCertificateFile /etc/httpd/conf/new.cert.cert
SSLCertificateKeyFile /etc/httpd/conf/new.cert.key
SSLEngine on


I also generated a generic key
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.