PDA

View Full Version : Moving host/server, need help with domain settings.


nadreg
04-18-2007, 12:22 PM
I currently have an active forum hosted on a shared server, and I want to move it to a dedicated server hosted with a different company.

The forum is currently at www.example.com. I want to migrate it to the new server and test it out for a couple of weeks before I redirect traffic to the new server. So, I'm trying to setup the forum on the new server with www.a-new-example.com.

My problem is that when I create the new vBulletin install and then import the database from the old forum, all the cookie settings are to www.example.com. So, once I restore the database on the new server, I can't login through admincp or in the forums.

Is there an easy way to fix this? Ideally, I want to test everything out with www.a-new-example.com and then change the domain in vBulletin, and point www.example.com to the new server.

Fraik
04-18-2007, 01:02 PM
You can change the domain address on your old board and THEN make a manual backup using a tool such as phpmyadmin. Or you make the backup trough the admin CP without first changing the domain settings. You will then need to change your domain settings manually in the database.

You will also need to make sure your config.php file has the right settings.

nadreg
04-18-2007, 01:26 PM
You can change the domain address on your old board and THEN make a manual backup using a tool such as phpmyadmin.

Hmmmm, I don't want to do this, as it will impact the current production BB.

Or you make the backup trough the admin CP without first changing the domain settings. You will then need to change your domain settings manually in the database.

Do you know where in the DB I would have to change the domain and cookie settings? [/QUOTE]

You will also need to make sure your config.php file has the right settings.

I think I'm set there, as I am able to bring up the forums on the new server with www.a-new-example.com. I just can't login because of the cookie settings.