NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Webmaster Tutorials
Reload this Page Moving vBulletin to a new server. [Tutorial]

Webmaster Tutorials Instructional webmaster-related how-to's and tutorials.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-22-2005, 10:03 AM THREAD STARTER               #1 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
Join Date: Sep 2003
Posts: 890
CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about
 



Moving vBulletin to a new server. [Tutorial]


This tutorial will walk you through moving a vBulletin forum from one host to another.

Requirements:
SSH Access on both servers.

Notes:
We will refer to the server your website currently lies on as the source server and the server that you wish to move your website to as the destination server.

The Tutorial:
You first need to login to the source server via SSH. Once you login you will need to use the cd command to get into the directory which contains your vbulletin files. For cPanel servers you will most likely just have to type in:
cd ./public_html

We are now going to place all of the files up in that folder into a zip file. To do this type this command:
zip -r vBulletin.zip ./
????: NamePros.com http://www.namepros.com/webmaster-tutorials/71420-moving-vbulletin-to-new-server-tutorial.html

You now have your files backed up into a zip file. Now we need to backup the database, but first let's shut off the vBulletin installtion so we don't lose any posts. Follow the following steps:
1. Log into your AdminCP.
2. Click the vBulletin Options link on the left.
3. Goto Turn Your vBulletin On and Off and click Go.
4. Type in a message such as this:
<p>Sorry, vBulletin.com is moving to a new server. Once you see the site again we will be located on the new server and you may continue posting.</p>
<p>We will be back soon...</p>
5. Change Forum Active to No and then click Save.

Now your ready to back up your database. Run the following command but before you run the command you need to change a few things:
????: NamePros.com http://www.namepros.com/showthread.php?t=71420
Change where it says database to your vBulletin database name.
Change where it says -uusername to your MySQL username but keeping -u on the front.
Change where it says -ppassword to your MySQL username's password but keeping the -p on the front.
mysqldump database -uusername -ppassword > vBulletin.sql

Now we are done on the source server. You may now logout of the server and login to the destination server via SSH. We need to do the same thing as we did before by changing to the directory where you want your vBulletin files to be placed. We can run the same command as we did before if we're on a cPanel server which would be:
cd ./public_html

Now we need to get the files from our source server. To do this we will run the following command while changing vBulletin.com to your domain or IP address:
wget http://vBulletin.com/vBulletin.zip
wget http://vBulletin.com/vBulletin.sql

Once we have the files on our server we will need to unzip the vBulletin files and then import the database. We will use this command to unzip the files:
unzip vBulletin.zip

Now the files should be in the directory, but we need to import the database. We will use this command again changing a few things:
Change where it says database to your vBulletin database name.
Change where it says -uusername to your MySQL username but keeping -u on the front.
Change where it says -ppassword to your MySQL username's password but keeping the -p on the front.
mysql database -uusername -p < vBulletin.sql

Now we're done. You're all setup and everything should be running. If you now have different username and password for you vBulletin install we will need to change the config.php file in the includes folder to match these new values. Once you do that we need to turn the forums back on so when users are now on this server they can continue to use the website. Remember to use the IP address to check to make sure everything is up and running correctly. Follow these steps:
1. Log into your AdminCP.
2. Click the vBulletin Options link on the left.
3. Goto Turn Your vBulletin On and Off and click Go.
4. Change Forum Active to Yes and then click Save.

You're all done now. Hopefully this was easy and everything is up and running.
__________________
Online Time Tracking :)
CreativeLogic is offline  
Old 02-22-2005, 12:46 PM   #2 (permalink)
RJ
NamePros Webmaster


 
RJ's Avatar
Join Date: Feb 2003
Posts: 12,930
RJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatnessRJ Has achieved greatness
 



Find Marrow Donors! Cystic Fibrosis Parkinson's Disease
Good walkthrough!
__________________
@DomainBuyer facebook
RJ is offline  
Old 02-23-2005, 01:54 AM   #3 (permalink)
NamePros Regular
Join Date: Feb 2005
Posts: 579
abcde is a jewel in the roughabcde is a jewel in the roughabcde is a jewel in the rough
 



what is SSH
abcde is offline  
Old 02-23-2005, 02:17 AM THREAD STARTER               #4 (permalink)
NamePros Regular
 
CreativeLogic's Avatar
Join Date: Sep 2003
Posts: 890
CreativeLogic has a spectacular aura aboutCreativeLogic has a spectacular aura about
 



Secure shell. It's similar to telnet, you may even hear a few people refer to it as telnet. You can find a free ssh client called putty. Just goto google and type in putty, the second link (as of now) will be where you can download it.
__________________
Online Time Tracking :)
CreativeLogic is offline  
Old 02-24-2005, 01:19 AM   #5 (permalink)
PHPHelpSite.com
Join Date: Feb 2005
Location: Boston
Posts: 2,580
alegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud ofalegend has much to be proud of
 



thanks for the tutorial.
alegend is offline  
Old 02-24-2005, 02:33 AM   #6 (permalink)
Account Suspended
Join Date: Feb 2005
Posts: 118
TheWebJunkie is an unknown quantity at this point
 



Nice detailed guide there CreativeLogic im sure many people will find this usefull
TheWebJunkie is offline  
Old 02-24-2005, 02:07 PM   #7 (permalink)
NamePros Expert
 
redhippo's Avatar
Join Date: Oct 2003
Location: ANForum
Posts: 5,218
redhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to beholdredhippo is a splendid one to behold
 



WOW this great..thanks Ryan! it will be be helpful when i move hosts
__________________
|www.vb-skins.com|- Quality Premade Vbulletin skins for Your VB forum makeover |www.Banjir.com|-Free image hosting?[B]For Sale!|AlphaScripts|Money Generating Scripts
FREE VB Skins
redhippo is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 10:13 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger