Suggestions to set up a redirect for multiple domains?

Get answers here.

Moderators: BBear, theunknownhost, flaguy

Post Reply
User avatar
Sapphyre
Official Test Penquin
Posts: 3337
Joined: Tue Nov 19, 2002 2:50 am
Location: Canada

Suggestions to set up a redirect for multiple domains?

Post by Sapphyre » Tue Sep 29, 2015 5:53 pm

Say I have sitebuilder.clientdomain.tld
and sitebuilder.clientdomain2.tld
sitebuilder.anotherclientdomain.tld
etc...

What's the most efficient way to redirect these to an outside URL which I do not control?

I have been manually creating a subdomain in each control panel then using htaccess to redirect to the third party URL.
I don't wish to continue doing this FOR EACH account, obviously; once per server would be more like it.

I can add an A record for sitebuilder subdomain in the DNS template then what? How to telll Apache that any request for sitebuilder.x.x either:
  • - redirects directly to the external website
    - or else points to a document root for one of our own domains - and from there we can redirect
It's a crested auklet

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest