multi domain redirection is not working Contao


multi domain redirection is not working Contao



I have a multi domain site . I have 2 root pages . I configured the DNS settings for the 2 root pages. First root is working . When enter the second domain's url ,it is redirected to first . Without DNS configuration any other configuration is there ???
I have also set the redirection in htaccess bt its not working


RewriteCond %{HTTP_HOST} ^firstDomain.com$ [NC]
RewriteRule (.*) http://www.firstDomain.com/$1 [R=301,L]

RewriteCond %{HTTP_HOST} ^SecondDomain.com [NC]
RewriteRule ^(.*)$ Http://www.SecondDomain.com/$1 [R=301,L]



Can I make a domain only accessible when only logged into backend ?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

api-platform.com Unable to generate an IRI for the item of type

PHP contact form sending but not receiving emails

Do graphics cards have individual ID by which single devices can be distinguished?