Advertisement:

Author Topic: Migrating servers on same host  (Read 2329 times)

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Migrating servers on same host
« on: January 03, 2019, 03:42:35 AM »
I have booked a multi site hosting plan with the same host (bigrock.in) and need to move my forum to a new server sometime before end of Feb. I suppose that this would still be relevant;

http://wiki.simplemachines.org/smf/Hosting_-_How_do_I_move_my_SMF_forum_to_a_different_host

Is there anything else that I should be concerned about ? Thanks in advance. 
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,635
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Migrating servers on same host
« Reply #1 on: January 03, 2019, 04:45:39 AM »
That should cover it pretty much, some mods might need further work, and some server configs might be more difficult than others to work with, but basically should be a fairly easy and straight forward operation.

Just make thorough backups of everything before you start, let your users know in advance, and be prepared that it might take some time if everything doesn't go exactly as planned.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline SpacePhoenix

  • Semi-Newbie
  • *
  • Posts: 95
Re: Migrating servers on same host
« Reply #2 on: January 03, 2019, 06:56:42 AM »
Do you have access to the new server yet? if you do it might be worth doing a test install on the new server to see what doesn't work properly and what is broke, so that you can have everything fixed ready for the actual move. Are you changing versions of SMF and/or either PHP and/or MySQL when you move servers?

Offline drewactual

  • Full Member
  • ***
  • Posts: 694
    • College Football Fan Site CFB51
Re: Migrating servers on same host
« Reply #3 on: January 03, 2019, 09:15:21 PM »
stupid question, but is the domain registered with this host or a domain reseller or top level registrar such as register dot com, ect.. ?

I made a move this summer past... and forgot to go to the place i registered the domain and provide and then flip the switch to the new DNS.... I started encountering black outs that couldn't be explained, until- DUH- went to the top level registrar, pointed it toward the new DNS server, and a short while later no more outages........ which brings up the next point:

IF you have to change DNS's at the top level registrar, alter the Time to Live to something like 5 minutes a week or so prior... in this case the Domain Name Servers will come back and check you at that interval- and allows for a rapid swap when the one server goes dark and the other lights up. 

if this is being managed for you, this can be disregarded.  if it's not? i sure wish someone would have reminded me of this little tidbit...

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #4 on: January 04, 2019, 06:25:19 AM »
Do you have access to the new server yet?
Are you changing versions of SMF and/or either PHP and/or MySQL when you move servers?

Yes, I have already moved another site to the new server, but that is a simple static site without a forum.
Software versions will remain the same.
I will give your suggestion a try.
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #5 on: January 04, 2019, 06:27:27 AM »
stupid question, but is the domain registered with this host or a domain reseller or top level registrar such as register dot com, ect.. ?

Yes, registered with this host. Like I said above, I have moved one site already and managed to change the Name Server settings without a hitch.
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #6 on: January 04, 2019, 06:28:25 AM »
Just make thorough backups of everything before you start, let your users know in advance, and be prepared that it might take some time if everything doesn't go exactly as planned.

That I will surely do. Thanks for all the inputs.
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #7 on: January 14, 2019, 11:33:26 PM »
One more related question please.

Right now my forum is at

www.diabetic.pub/forum

If I do away with the folder & move the forum to

www.diabetic.pub

Will changing the links in Repair Settings be enough or I will have to manually modify every link.
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,635
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: Migrating servers on same host
« Reply #8 on: January 14, 2019, 11:46:32 PM »
Repair_settings will be enough for the forum itself, but of course every posted link will still point to the old location and you probably want to do something about that too. Perhaps add a redirect to the server, from the old location to the new location.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #9 on: January 16, 2019, 05:54:39 AM »
Right now my forum is at
www.diabetic.pub/forum

If I do away with the folder & move the forum to
www.diabetic.pub

I think I should first accomplish this at the current server, and then shift to the new server. That would mean tackling one issue at a time and the migration would become easier. Right ?

Is there a write-up or a step-by-step guide for this ?
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #10 on: January 17, 2019, 03:37:25 AM »
I was able to move the forum to the root directory without a hitch. Also placed redirects so no user has trouble finding us. Thanks for all the inputs.
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline skb

  • Jr. Member
  • **
  • Posts: 362
    • Metabolically Challenged
Re: Migrating servers on same host
« Reply #11 on: January 30, 2019, 10:37:09 PM »
I did a trial run as suggested and was able to move servers without much trouble.
I copied the forum files and database to the new server, and was able to connect without too many problems. The new server setup is a multi-site hosting plan. The primary domain is different from the forum domain.
Therefore the URLs are shown as www.primarydomain.org/diabetic.pub/index.php
To remove the primary domain from the URLs I added the following code to the .htaccess of the primary domain (public_html) but still the primary domain shows up.
Any help will be appreciated.
Code: [Select]
RewriteCond %{HTTP_HOST} ^(www\.)?diabetic\.pub$
RewriteRule ^.*$ '-' [R=301,L]
Learning, every day.
Forum - The Diabetic Pub
Because every diabetic needs help
SMF 2.1 RC2 (default theme) / TP 1.6.2

Offline arakan

  • Newbie
  • *
  • Posts: 1
Re: Migrating servers on same host
« Reply #12 on: March 13, 2019, 01:47:42 PM »
IF you have to change DNS's at the top level registrar, alter the Time to Live to something like 5 minutes a week or so prior... in this case the Domain Name Servers will come back and check you at that interval- and allows for a rapid swap when the one server goes dark and the other lights up. 

Online vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,565
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Migrating servers on same host
« Reply #13 on: March 13, 2019, 01:53:53 PM »
IF you have to change DNS's at the top level registrar, alter the Time to Live to something like 5 minutes a week or so prior... in this case the Domain Name Servers will come back and check you at that interval- and allows for a rapid swap when the one server goes dark and the other lights up. 

Great tip most people forget that.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro