Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ajay Aj
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..

Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • 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?
Tim Holloway
Posts: 18531
Android Eclipse IDE 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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!