users
[Top] [All Lists]

Re: [cinjug-users] server hosting at home

To: Abdul Habra <ahabra@xxxxxxxxx>
Subject: Re: [cinjug-users] server hosting at home
From: Troy Davis <troy@xxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Apr 2007 01:03:53 -0400
Cc: CinJug <users@xxxxxxxxxx>
Delivered-to: mailing list users@xxxxxxxxxx
In-reply-to: <201229.41135.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Mailing-list: contact users-help@xxxxxxxxxx; run by ezmlm
References: <201229.41135.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Hi Abdul,

I've been using Fedora for testing and production servers, the latest version makes Apache / Tomcat setup with Sun's JDK pretty straight-forward. Lots of java development-related rpms is a nice time saver, and the ones I've used worked without a hitch.

I like MySQL as well. Check out Navicat, too. It's commercial, but I haven't found anything close in open source.

I've never used jetty, can't comment there. I tried it once, but couldn't get past the basics fast enough. Wound up upgrading to the latest version of Tomcat instead.

As long as you've got static IP(s) for your server, you should be able to do what you're talking about. Fedora's pretty easy on network setup, I wouldn't worry about that part too much. You'll spend more time configuring Apache and Tomcat to do mixed virtual hosting. Unless you can get away with just Tomcat, but I've never been in that situation.

If any of the sites you plan to run use SSL, you may need more static IPs. And it'll probably help to do some reading about DNS administration. O'Reilly's book on Bind is great, but I use Webmin's interface to Bind most of the time. Most people just use their registrar as a DNS host now, which is fine. But it helps if you know your ptr's from your cname's.

Be prepared to learn about many types of attacks. Check out root kit hunter (rkhunter), fail2ban and ClamAV. Most of what I'm getting right now is brute force FTP and SSH login attacks. Tens of thousands of attempts per day if their IPs aren't blocked. I have one Czech fellow who tries a vulnerability scanning tool on one of my client's web servers daily. But he's looking for Windows security holes, and he gets blocked after 20 requests, so he's getting nowhere fast.

But if you can help it, let somebody else host email for you.

Good Luck!

Troy

On Apr 23, 2007, at 6:24 PM, Abdul Habra wrote:

This may not be the right group for this question, but perhaps some of you have this done before.
 
I have several web sites hosted as shared plans at a hosting company, and now I am planning to add another one.
 
When I did the math, I found that it will be much cheaper if I host them on a server at home, and just upgrade my internet service to something with better upload speed.
 
I looked into using a dedicated server plan, but I think I can do much better per $.
 
To start, I want to keep it as simple as possible:
 
1. A free OS:  I prefer linux (solaris is an option):  any preference? Why? Security concerns?
2. db: MySql (PostSql is an option).
3. tomcat or jetty: I am going to run several domains at the same web server. Any gotchas with virtual hosting in tomcat or jetty? I prefer Tomcat because I know it better and I can find more docs about it, but I will listen to opposing views.
 
I plan to do IP-based virtual hosting. I can see how to do it with Tomcat, but the network interface setup is my weak point, I am not a net admin guy, so I will appreciate any pointers, links, or suggestions.
 


Thank You,
Abdul Habra


Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.

<Prev in Thread] Current Thread [Next in Thread>