Solved

Cannot view or ping web server when www is included, but works without www

Posted on 2008-09-29
5
387 Views
Last Modified: 2012-05-05
Hello,

Recently, one of our company websites has become invisible in our office when we navigate to it like this:
http://www.website.com

but

http://website.com works - or at least partly.  It loads most of the page, but fails to load one or two elements of the page.  Also, pinging www.website.com returns "Ping request could not find host www.website.com. Please check the name and try again."  But pinging website.com works fine.

I know that the site is working fine from everywhere else - I've tested it in multiple locations, and I can see that our visitor stats have not changed.  This problem occurred while I was on a day off, my colleague reported it to me.  He says he didn't change anything...

FYI, here's the output of nslookup, with and without the www:

C:\WINDOWS\system32>nslookup website.com
Server:  zzz-server.zzz.local
Address:  192.168.3.16

Non-authoritative answer:
Name:    website.com
Address:  123.123.123.123

C:\WINDOWS\system32>nslookup www.website.com
Server:  zzz-server.zzz.local
Address:  192.168.3.16

*** zzz-server.zzz.local can't find www.website.com: Non-existent
 domain

(apologies for the obfuscated domains/servers/IPs, but I'd rather keep this relatively anonymous).

We're using SBS 2003 in the office.  I don't know where to begin to fix this, any help would be greatly appreciated.

If you want me to try anything, please tell me how and I'll post the results!

Thanks,

Paul.
0
Comment
Question by:paulc2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:swaller
ID: 22597757
Have you made any hardware changes? check you DNS forwarders to make sure that the SBS is forwarding to the proper Name Servers for your ISP. You could create your own alias or A record in your DNS to properly resolve to your outside IP address.
0
 

Author Comment

by:paulc2000
ID: 22597872
Thanks for the quick reply, but I'm afraid I'm a novice in this field.

There have been no hardware changes.

How do I do try the things you suggested?
0
 
LVL 7

Accepted Solution

by:
swaller earned 400 total points
ID: 22597926
With a SBS server, all DNS at the workstations and the NIC for the SBS server should point back to the SBS Server's LAN IP address (ie, 192.168.1.5). Then the DNS requests all go to the server and it looks for a matching IP address to the requested URL in it's tables first. If there is not a match then it *forwards* the request to the DNS servers for your ISP.

Go to Administrative Tools | DNS then right click on the name of your server and select properties. Then click the *Forwarders* TAB. You should have the proper DNS IP Addresses of your ISP in this tab. Contact your ISP to verify that you have the correct IP addresses for their DNS servers.
0
 
LVL 58

Assisted Solution

by:tigermatt
tigermatt earned 100 total points
ID: 22597946

It would indicate to me from that information you have posted that there is a DNS zone on the SBS Server called "website.com", but within this zone, there is no www A record to resolve that subdomain. As a result, the website.com is working fine, but the www will not.

On the SBS Server, open up Administrative Tools, DNS. Look in the Forward Lookup Zones for a zone called "website.com". If you see it, expand it, then create a new A record, called simply www and enter the external IP address of the site. Perform an nslookup test again to check whether it will now resolve correctly.

-tigermatt
0
 

Author Comment

by:paulc2000
ID: 22598038
Thanks again for the quick replies.

@swaller: I didn't have any DNS setting in the Forwarders tab, only "All other DNS domains" under "DNS somain", and nothing in the "Selected domain's forwarders IP address list".  So I added our ISP's DNS servers to that list, and voila - it worked.

@tigermatt: thanks for the reply, but I didn't get to try it, because it's working now!

Thanks again,

Paul.
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’m often asked about newer and larger USB drives connected to SBS2008 and 2011 failing Windows Server Backup vs the older USB drives not failing. As disk space continues to grow and drive technology change SBS2008 and some SBS2011 end up with the f…
You may have discovered the 'Compatibility View Settings' workaround for making your SBS 2008 Remote Web Workplace 'connect to a computer' section stops 'working around' after a Windows 10 client upgrade.  That can be fixed so it 'works around' agai…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question