Working with Virtual Servers

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ryanalls1
New Member
New Member
Posts: 2
Joined: Wed Mar 02, 2011 9:54 pm

Working with Virtual Servers

Post by ryanalls1 »

We got a CMSMS site up and working great on a virtual server out in our DMZ (server A). We then copied the server down to a production/test environment and brought the server back up (server B)(it also snagged a dhcp address). Everything appeared to be fine. The only major issue is that when I sign into our test server (server B) as an admin to make changes to the site, it immediately redirects me to make changes on the server out in the DMZ (server A).

So going to server B/admin then takes me to serverA/admin/index.php.

Anyone know how I can fix this? Thanks in advance!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Working with Virtual Servers

Post by Dr.CSS »

You can't just move them around w/o making changes to the config.php file so it knows the path to admin etc. you can always put the install folder back in and run install but AT STEP 5 DON'T CREATE TABLES OR INSTALL DEFAULT CONTENT, this will fix any path issues...
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Working with Virtual Servers

Post by Wishbone »

Did you replace all references from A to B in config.php? Always needed when moving to a different server or path. Make sure you clear your cache in the admin panel.
ryanalls1
New Member
New Member
Posts: 2
Joined: Wed Mar 02, 2011 9:54 pm

Re: Working with Virtual Servers

Post by ryanalls1 »

Thanks for the replies!

I change 3 paths in config.php and restarted apache.

Now I get a completely blank page when I hit my web serverB/admin page. Odd because if I type something weird in like serverB/admin/test I get a page not found. So its like I properly hit the page but it gives me zilch back. actually the page source is:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<__html><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
</__body><__body></__html>


Does this sound fixable?
Locked

Return to “[locked] Installation, Setup and Upgrade”