This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes HELP!!!! - Website hosting at Home Problems.. :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "HELP!!!! - Website hosting at Home Problems.. :( " Watch "HELP!!!! - Website hosting at Home Problems.. :( " New topic
Author

HELP!!!! - Website hosting at Home Problems.. :(

Ajay Aj
Greenhorn

Joined: Jan 09, 2006
Posts: 3
Hi All,
I have Cent OS 4.0, Comcast cable with cheapest internet and hence dynamic IP address, Linksys Router, Apache Tomcat Server, Http Server comes with Linux CentOS 4.0, I am not sure what it is, but I think its not important at this point. I have small LAN that contains 4 computers; one is running above OS and Tomcat server.

Alrite, so I got this Java application that I wanna host from home, following things I did:
1. Got DNS service provider to point my website with my router IP address.
2. Made Linksys Router to let all http port 80 traffic forward to my CentOS Tomcat machine.
3. I opened http port in CentOS firewall.
4. I have dynamic IP updater client that goes to my DNS service provider and update ip in every 10 mins.

SO after doing all these, very rarely my website seems works fine.. but extremely slow.. but most of the time it doesn't work (9 out of 10 times) And this is the case when I access my URL within my own LAN or ask some friend to try my URL from internet.. Sometime we get page not found error and sometime Gateway time out..

I thought Comcast may be blocking my port, and change port, but same problem..

So I am very frustrated right now, don't know who the culprit is and how to fix it.. I am not sure if its Comcast, linksys router, my DNS service provider, firewall or something else...

So any help from you guys/gals will be very much appreciated..

Thanks,
Sat
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

How big in bytes is the page a user gets when contacting?

Which big is the bandwith you got?
Upstream may differ from downstream!
Can you monitor your traffic - perhaps by pppstatus?

How fast does your friend get an answer for a ping?

Can you monitor your server with top (cpu- and memory-usage), when someone accesses your site?


http://home.arcor.de/hirnstrom/bewerbung
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15964
    
  19

If you're getting slow response from the other machines on your LAN, don't blame Comcast &co.

If the server has a GUI, see how fast it can present content without going out to the net at all. If it doesn't, you may still be able to check using the lynx or links text-only browsers.

If the bottleneck is completely inside the machine, first check to see if you have enough RAM. Then check to see if you have enough CPU and finally, check to see if you're doing a lot of file I/O.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP!!!! - Website hosting at Home Problems.. :(
 
Similar Threads
Set tomcat for static IP.
Problem of Tomcat behind a firewall router
How to provide make my j2ee accesible via internet?
Running DNS/Hosting Site
Protecting Internet Website from getting copied/stolen‏