LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2006, 12:57 AM   #1
istheman5
LQ Newbie
 
Registered: Dec 2005
Location: New Jersey
Posts: 15

Rep: Reputation: 0
Can't connect to Internet after attempting home web server with Dyndns


Hello everyone. I have had Slackware installed for quite some time now, thanks to Shilo's sticky "This is how I do it all". Recently, I attempted to get a http server running on my computer. I got a Dyndns account, set up my router for it, and used netconfig to match my domain and host names with those in my dyndns account. After I had done all this, I went to my dyndns site and got the Apache page. I had done it! So next I wanted to figure out the mail server. I went to click on the link and got an error. Then I tried another site. Again. Firefox and Konqueror were giving me "cannot connect to server" errors for every site that wasn't local. So now the web server seems to work, but I can't get on the net. I tried to undo what I had done on netconfig to no avail. Has anyone seen this problem before? Thanks in advance, Joe.
 
Old 08-07-2006, 01:10 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Try to see if you can ping any sites by IP address rather than name. If you can, it's your dns that's playing up. If not, it's probably something else.

Let us know how this goes.
 
Old 08-07-2006, 09:48 AM   #3
istheman5
LQ Newbie
 
Registered: Dec 2005
Location: New Jersey
Posts: 15

Original Poster
Rep: Reputation: 0
Well I tried what you recommended. I went to 209.73.186.238 instead of yahoo.com, and it worked (well it got there, but there were no pictures. I'm not sure if that's just a side-effect by using the IP address). So I guess its a problem with DNS. Thanks for the help so far.
 
Old 08-08-2006, 09:33 AM   #4
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Rep: Reputation: 70
Quote:
Originally Posted by istheman5
Hello everyone. I have had Slackware installed for quite some time now, thanks to Shilo's sticky "This is how I do it all". Recently, I attempted to get a http server running on my computer. I got a Dyndns account, set up my router for it, and used netconfig to match my domain and host names with those in my dyndns account. After I had done all this, I went to my dyndns site and got the Apache page. I had done it! So next I wanted to figure out the mail server. I went to click on the link and got an error. Then I tried another site. Again. Firefox and Konqueror were giving me "cannot connect to server" errors for every site that wasn't local. So now the web server seems to work, but I can't get on the net. I tried to undo what I had done on netconfig to no avail. Has anyone seen this problem before? Thanks in advance, Joe.
I'm no expert but my understanding is that dyndns is not your Internet Service Provider, which means it does not provide DNS for you, only for others to find your IP address.
So you should not make any changes with netconfig. If your ISP is using DHCP then that's what you use in netconfig.
You can use your dyndns name in Apache httpd.conf under ServerName though so Apache answers all requests that are addressed to your dyndns host name.
So basicaly you use your dyndns host name in services (servers) you run that are accessed from outside, like apache, ftp etc.
Let me know if that makes sense.
 
Old 08-08-2006, 03:22 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you please post the output of

# cat /etc/resolv.conf.

If should have the nameservers listed that your system uses to resolve names tio IP addresses. These should be the ones given to you by your ISP, and should not have changed by using dyndns as noted above
 
  


Reply



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
Wifi@Home can't connect to internet mlr266 Linux - Newbie 6 11-24-2004 05:48 AM
web-based email from home with dyndns mikeindo Linux - Networking 9 06-08-2004 11:42 AM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM
can ping to/from pcs on home network but not connect to internet stumblefingers Linux - Networking 13 04-12-2004 09:34 AM
added second nic to network at home now cannot connect to internet gonus Linux - Networking 12 08-23-2002 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:06 AM.

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
Open Source Consulting | Domain Registration