going live on new domain in hours need clarification on new base url tool

soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok just want to make sure i get this right

im moving from greentechnologyforums.com
to www.dreadolockssite.com
new-ning or is it new_ning is the archive location and niung-mediathe media folder

so questions
1 besides dns what are all the changes i need to do to migrate
2 do i add just the domain or the new-ning sincxe thats already defined in the global config
3 once fully migrated and the final imports done what folders can safely be deleted can ning-media can new-ning


just making sure cause im going live in 48-72 hours


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 02/18/15 06:08:12PM
paul
@paul
10 years ago
4,335 posts
So your existing site is greentechnologyforums.com and that is going to change to www.dreadolockssite.com?

You'll need to edit the /data/config/config.php file appropriately and delete caches.
If you're using a recent version of jrNingImport that doesn't have the Manage Media tool, use the new Update Base URL tool to change all imported instances of greentechnologyforums.com in text strings to dreadolockssite.com
Then optionally use the Delete Media tool to save a load of disk space by deleting redundant archive files.
If you want, let me know when you're ready to do these NingImport tool operations and I'll check your site over just to make sure that is what you need to do.


--
Paul Asher - JR Developer and System Import Specialist
soaringeagle
@soaringeagle
10 years ago
3,304 posts
appreciated and its coming soon


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Paul:

My site is sitting in a directory with an add-on domain properly configured (as you may remember).

www.thechocolatelife.info/thechocolatelife/
thechocolatelife.thechocolate.info/

When I update the DNS (Godaddy is the registrar) these will appear as www.thechocolatelife.com

How much of what you recommend to @soaringeagle will I need to do as a part of the DNS change?
michael
@michael
10 years ago
7,778 posts
thechocolatelife:
Paul:

My site is sitting in a directory with an add-on domain properly configured (as you may remember).

www.thechocolatelife.info/thechocolatelife/
thechocolatelife.thechocolate.info/

When I update the DNS (Godaddy is the registrar) these will appear as www.thechocolatelife.com

How much of what you recommend to @soaringeagle will I need to do as a part of the DNS change?

Probably most of it, but no need to over-think it, just do it as part of the change. See if its working, correct as needed.

Jamroom uses the {$jamroom_url} variable in a lot of places, that corresponds to the base url of the site. updating config.php will reset that so the links are right.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
paul
im an hour maybe 2 from switching over
as soon as i drink some cofeee im rebuilding the zone file (i run dns on the server)
then when photo imports are done im switching ill do vids and music after the swittch


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
paul
@paul
10 years ago
4,335 posts
soaringeagle:
paul
im an hour maybe 2 from switching over
as soon as i drink some cofeee im rebuilding the zone file (i run dns on the server)
then when photo imports are done im switching ill do vids and music after the swittch

Cool - Let us know when its live any I'll take a few screenshots and put it on the N2JR sites page.
In the meantime I'll put the champagne on ice ;-)


--
Paul Asher - JR Developer and System Import Specialist
soaringeagle
@soaringeagle
10 years ago
3,304 posts
might need a server side account space merge 1st

looking into that plus need the ssl setup etc


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok tobe sure
clearing caches u mean template and icon cache do i need to empty the core/cache or data/cache image cache database cache anything


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
found in documentation glad i double checked

lil delay as had to do a lil migration since i had a subdomain using the account space needed
gotta apply an ssl as well


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
paul:

You'll need to edit the /data/config/config.php file appropriately and delete caches.
If you're using a recent version of jrNingImport that doesn't have the Manage Media tool, use the new Update Base URL tool to change all imported instances of greentechnologyforums.com in text strings to dreadolockssite.com
Then optionally use the Delete Media tool to save a load of disk space by deleting redundant archive files.
If you want, let me know when you're ready to do these NingImport tool operations and I'll check your site over just to make sure that is what you need to do.

Paul - getting ready to make the move. Would appreciate help being walked through - before Monday. I am assuming that all this should be done before I change the nameserver over to Arvixe. I will get the SSL done after I make the move.

Currently at http://www.thechocolatelife.info/thechocolatelife/
add-on domain is thechocolatelife.thechocolatelife.info IIRC

New domain will be http://www.thechocolatelife.com/
updated by @claygordon: 01/16/15 09:30:11PM
michael
@michael
10 years ago
7,778 posts
Clearing the cache steps are outlined on this page:

"Somethings wrong what do I do?"
https://www.jamroom.net/the-jamroom-network/documentation/problems/114/somethings-wrong-what-do-i-do

Follow the same steps after you think all is good, just to check.
michael
@michael
10 years ago
7,778 posts
thechocolatelife:
Would appreciate help being walked through.... change the nameserver over .....

Currently at http://www.thechocolatelife.info/thechocolatelife/
.....
New domain will be http://www.thechocolatelife.com/
....

* update the name servers so thechocolatelife.com points to the server with jamroom installed.
* edit the /data/config/config.php file.

It probably looks like this:
<?php
$_conf['jrCore_db_host'] = 'localhost';
$_conf['jrCore_db_port'] = '3306';
$_conf['jrCore_db_name'] = 'somedatabasename';
$_conf['jrCore_db_user'] = 'someusername';
$_conf['jrCore_db_pass'] = '12345_the_password_6789';
$_conf['jrCore_base_url'] = 'http://www.thechocolatelife.info/thechocolatelife';

That will change to:
<?php
$_conf['jrCore_db_host'] = 'localhost';
$_conf['jrCore_db_port'] = '3306';
$_conf['jrCore_db_name'] = 'somedatabasename';
$_conf['jrCore_db_user'] = 'someusername';
$_conf['jrCore_db_pass'] = '12345_the_password_6789';
$_conf['jrCore_base_url'] = 'http://www.thechocolatelife.com';

(assuming that the root folder of thechocolatelife.com contains the jamroom install and the jamroom install is not in thechocolatelife.com/thechocolatelife )

Then follow the steps in "Somethings wrong what do I do?"
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
The JR install is in what will be thechocolatelife.com/ and not in any sub-directory.

The only line I need to change the config.php file is the base URL file.

Do I need to run the rebase URL utility from within the Jamroom ACP?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
The JR install is in what will be thechocolatelife.com/ and not in any sub-directory.

The only line I need to change the config.php file is the base URL file.

Do I need to run the rebase URL utility from within the Jamroom ACP?

No - rebase is for moving module release directories back to their main directory - you don't need to do that - just:

- update URL in config.php
- reset all caches

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Coolio. The site will probably become unavailable for a while as DNS changes propagate so I will do this just before going to bed tonight. I have no life outside of this until it's up. Saturday night near NYC and what am I doing? Scheduling meaningful time with my domain registrar. Sheesh.
paul
@paul
10 years ago
4,335 posts
I've just had a look at your server and just want to be sure with what you are doing.

Your Arvixe server has the domain http://www.thechocolatelife.info and that points to the public_html folder.
Currently, your JR install is in the sub-folder /thechocolatelife which is why you access it at http://www.thechocolatelife.info/thechocolatelife
You want http://thechocolatelife.com to point to your Jamroom install.
Correct?
OK - You already have thechocolatelife.com setup as an add-on domain pointing to the /thechocolatelife folder so yes, set the thechocolatelife.com DNSs to point to your Arvixe server, edit the config file to -
$_conf['jrCore_base_url'] = 'http://www.thechocolatelife.com';
Delete the contents of the /data/cache folder and you should be good to go.

Another thing. As you are going live, please, for the moment, refrain from using the jrNingImport send emails tool. Mass emails sent from Jamroom should trickle out at a low rate so as not to trigger any 'anti-spam' alarms but we have recent found an issue that can cause them to be sent faster than intended, causing Arvixe alarms to be triggered. We will hopefully soon have a fix for that, so please wait for advice here when its ok to use that tool.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Okay Paul -

Let me know when it's okay to send out all those emails.

Alternatively, I can sign up for a Mailgun account between now and Monday. I have already downloaded the jrMailgun module, I just haven't activated or configured it.

I have fewer than 10,000 members which is their monthly free minimum. Does that get around this issue? Or is Mailgun only used for jrNewsletter emails?
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Alternatively, I can sign up for a Mailgun account between now and Monday. I have already downloaded the jrMailgun module, I just haven't activated or configured it.

I would recommend going with Mailgun - you'll get significantly higher delivery rates than sending directly from the local server.

Make sure signup for Mailgun account, install the free Mailgun module and configure it, and then in the Email Support module make sure you select the "Mailgun HTTP API" as your Active Email System.

All email will then be sent through Mailgun. Arvixe will actually shut your site off if you exceed X number of emails per minute, so I would skip their email handling all together and setup Mailgun.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
Brian -

I had intended to sign up with Mailgun, the question was whether I would do it before or after sending out the invitations. It's going to be before.
brian
@brian
10 years ago
10,148 posts
thechocolatelife:
Brian -

I had intended to sign up with Mailgun, the question was whether I would do it before or after sending out the invitations. It's going to be before.

Yep - you want to do it before.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
i had trouble getting mailgun to work asthe way my server did the txt records couldntr get the domain to verify
im goingto try again now that i went live
but im getting 404 not founds on my site i believe because they didnt assign a dedicated ip to the ssl
also because they had to muigrate it i didnt get to use the ning imports rest archive url tool


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
crap paul help i canyt login i think i need to enable sslurls but i cant login


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,148 posts
soaringeagle:
but im getting 404 not founds on my site i believe because they didnt assign a dedicated ip to the ssl

You only need a dedicated IP for SSL if you are a server configured with multiple domains AND your site is not the "default" site - otherwise port 80 and port 443 can run on the same IP.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
igot the site up but i cant login!
i think because 1 i wasnjt able to use that rebase the ning archivce tool or 2 use ssl urls
1 or the other but iget invalid form data errors everytime i try to login

to make matters worse they reset my root pass so i cant even poke around in phpmyadmin for a solution

what do i do


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
brian
@brian
10 years ago
10,148 posts
soaringeagle:
igot the site up but i cant login!
i think because 1 i wasnjt able to use that rebase the ning archivce tool or 2 use ssl urls
1 or the other but iget invalid form data errors everytime i try to login

to make matters worse they reset my root pass so i cant even poke around in phpmyadmin for a solution

what do i do

Yeah sounds like something is misconfigured. Are you certain SSL was configured correctly?


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
soaringeagle
@soaringeagle
10 years ago
3,304 posts
i wejnt to https://www.dreadlockssite.com never got any warnings but like i said i had no access to the site because they had to do a migration and a ssl install so till i swiched dns i coiuldnt login to chanfge the ssl urls or the ning archive url


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
whew so glad i had 200 tabs open had whm logged in in 1 so in phpmyadmin is there any way to regain control set the ssl urls maybe reset the ning archgive url


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
10 years ago
3,304 posts
damn im good
i knew id find it if i kept digging in the database! im in
i forget where i found it just had to change force ssl to on

i was freaking pannicking!
ahh deep sigh of relief www.dreadlockssite.com is now live!


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Strumelia
Strumelia
@strumelia
10 years ago
3,603 posts
Congratulations Soaring. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
SteveX
SteveX
@ultrajam
10 years ago
2,584 posts
Well done Soaring! Things are looking good!


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I do not do this very often ...

The registrar for TheChocolateLife.com is GoDaddy and because I have my MX records for GMail there I don't want to move the nameservers to Arvixe ... unless all the existing records will transfer without a hitch and it will make everything just a whole lot easier.

The A record host is @ which points to 208.82.16.68, which I assume is some Ning name server.

Mail is hosted at Google, so I have CNAME and MX records for that.

There is a CNAME www entry which points to discoverchocolate.ning.com

I have to find an IP address or server name from Arvixe for the A @ host record.
TheChocolateLife.com sits @ thechocolatelife.thechocolatelife.info and thechocolatelife.info/thechocolatelife.

I like having a www tertiary name - what's the hostname for that?

This is the last stuff that's standing in the way of my making the switch. I just want to make sure I get it right as the delays are 24-48 hours if I get it wrong.

I have to configure txt, CNAME, and MX records for Mailgun. But that's a separate issue.
updated by @claygordon: 01/17/15 08:52:50PM
soaringeagle
@soaringeagle
10 years ago
3,304 posts
alot of that ning stuff u no longer need i dont know anything about arvixe
but i use a name server on my server
u can use arvixe nameservers or set up dns name servers on your server
you would only need to copy over about 1/2 of those entries

you can export andimpirt zone files then edit it on arvixe iifu want but its probably simpler yto just copty what you need
change what you need to
or u can simple leave godaddy as the nameservers delete that cname
change the a-record ip

if using mailgun u will have to add some configs for that


wich im still having issues getting mailgun working


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
thanks, @soaringeagle - I just need to get the A record IP address from Arvixe and ask them about the www as well.
soaringeagle
@soaringeagle
10 years ago
3,304 posts
that should have been included in any welcome to arvixe emails that had all yo9ur server info


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
paul
@paul
10 years ago
4,335 posts
Looking good SE. Can I take some screenshots and add it to the N2JR Wall of Fame?

https://www.jamroom.net/ning-to-jamroom/mysites

Send me a short testimonial to put up there as well if you can.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
soaringeagle
@soaringeagle
10 years ago
3,304 posts
ok testimonial for 5 years i had the only trusted site in the niche but as mobile traffic grew and nings slow load times and even slower development and improvement, my sites traffic was dying fast
Jamroom not only gave me more power, speed, and flexibility, but some of the fastest development and improvements i'd ever seen. not to mention extremely responsive service.
My sites come alive again!
dreadlockssite.jpg
dreadlockssite.jpg  •  350KB




--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 01/18/15 07:48:48AM
paul
@paul
10 years ago
4,335 posts
thanks SE - https://www.jamroom.net/ning-to-jamroom/mysites


--
Paul Asher - JR Developer and System Import Specialist
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
soaringeagle:
that should have been included in any welcome to arvixe emails that had all yo9ur server info

Thanks, SE, it was. Buried at the end of a VERY long email with lots of other information, IP addresses, and more.

Made the update, waiting for it to propagate and then will update config.php and I am good to go.
paul
@paul
10 years ago
4,335 posts
Don't forget to delete all the folders in the /data/cache folder as well (but leave the index.html file there). Do this via FTP to make sure everything has gone and your new domain has a clear run at things.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
10 years ago
3,603 posts
you delete the entire folders right?- not just what's in them. (and leave the index.html file there)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Clay Gordon
Clay Gordon
@claygordon
10 years ago
744 posts
I hope so - 'cause that's what I just did!

Yeah. You can do it manually via FTP and it's JR-approved on the following page:

https://www.jamroom.net/the-jamroom-network/documentation/problems/114/somethings-wrong-what-do-i-do
updated by @claygordon: 01/18/15 10:49:47AM

Tags