Relocate to new domain on same server?

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Anti-Spam Guide
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
Sickle
Registered User
Posts: 19
Joined: Sun Dec 13, 2009 8:29 pm

Relocate to new domain on same server?

Post by Sickle »

Hey guys, I need to transfer a forum installation from one domain to another. They are both on the same server account.

My understanding is I can move the entire phpBB directory to the new location and simply update its cookies, is this correct?

If not, please advise.

Cheers,
D

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50984
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Relocate to new domain on same server?

Post by stevemaury »

Yes, assuming the db server stays the same. Just change the Server settings and Cookie settings as appropriate.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Sickle
Registered User
Posts: 19
Joined: Sun Dec 13, 2009 8:29 pm

Re: Relocate to new domain on same server?

Post by Sickle »

Ok cool, thanks.

One more question:

I'm assuming its a bad idea to have two forums pointing to the same database. Is there any special observance I need to meet before loading up the new one after relocating? I was planning on simply deleting the existing one on the current domain before I tried to access the duped forum in the new domain location.

Just don't wanna screw anything up, heh..

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50984
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Relocate to new domain on same server?

Post by stevemaury »

No,they can point to the same database so long as different table prefixes are used.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

blakebowling
Registered User
Posts: 775
Joined: Sun Apr 27, 2008 4:49 am
Location: 127.0.0.1

Re: Relocate to new domain on same server?

Post by blakebowling »

I believe he is asking if you can run two copies of the files, on two separate domains, with the same set of tables. The only problem would be with your cookie settings, so the domain that the cookies aren't setup for, would be slightly affected, but you are safe to leave your old forum up until you have verified that the new one works correctly.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50984
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Relocate to new domain on same server?

Post by stevemaury »

You could, but not at the same time.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Locked

Return to “[3.0.x] Support Forum”