Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th January 2009, 20:24
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
Default weird printout after moving server

Today I moved my server from home to datacenter.
I changed /etc/network/interfaces , /etc/resolf.conf and all IP's on ispconfig magament and DNS manager.
All went fine, all sites are workong, or they will after dns refresh.
However, I noticed something strage.
When I do tail -f /var/log/httpd/ispconfig_access_log , I get printout:
Code:
localhost||||411||||89.212.52.180 - - [16/Jan/2009:19:33:06 +0100] "GET /e107_plugins/sgallery/includes/..  lots of stuff here "Mozilla/5.0 (Windows; U; Windows NT 5.1; sl; rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20"
But on the old system looks like this:
Code:
www.slove-reggae.com||||35117||||66.249.71.106 - - [16/Jan/2009:19:33:12 +0100] "GET /index.php?option= blabla "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
Now, is there anything else that I forgot to change?

The old system was behind the router with ip 192.168.1.4, new system is connected directly to the bone, with static ip.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 16th January 2009, 21:09
lano lano is offline
Member
 
Join Date: May 2007
Posts: 94
Thanks: 10
Thanked 8 Times in 7 Posts
 
Default

I think I solved problem.
After my previous post, few customers called me that they are getting shared IP
Here is how I did it:
First I made backup ispconfigdb and Vhosts_ispconfig.conf
Then I opened ispconfigdb.sql with notepad++ (yeah, I use Win) and find/replace old ip's with new one.
I uploaded new database with phpmyadmin.
Same procedure with Vhosts_ispconfig.conf find/replace and replaced new file.
Then I restarted ispconfig service and apache2 and, it worked.

David
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail problems with only one domain? compner Installation/Configuration 14 16th February 2010 16:59
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 10:58
Help! Why do I see message about Apache, CPanel & WHM. I don't run cpanel! websissy Installation/Configuration 3 18th November 2008 22:16
Moving ISPConfig to new server ACDII Installation/Configuration 2 6th July 2007 15:09
Setting up a backup mail server setup with two installations of ISPConfig zitch Tips/Tricks/Mods 7 30th December 2006 10:07


All times are GMT +2. The time now is 10:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.