MyBB Community Forums

Full Version: Change domain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanted to ask, when I changed domains, eg from initial domain is a mybb.com mybb.co.cc whether there is a setting in the database of MyBB sqlnya what had set itself when doing domain replacement
You are only changing domains, right? Not host, database, ...?

You need to edit the inc/settings.php to change the current domain to your new one after the domain name changed.
You need to edit:
$settings['bburl']
$settings['cookiedomain'] (if not empty)
$settings['cookiepath'] (if not empty)

The log back in to your forum and go to AdminCP > Configuration > Settings > General Configuration and also change the same settings there:
Board URL
Cookie Domain (if not empty)
Cookie Path (if not empty)
ACP > Configuration > Setting > General Configuration > Board URL
What needs to be replaced ?
(2011-05-11, 11:29 AM)chibi Wrote: [ -> ]ACP > Configuration > Setting > General Configuration > Board URL
What needs to be replaced ?

Let's say your url is http://domain.com/ and you now have domain.cc
You need to change it to: http://domain.cc/