Go Back   Website Hosting - VPS Hosting - Domain Registration Ireland :: Blacknight > Technical Support > VPS Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 26-08-08, 09:38 PM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default Tomcat

Hey Folks,

I've installed tomcat on my vps and would like my main domain to point to the tomcat server.

Currently IIS is serving <www.example.com> directory and tomcat is serving <www.example.com:8080>

how can I get Tomcat to host <www.example.com>
The website we'll host will use JSP, Servlets and mySql running on tomcat.

Any advise on the server setup would be greatly appreciated.

J
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 26-08-08, 09:46 PM
Administrator
Site Admin
 
Join Date: Aug 2003
Location: Ireland
Posts: 393
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight Send a message via Skype™ to blacknight
Default

Do you need IIS?

This is a very old howto:
Tomcat IIS HowTo

But there's probably more recent ones if you poke around the tomcat site ...
__________________
Please do not send me PMs for support issues - thanks for your understanding.
Blacknight Blog | VPS Hosting| Blacknight Technical Status Blog | Speed Test|Webmaster Chat |Personal Blog
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 26-08-08, 10:10 PM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default tomcat

Hi there,

Thanks for your reply.
We have our web app developed to run on tomcat so I don't think there's a need for IIS unless it is required by any other VPS services?

Should I just uninstall IIS and reconfigure for tomcat? If so can you help point me in the right direction to do so.

Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 26-08-08, 10:25 PM
Administrator
Site Admin
 
Join Date: Aug 2003
Posts: 144
Default

Hi Jsull,

Just shutdown IIS and disable it.

Then set tomcat to run on port 80/443

Paul
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 26-08-08, 10:32 PM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default Tomcat

Hi PKelly,

I selected to stop the IIS and it informed me that stopping IIS also disables plesk control and ftp. Do I really need plesk control?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 26-08-08, 10:51 PM
Administrator
Site Admin
 
Join Date: Aug 2003
Posts: 144
Default

Ah I didn't realise you had plesk

If you're able to maintain the server yourself, then plesk isn't really needed. You can just change the default IIS port from 80 to 800 or similar. This will allow Tomcat to run on port 80 then.

I'd not remove or disable plesk, it's a handy app to have.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 26-08-08, 11:21 PM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default Tomcat

yep, worked perfectly! Thanks for your help, as you may have guessed this is my first stab at getting a Java based website configured for a live server!
I did see that there could be some security concerns with using tomcat on port 80. Must mark this down for further investigation.

I've one more small issue. <example.com> directs fine but <www.example.com> doesn't I want to use the www as the default and redirect anyother variant to www. I'm trying to set the cName but It's not working, do I need to route this one through support or can I update it myself?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 27-08-08, 08:43 AM
Blacknight Staff
 
Join Date: Nov 2006
Posts: 36
Default

If you have a look at this knowledgebase article it should help you get the WWW host header set up on the server.

Though bear in mind that it's written primarily for IIS, you might need to make some changes for Tomcat to pick up www.domain.tld

https://support.blacknight.ie/253/my...domaintld.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 27-08-08, 08:56 AM
Junior Member
 
Join Date: Aug 2008
Posts: 11
Default Tomcat

Hi all,

Thanks for all you help so far.
regarding the conical changes I restored my DNS settings to default settings last night and selected to include www. which added it to the CNAME record. The change didn't come into effect but I checked this morning and everything is working ok.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
tomcat

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:45 PM.


VPS Hosting Web Hosting Ireland Blacknight Blog Blacknight Status

Powered by: vBulletin Version 3.7.3, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Blacknight 2005 - 2008 | VPS Hosting

SEO by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17