Hi,
I am a bit stuck with the following:
I got my CWP running: Apache & Varnish Cache & Nginx Reverse Proxy
I got 3 domains for 1 user.
a.com
b.com
c.com
Domain a.com is running a drupal site under /home/theuser/public_html
How can I make b.com & c.com redirect to a.com
Redirect and not an alias.
Or using the same homedirectory (/home/theuser/public_html) makes the same site but on 3 different urls which makes your google ranking go down because your content isn't unique)
An alias who give problems for the autossl.
When I create b.com with the default path (/home/theuser/public_html/b.com)
I got a http 500 error. Probably due to the .htaccess in the base root (/home/theuser/public_html)
Edited the vhost.conf and use the redirect option
RedirectMatch permanent ^/(.*)
http://a.com/$1
This works for http sites. But not when you use
https://b.com or
https://c.comHope anyone can help me out with a good solution.