Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
jwdenzel Posted September 7, 2018 Posted September 7, 2018 I want to have a private "dev" site that mirrors my main one so I can test out upgrades and new skin designs. I duplicated my site and its database and set it up on a different IP address. I changed the site URL parameter. But every time I login, it takes me to my main site. Example: WORKING: https://MySite.com NOT working: https://dev.MySite.com -- When I login here, it forwards me to the live site. Is this a licensing limit? How do I setup a dev site or get a dev license?
Nathan Explosion Posted September 7, 2018 Posted September 7, 2018 Did you run the support tool? Did you change the license key to add -TESTINSTALL to the end?
jwdenzel Posted September 8, 2018 Author Posted September 8, 2018 18 hours ago, Nathan Explosion said: Did you run the support tool? Did you change the license key to add -TESTINSTALL to the end? Cool. I didn’t know about that. I’ll investigate.
bfarber Posted September 10, 2018 Posted September 10, 2018 You will want to do everything suggested here. First, change the URL in conf_global.php (the key will be base_url or board_url - you may also need to change the database details here if you haven't already). Next, log in to the AdminCP and run the support tool to clear out any of your caches. Also, change the license key as suggested (your license allows one live site and one test site)
jwdenzel Posted September 11, 2018 Author Posted September 11, 2018 On 9/10/2018 at 5:48 AM, bfarber said: You will want to do everything suggested here. First, change the URL in conf_global.php (the key will be base_url or board_url - you may also need to change the database details here if you haven't already). Next, log in to the AdminCP and run the support tool to clear out any of your caches. Also, change the license key as suggested (your license allows one live site and one test site) Thank you. I'll try all this out. But how do I do steps 2 or 3 when I am not able to log into the AdminCP? When I login, it redirects me to my live, production AdminCP. Can I modify the license directly in the db?
Faqole Posted September 11, 2018 Posted September 11, 2018 5 minutes ago, jwdenzel said: Thank you. I'll try all this out. But how do I do steps 2 or 3 when I am not able to log into the AdminCP? When I login, it redirects me to my live, production AdminCP. Can I modify the license directly in the db? Did you already do step 1? Because that is why you are being redirected to your live site.
jwdenzel Posted September 11, 2018 Author Posted September 11, 2018 11 minutes ago, Faqole said: Did you already do step 1? Because that is why you are being redirected to your live site. Yes, I did, and I just verified that it is set correctly: $INFO['board_url'] = 'https://dev.dragonmount.com'; And I verified that the db info was correct as well, pointing to the proper MySQL db, and username / pw.
jwdenzel Posted September 17, 2018 Author Posted September 17, 2018 On 9/10/2018 at 5:48 AM, bfarber said: You will want to do everything suggested here. First, change the URL in conf_global.php (the key will be base_url or board_url - you may also need to change the database details here if you haven't already). Next, log in to the AdminCP and run the support tool to clear out any of your caches. Also, change the license key as suggested (your license allows one live site and one test site) Hi bfarber, Bumping this again. I did step 1, but but I cannot do spit 2, because when I login,it still takes me to the AdminCP of my live site. See my previous post, I set my board_url to the dev site. Thoughts?
Nathan Explosion Posted September 17, 2018 Posted September 17, 2018 Delete the contents of the datastore folder.
DSystem Posted September 17, 2018 Posted September 17, 2018 It may simply be the DNS cache in your browser or the local HOSTS file configuration https://eletronicabr.com/forums/topic/159118-como-e-por-que-você-deveria-limpar-o-cache-do-dns-no-pc-e-celular/ @jwdenzel
jwdenzel Posted September 17, 2018 Author Posted September 17, 2018 Could this latest issue be related to my SSL certificates being reused on my dev site? Maybe?
jwdenzel Posted September 17, 2018 Author Posted September 17, 2018 FIXED. Yes, indeed, it was an SSL issue. I missed something in my ssl vhosts file. Thanks for everyone's help. I've got my dev site up
Recommended Posts
Archived
This topic is now archived and is closed to further replies.