MyBB Community Forums

Full Version: Move MyBB Forum from one domain to another in the same webhost
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My MyBB forum is hosted in the following URL
http://www.insightsintechnologyforum.tk/
I want it to move it under the subdomain of my blog.
http://www.forum.insightsintechnology.com/
I want to keep the same webhost.

Please instruct me.Huh


My Blog
go to your provider CPanel Request new subdomain or add-on domain. This will give the website Another adress that if typed in will redirect to your page.

(e.g. cpanel.lazbit.com -> Login -> Domains -> Addon - Domain/ Sub-Domain)

Hope this works for you.
@Shaymangops: Thanks for your answer.
Addon - Domain/ Sub-Domain did not redirect to actual domain but parked domain does.

Actually I don't want to redirect, rather want the http://www.forum.insightsintechnology.com/ subdomain as the actual web-address.


My Blog
go to cpanel > subdomains.
Create new subdomain forum.domain.com and park it to /subs/forum

copy all your forum root files to ./subs/forum folder on your host.

open ./subs/forum/inc/config.php and change forum url to http://forum.domain.com

\u'r done

i'm sorry. but you need to edit these files, not config.php

./subs/forum/inc/settings.php

find
$settings['bburl'] = "http://www.domain.com"; 
replace http://forum.domain.com with http://domain.com

find
$settings['cookiedomain'] = ".domain.com";
replace .domain.com with .forum.domain.com
@MyBB King: Thanks for your reply. Your instruction helped me partially. Smile

Actually I had the forum at different address
http://www.insightsintechnologyforum.tk/
and the blog at other address
http://www.insightsintechnology.com/
So, no question of setting a sub domain.
Moreover the blog is set at blogger.
So, I created a subdomain in my domain registrar (godaddy) and pointed that to my webhost.
I copied all the contents of my previous forum to the new address after adding the later as an add-on domain.
Now I created a new MySQL database and added its new values to inc/config.php & inc/settings.php. Also I changed some values (website address) in .htaccess that was added due to a plugin.
Next I exported all the tables from phpMYAdmin from the old forum and opened that file (e.g. u344584273_forum.sql) in notepad changed u344584273_forum with my new database name. and saved the file as newdatabasename.sql. Next I imported that file to the phpMyAdmin of my new forum.
Now everything worked fine.


My Blog