Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
May 5, 2008 - May 08 Web Site of the Month? - Submit your LINKS!!!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 01:17:34 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Parked domain and SSL certificate  (Read 145 times)
camille
Spacescooter Operator
*****
Offline Offline

Posts: 45


« on: May 03, 2008, 01:39:56 PM »

I have a parked domain that resolves to a domain in which my ssl cert was purchased. I noticed that my ssl cert/comodo image does not show up when I enter my site thru the parked domain. The javascript popup says IDAuthority not available for this site.  Is there any work around this?  Id hate for my customers to see that popup when its not true in a sense.

Thank you in advance!
Logged
camille
Spacescooter Operator
*****
Offline Offline

Posts: 45


« Reply #1 on: May 03, 2008, 03:33:32 PM »

Just a thought..if my ssl certificate was purchased for abc.com, can I redirect my parked domain xyz.com so it will say abc.com in the address bar?


In htaccess, I think I can have this:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^xyz.com [NC]
RewriteRule ^(.*)$ http://www.abc.com/$1 [L,R=301]

I believe this would take care of the situation if someone enters xyz.com in the address bar.  Is there a way to write this for www.xyz.com?

Also, if I want www.abc.com to redirect to www.abc.com/store - can I use the above code but add /store?  Or would I need to do the following type of redirect:


RewriteCond %{HTTP_HOST} ^(www\.)?abc.com$
RewriteCond %{REQUEST_URI} !store/
RewriteRule ^(.*)$ store/$1


I've been researching this online and Im not sure I completely understand all the coding.  Can someone help me?

Thanks!
« Last Edit: May 04, 2008, 03:48:14 PM by camille » Logged
camille
Spacescooter Operator
*****
Offline Offline

Posts: 45


« Reply #2 on: May 06, 2008, 09:55:03 AM »

I figured it out.  The first step is an external redirect, the second is an internal rewrite.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM