Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old July 12th, 2004, 03:08 PM
talen152 talen152 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 talen152 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 53 sec
Reputation Power: 0
Arrow migrating apache2 & tomcat from linux to windows

Hi, I need to migrate a host of websites built on a Content Managment System from a linux machine, to a windows machine.

I have copied all the neccesary files from the Linux box over to the new server. I've installed Apache HTTP Server 2.0.49 & Jakarta Tomcat 4.1.30 with the mod_jk.dll connector. From then on, I am pretty lost and simply looking online from where to proceed.

Please give any suggestions on how to proceed with this..

Thanks

Reply With Quote
  #2  
Old July 13th, 2004, 12:48 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
What's the problem? Do apache and tomcat seem to be working together? If so, I'd think you'd just dump your site files in the right place and be done. If you're having a specific problem with something you're trying, post more details and maybe somebody can offer some help.
__________________
Please don't PM me asking for solutions outside the scope of a thread.
Keeping all responses in a thread stands to help others who come along later,
which is after all what this forum's all about.

Reply With Quote
  #3  
Old July 14th, 2004, 02:52 PM
talen152 talen152 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 talen152 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 53 sec
Reputation Power: 0
Cool 2 footsteps forward, 1 back... thats progress

Ok, I've copied all the files over to new structures... all sites are located in c:/www/apache2/hosts

I've changed the hosts.conf and http.conf to match the directory structure.

Now I have another question. This site that I am migrating is live on a rackspace.com server. Before we close down that account, I obviously have to make sure the site will run on the new server. The rackspace server is sitting on a public ip, all the hostnames are registered to point back to it.

For testing purposes, I would like to be able to view the sites on the server on my LAN. THe ip is 192.168.0.3. I've been going through all the config files changing the public ip address to the local server's ip. Will this way work? why or why not? Any advice on how to do this would be great.

Also, when I attempt go to http://servername on my network through another computer, it redirects me to our public server. I probably missed something.. i'll go check.

Thanks,

Reply With Quote
  #4  
Old July 14th, 2004, 02:59 PM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
You'll need to add a hosts file or something else that your local system hits to try to resolve the domain; in such a file, you'll alias the domain name to the server on your LAN. By default, systems tend to try to resolve names using DNS unless there's some other method defined. Exactly how to go about setting up such an alias depends on what kind of system you're testing this from (On linux, add an entry to /etc/hosts; on Windows, you should be able to add a hosts file in your system folder -- there was another post about this very recently in which you should be able to find the Windows solution.)

Reply With Quote
  #5  
Old July 14th, 2004, 03:54 PM
talen152 talen152 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 6 talen152 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 53 sec
Reputation Power: 0
Apache good, Tomcat not so good

dhouston, are you knowledgable about Jakarta Tomcat, and the server.xml?


I have created the appropriate DNS configurations so the address links to the internal network, but know the Tomcat service won't start. I'm checking the logs, but wanted to see if I should get advice elsewhere for this.

Reply With Quote
  #6  
Old July 15th, 2004, 07:39 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
I helped set up a tomcat installation once but had very little to do with it and don't remember much about the process (except that it was a royal pain). You'll probably do better to look for a tomcat-specific forum, though if you'll post the error you get when you try to start the service, maybe somebody on this forum can provide some insight.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > migrating apache2 & tomcat from linux to windows


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway