Computing.Net > Forums > Linux > Can ping but no webpages

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can ping but no webpages

Reply to Message Icon

Name: glastar2000
Date: December 7, 2005 at 11:43:05 Pacific
OS: Fedora Core 4
CPU/Ram: 933mhtz/512megs
Comment:

I have apache webserver setup behind a wireless router (linksys) I have a name based vitual websites setup. I can ping the individual websites with 0 packet loss but can't seem to get any pages to appear. Is this a router issue or a apache issue. Should i set up IP based websites? Thanks for any help you can give.

At first you don't succeed try try again



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: December 8, 2005 at 01:24:21 Pacific
Reply:

What sort of errors do you get when you try to view a page? Is it timing out? Are you able to view any sites locally on the server?


0

Response Number 2
Name: Zenith
Date: December 8, 2005 at 10:11:46 Pacific
Reply:

Are you pinging the IP addresses of the websites or thier URL? If you can ping the IP address, but not the URL, then it can be a DNS issue.

Search Engines Are Your Friends

Morpheus: There is a difference between knowing the path and walking the path. "The Matrix"


0

Response Number 3
Name: aka
Date: December 14, 2005 at 08:23:52 Pacific
Reply:

The ping does not tell you if your web-site is fine or not.

dig it !!!

simple dig:

dig +trace @(nameserver) (www.domainname.com) (a ns all)

you can find some additional info about DIG using your terminal console.

[xxxx]>man dig

You will get a result like this:

[xxxxxxxxxxxxxxxx]> dig +trace @12.152.184.135 a www.linux.com

; <<>> DiG 9.3 <<>> +trace @12.152.184.135 a www.linux.com
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23786
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
;; QUERY SECTION:
;; www.linux.com, type = A, class = IN

;; ANSWER SECTION:
www.linux.com. 2H IN A 66.35.250.177

;; AUTHORITY SECTION:
linux.com. 2H IN NS ns1.ostg.com.
linux.com. 2H IN NS ns1.vasoftware.com.
linux.com. 2H IN NS ns2.ostg.com.
linux.com. 2H IN NS ns2.vasoftware.com.
linux.com. 2H IN NS ns3.vasoftware.com.

;; ADDITIONAL SECTION:
ns1.ostg.com. 2H IN A 66.35.250.10
ns1.vasoftware.com. 1H IN A 12.152.184.135
ns2.ostg.com. 2H IN A 66.35.250.11
ns2.vasoftware.com. 1H IN A 12.152.184.136
ns3.vasoftware.com. 1H IN A 66.35.250.12

;; Total query time: 209 msec
;; FROM: xxxxxxxxxxxxx to SERVER: 12.152.184.135
;; WHEN: Wed Dec 14 10:18:49 2005
;; MSG SIZE sent: 31 rcvd: 233

Hope it will help. !

Don“t freak out until you know the facts...Relax...!


0

Response Number 4
Name: 3Dave
Date: December 15, 2005 at 05:07:24 Pacific
Reply:

Check that your web server is running and that you can see port 80 open with nmap.


0

Response Number 5
Name: bazbh
Date: January 9, 2006 at 05:41:17 Pacific
Reply:

in ssh type service httpd restart should try and restart apache for you if it dont work itw ill give you an error why


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

change username Linux coexists with Windo...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Can ping but no webpages

Eth0 does not come up, but I can ping www.computing.net/answers/linux/eth0-does-not-come-up-but-i-can-ping/7662.html

can ping over LAN, next step? www.computing.net/answers/linux/can-ping-over-lan-next-step/1485.html

gtcd plays, but no sound. www.computing.net/answers/linux/gtcd-plays-but-no-sound/9595.html