[FAQ]Moving forum to another machine or URL

Author
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
2013/02/23 11:23:39 (permalink) Setup
0

Moving forum to another machine or URL

Our forum security and licensing model is tied to your URL and machine. If you would like to change the directory name (or any edit to the URL) or moving the forum to another physical machine (moving hosts, e.g.), please follow the steps below.

While the software is still at the old (current) location (URL or machine):

  1. Log in as the System Admin (member ID = 0);
  2. Go to "Software Activation", and deactivate the current software;
  3. If you are changing the URL:
    1. Go to the AdminCP and update your Forum URL (to your new URL) under "Site Parameters";
    2. Then move your software to the new location;
  4. If you are moving to a new server, you can do it now;

Once you've moved the software to the new location (URL or machine):

  1. To reactivate the license, make sure the forum is running correctly in Trial mode on your new Machine / URL first;
  2. Log in as the System Admin (memberID = 0);
  3. Go to the Software Activation page, and use either Option 1 or 2 to activate the license.
The software license is tied to your URL and web server only. Therefore, you don't need to re-activate the license when you move your database to a different SQL server. Your SQL server can be on a different machine from your web server.

Attached Image(s)

#1
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
Re: Moving forum to another machine or URL 2013/02/23 11:28:59 (permalink)
0
If you moved your forum to a different URL (another site or folder) before changing the "Forum URL" under Site Parameters in the AdminCP, you'll need to manually change the Forum URL stored in the database (otherwise the software will redirect you back to the original URL).
 
Please use SQL management studio to execute the following statement:
Update pgd_config set forumdir ='http://<your-own-new-forum-url>/'

Don't forget the trailing / for the URL.
#2
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
Re: Moving forum to another machine or URL 2013/07/07 21:09:25 (permalink)
+1 (1)
One other thing you need to be concerned about moving the forum has to do with links (URLs) in posts. If the links point to the original forum URL, they will end up as 404 errors.
 
There are 2 things you need to do to correct this issue:
  1. Changing the URLs in posts to point to the new forum URL
  2. Adding 301 redirects in the old forum directory to catch all URLs and redirecting all requests to the new location.
You can do #2 only, but I recommend you do both.

Changing the URLs in posts

You can add a simple PGDCode to rewrite all urls pointing to the old location. See the image below for example. I'm using this myself because I just moved the entire forum from /forum to /community:

Adding 301 redirects

For example, I moved the entire forum from /forum to /community. To add a 301 redirect that sends all requests to the new location (/community), I simply place the following file (default.aspx) under /forum:
 
default.zip (you'll need to modify the code to match your site)
 
Then, under IIS Manager, I configure this file as a 404 error handler for both IIS and ASP.NET

For ASP.NET (redirects all .aspx requests)


 

For IIS (redirects all static file requests)


 

 

Testing 301 Redirect

Once the 301 redirect is set up according to the instruction above, you need to test it (see images below the testers for results to look for):
  1. WebConf tester: http://www.webconfs.com/redirect-check.php
  2. Internet officer: http://www.internetoffice...o-tool/redirect-check/
 
post edited by APGvNext Sam - 2013/07/07 21:34:46

Attached Image(s)

#3
Bud
Super Member
  • Total Posts : 200
  • Joined: 2008/05/20 17:33:42
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/21 01:44:38 (permalink)
0
Hi Samuel, I moved both of my forums to a newer server before reading this. Both forums are running fine with the same URLs as before though they are running as trial versions.
What do I need to do to activate them again? I can PM you my two order numbers if required.
Thanks

It's not me, it's you.....
#4
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/21 06:43:58 (permalink)
0
Hi Bud,
 
All you have to do is update the license db, and then re-activate your software.
 
First, go to your activation section in the admincp and generate a validation code, and then click on the License Management page button.
Then, paste in the validation code and you will see the license db records associated with your current order ID, which you can then update.
 
Finally, re-activate your license using the license activation interface.
#5
Bud
Super Member
  • Total Posts : 200
  • Joined: 2008/05/20 17:33:42
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/21 13:38:42 (permalink)
0
I tried that though I can't log into the license management page. I enter my ASPP username and password though it doesn't accept my Captcha code. I tried it more than 20 times. I can log into this forum with no problem though.
I'm using IE11.

It's not me, it's you.....
#6
Bud
Super Member
  • Total Posts : 200
  • Joined: 2008/05/20 17:33:42
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/21 19:35:22 (permalink)
0
I tried it again with Chrome and was able to use the Captcha. I tried it again on IE11 and it still doesn't work - seems to be a bug with ASPP and IE11.
Once logged in with Chrome I was able to update one of my forums successfully. The other one said my order number wasn't associated with my user account (or something similar). The problematic order number is 3********.
The URL is http://www.classic-ford.org/cfp
By the way, one of my licenses was a free upgrade from V3 and the other was a V4 purchase, if that helps you to figure it out.
Thanks
post edited by Bud - 2013/12/23 12:56:50

It's not me, it's you.....
#7
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/22 19:37:35 (permalink)
0
Hi Bud,
 
Please use the upgrade order number for your classic-ford domain. The order number you specified cannot be activated for V4.
#8
Bud
Super Member
  • Total Posts : 200
  • Joined: 2008/05/20 17:33:42
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/22 21:52:19 (permalink)
0
I have tried it already unsuccessfully with U****** and it came up with this -

ASPPlayground.NET License Management Interface

The License record is not currently associated with your account.

post edited by APGvNext Sam - 2013/12/23 07:37:53

It's not me, it's you.....
#9
APGvNext Sam
vNext Dev
  • Total Posts : 13218
  • Joined: 2001/05/23 00:00:00
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/23 07:38:35 (permalink)
0
I reset the record and associate it with your account. You should be able to re-activate it now.
#10
Bud
Super Member
  • Total Posts : 200
  • Joined: 2008/05/20 17:33:42
  • Status: offline
Re: Moving forum to another machine or URL 2013/12/23 12:57:40 (permalink)
0
Thanks. It works now.

It's not me, it's you.....
#11
Jump to:
© 2018 APG vNext Commercial Version 5.5