Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

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

Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..

Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
Saloon Keeper
Posts: 24896
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic