Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Multiple domain names point to same host.
I have a couple domain names registered at my web host.. I have vanilla configured to use one of them and it works. But, if I access the site via the other domain name it does not work.. Is there a way to configure it so that if I access the site with either domain name it will work?
Both domain names point to the same server and files.
Both domain names point to the same server and files.
0
This discussion has been closed.
Comments
If its always linking to the other domain, and you want the links to stay on whichever domain the user first came in on, then add this to the bottom of conf/settings.php:
$Configuration['BASE_URL'] = 'http://'.$_SERVER['HTTP_HOST'].$Configuration['WEB_ROOT']; $Configuration['FORWARD_VALIDATED_USER_URL'] = $Configuration['BASE_URL'];
$Configuration['COOKIE_DOMAIN'] = '';
and see if that works. If not, try false instead of ''Google doesn't like duplicate content