LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 04-03-2007, 10:16 AM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
few misc. network/server problems


Hey guys,
I have a few questions I'm hoping you'll be able to help me with.

First off, I'm running a web/ftp server atm from home.
http://www.nombyte.com I have something like 4mb download and 365k upload. I am however have a few problems.

Lets start with the webserver. I leave my webserver on all the time. At some point every two or three days if you use any browser and try to go to my domain it will say www.nombyte.com cannot be found. Same thing if you use the ip address. At first I thought it was a problem with fxdomains.com.

(which in my opinion is horrible, if anyone knows a good domain host let me know please because I have another problem with them you'll get to in a moment)

However this was not the case because if I just did
# service httpd restart
and tried to refresh the page, it loads without any problems. I really don't know why this is happening.

Ok Second, I use ssh all the time. (well I did) However, even on the internal network it is very, very slow and laggy. I've enabled compression and everything and I can't figure out why it is like this. I did a search for optimizing ssh on linux and didn't get anything really relevant. I also couldn't ssh from an outside source into the server. So I tried my ip address which worked when it wanted to. So I went and looked at my domain settings and found something called (either cnames or anames, i can't remember) so I added ssh and told it to go to my ipaddress. (i didn't know if that was right but thats what it had for http so I tried it). After that it works like with an ip address. When it wants too. Now, it doesn't work at all. For feedback purposes feel free to see if ssh will connect for you. (I'm gonna hate my log files I bet ) I use port 8080 for ssh (I wanted to be able to ssh throught the public hotspots but that isn't working either)

Router/Firewall

My firewall is setup pretty good. I wish I new iptables better but everything works (not well but works) from the inside so there is no reason it shouldn't work from the outside.

The router is setup with the virtual ports 21/80/and 8080 pointing to the internal ip address. I know these work because everything as worked atleast once. I didn't know if i should put the server in the dmz zone or just use the virtual ports.

I know this is a lot but thanks to everyone who helps out.

nomb
 
Old 04-04-2007, 08:37 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Just a quick check of your domain:
Code:
$ dig www.nombyte.com
;; ANSWER SECTION:
www.nombyte.com.        3600    IN      CNAME   nombyte.com.
nombyte.com.            3600    IN      A       71.62.232.167

$ nslookup 71.62.232.167
Non-authoritative answer:
167.232.62.71.in-addr.arpa      name = c-71-62-232-167.hsd1.va.comcast.net.
Maybe Comcast is causing you problems? Have you checked your system logs for any problem entries relating to the http and ssh services? I successfully connected to your web page on port 80 and saw ssh running on port 8080.

Last edited by bsdunix; 04-04-2007 at 09:02 PM.
 
Old 04-04-2007, 11:02 PM   #3
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
dig is cool. where does it show u ssh is running?

thanks nomb
 
Old 04-05-2007, 07:13 AM   #4
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
Quote:
where does it show u ssh is running?
I simply attempted a ssh session. Your systems's key fingerprint was not recognized on my system so I was prompted to accept/deny your server's key. If I had accepted the key, I would of seen a login prompt. But, I didn't accept the key and simply disconnected. I probably could of run a nmap scan to see what ports your system had open, but that would not of been polite without asking you first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Misc upgrade to 2007.0 problems gw1500se Mandriva 12 03-11-2007 02:02 PM
Ubuntu Server - Misc Questions dalezjc Ubuntu 3 08-03-2006 09:25 PM
Print Server and misc... Bill Gatz Linux - Hardware 2 03-12-2006 03:43 PM
Mandrake 9.1 networking/misc problems Ctawp Linux - Networking 6 08-19-2003 01:15 AM
Misc problems in SuSE 7.3 Fuel Linux - Distributions 4 03-02-2002 12:53 AM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration