This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Joe Ess
  • salvin francis
  • fred rosenberger

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

Posts: 3
  • Mark post as helpful
  • send pies
  • 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
  • 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: 21584
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • 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.
My first bit of advice is that if you are going to be a mime, you shouldn't talk. Even the tiny ad is nodding:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!