SSL Certificate Redirect?

brettsky07
brettsky07 used Ask the Experts™
on
Hi Experts, I have a site hosted with register.com and an SSL certificate installed through them as well. I set up a subdomain to be sub.xxx.com (or the sub folder in the root directory). The sub folder needs to be secure. when I go to

http://sub.xxx.com/ the correct index page appears, however when I go to

https://sub.xxx.com/ it displays an index page from another directory.

There customer support says i need to "change the redirect" but there is no redirect in place. I have tried creating one with the htaccess files but than it asks for a username and password when I go to the secure URL. If anyone has any suggestions/explanations it would be really helpful. Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017
Commented:
For every hostname, you have to have a certificate, or buy an encompassing/Wildcard certificate
*.yourdomain.com  (Has/had issues with IIS versions)

Double check your configuration on whether the RootDirectory for one points to a different directory in the other.

At times, the setup is
http://www.mydomain.com points to D:\mydomain.com
while the https:\\www.mydomain.com points to d:\mydomain.com\ssl.
IT all depends on how they have configured it?

Are you using IIS, or is it on an Apache based system?

Confirm with the support that both <virtualHost> that you have point to the same DirectoryRoot

When you got the SSL they should have altered their prior configuration and bound the HTTP to the same IP that you got for the SSL.

I'm not sure what redirect hey are trying to get you to fix.

Author

Commented:
Something on our hosting companies end was not configured properly.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial