Solved

Can't access external website over internal domain

Posted on 2010-09-19
8
1,405 Views
Last Modified: 2012-08-13
Hi,

SBS 2008 - new setup

DOMAIN NAME:   companysafety.com
IP:   64.23.137.246 (3rd party webhost IP)

A RECORD:   www.companysafety.com
IP:   64.23.137.246 (3rd party webhost IP)

- webhost does not control domain name
- webhost uses shared IP / storage for websites


A RECORD:   remote.companysafety.com
IP:   62.35.125.210 (Static WAN IP of Server)
- used for Remote Web Workplace, Outlook Web Access, Remote Desktop etc.

MX RECORD:   mail.companysafety.com
IP:   62.35.125.210 (Static WAN IP of Server)
- used for Exchange


Server Domain:   company.local
Server IP / DNS:   192.168.15.1
DHCP enabled through Server

Client machines logged onto the server cannot access "www.companysafety.com", even though it's located offsite on a separate WAN IP.
However, when the Client machine is using a different DNS address (ISP's DNS supplied through the router), it can see "www.companysafety.com"
Anyone using a separate internet connection can also see "www.companysafety.com"

Does anyone know what's causing this issue and how I can fix it?

Thanks
   
 
0
Comment
Question by:Clownie669
  • 4
  • 2
  • 2
8 Comments
 
LVL 10

Expert Comment

by:ddiazp
ID: 33712027
do:

nslookup
server 4.2.2.2
www.companysafety.com  (or whatever domain you're working with)
(record IP in output)


Does this IP match what you have on your A record (www) under the companysafety.com zone?


When your clients query DNS for a domain, if your DNS server has that domain configured, the server will take control of any query to that domain.

For example, if you add a zone microsoft.com, and your clients query update.microsoft.com or *.*.microsoft.com for that matter, DNS will fail unless you have the matching records.
0
 

Accepted Solution

by:
Insideview earned 125 total points
ID: 33712331
If you  check the forward lookup zone on the server and enter a Cname for Www pointing it to the external address it should work after a reboot
0
 

Author Comment

by:Clownie669
ID: 33712366
The server is currently down.  I'll be going in later tonight to finish the setup.
I'll try your suggestion.

Thanks
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:Clownie669
ID: 33713836
I went to "DNS" through "Administrative Tools" and expanded the "Forward Lookup Zones"
There are 4 listings:

_msdcs.company.local
company.local
companysafety.com
remote.companysafety.com

I added a "New Host (A or AAAA)..." record to all except "_msdcs.company.local" and rebooted the server.
Didn't work.

I'm new to this.  
Which listing am I supposed to add the new record too?
- "remote.companysafety.com" is the current public domain I setup using the "Set up your Internet address" wizard in the SBS Console
- company.local is the local domain
- "companysafety.com" is the old public domain I setup using the wizard.


Thanks
0
 

Expert Comment

by:Insideview
ID: 33714106
Ah perhaps the 4 are the problem,
On my server I only have 2 in the forward lookup
_msdcs.mycompany.local
and
mycompany.local
perhaps if you companysafe.com were removed the computers inside the LAN would be forced to look outside on the WAN for the website
0
 
LVL 10

Assisted Solution

by:ddiazp
ddiazp earned 125 total points
ID: 33717353
what do you get when you do :

nslookup www.companysafety.com

on the client machines?

and what do you get when you do:

nslookup
server 4.2.2.2
www.companysafety.com

on the client machiines?


The result must match - if it doesn't, you haven't added an 'A' record "www" with the correct IP.

When you add the A record make sure to name it "www" and not "www.companysafety.com" (DNS will append the domain name to the record).

Also, check the hosts file for the clients to make sure there's no entry for www.companysafety.com pointing somewhere else:

C:\WINDOWS\system32\drivers\etc\hosts
0
 

Author Comment

by:Clownie669
ID: 33718744
Sorry for not responding sooner.

I was having another issue getting a trusted SSL Cert approved.
I'll have access to the server later tonight and will try your suggestions.


Thanks
0
 

Author Closing Comment

by:Clownie669
ID: 33804846
Sorry for not responding sooner...again.

The solutions provided by Insideview and ddiazp were correct.


Thanks again!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

810 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