Enjoy unlimited access to all forum features for FREE! Optional upgrade available for extra perks.

Redirection help

Joined
Nov 11, 2005
Posts
2,333
Reaction score
572
I hope this makes sense.

If you have a site (site A) with an SSL certificate, can you park a domain name on it (one without an SSL certificate itself) and redirect it to a secure page on site A?

Or can you not redirect an unsecured parked domain name to a secured page without getting error messages?
 
You could park it by redirecting it to the secure page but you would have to edit the htaccess file and move the domain concerned out of the park section.

This will allow your parked domain to redirect without an insecure message.

Could be an easier way but that works fine.
 
Thanks DomainAngel.

So I would not park it, but would add some code to the .htaccess?

I want to do this for a few thousand domains :)
 
You can't just add code to htaccess as the server wouldn't recognise your domain.

Just put your rewrite before any https code or 404 etc
 
Eg when you add a redirect/park it writes to htaccess below the https section

When you've added all your domains you need to edit htaccess and move them above so the redirect occurs before, yes it works in order.

RewriteCond %{HTTP_HOST} ^acorndomains\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.acorndomains\.co\.uk$
RewriteRule ^/?$ "http\:\/\/www\.acornredirect\.co\.uk\/domain\-under\-development\.html" [R=301,L]

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

ErrorDocument 404 /404-page-not-found.html

RewriteCond %{HTTP_HOST} ^THISISWHEREREDIRECTUSUALLYGETSWRITTEN\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.ACORNDOMAINS\.co\.uk

Does that make sense?
 
It may do in the morning when I have time to go through it :)

But I think I know what you mean.

Would I still park the names, redirect them to a page on the secured site, and then when I've redirected all the domains, move the redirections in the .htaccess file to above the https section?

Really appreciate the help.
 
Last edited:
# BEGIN rlrssslReallySimpleSSL rsssl_version[2.2.15]

Do I just paste all the redirects above the line above?
 
You should be able to just park, I thought you would have a force all https www etc

I only know my fix sorry, tomorrow will see more users on so you won't have to wait long for a correct fix if just parking doesn't work.
 
Apparently just parking won't work, but I'll wait to see what others say tomorrow. Thanks for your help though! I think your solution may work for me.
 
I tried your solution and think it works for me too.

I'm not sure how these things work, but would having such a big .htaccess file (with lots of parked names being redirected) affect site performance in any way?
 
The big access file won't have any issues with performance.

Obviously if you have lots of traffic to all your domains your server may cause the performance issue but that would be the same whatever way you did it. Nothing to be worried about im sure.
 

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Featured Services

Sedo - it.com Premiums

IT.com

Premium Members

AucDom
UKBackorder
Register for the auction
Acorn Domains Merch
MariaBuy Marketplace

Domain Forum Friends

Other domain-related communities we can recommend.

Our Mods' Businesses

Perfect
Service
Laskos
*the exceptional businesses of our esteemed moderators
Top Bottom