Solved

Domain name same as website name, so must use www. to reach external site internally

Posted on 2010-09-23
11
503 Views
Last Modified: 2012-05-10
Since I started, this has been an issue-- our website  www.xx.com is the same as our domain name xx.com. Externally, we can go to xx.com and that puts you to our website, but if we are internal and someone types xx.com, they get the standard II7 page. Internal users must type www. to access our site. We do not host our site internally.

Is there some way we can fix this so that we aren't forced to type www. to access our web site internally?
0
Comment
Question by:sterlingrice
  • 5
  • 5
11 Comments
 

Expert Comment

by:matthewspears
ID: 33747523
You need to add the zone xx.com in your Forward Lookup Zones within DNS, then add the appropriate DNS entries...
i.e. www     Host(A)     10.1.2.34
or
(same as parent folder)     Host (A)      10.1.2.34
0
 

Author Comment

by:sterlingrice
ID: 33747753
I checked and we actually do have that set up, but when I go to the IP address it has listed, it goes to a dummy page that says "coming soon please come back later"

If I ping our site, I get that same IP. I checked our hosting service and that is the same IP listed as well.
0
 

Expert Comment

by:matthewspears
ID: 33747814
Do you have the internal IP address bound to your website within IIS?  If not click on the website within IIS and on the right side open Site Bindings and add the specific internal IP.  You can try selecting "all Unassigned" but I've had mixed results.  Once you have entered the IP restart IIS and that should route your website properly.
0
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

 

Author Comment

by:sterlingrice
ID: 33747981
Well our site isn't hosted internally at all right now, so basically we would need to set up IIS on one of our servers and have it try to forward to our website that is being hosted?

If I ping xx.com, I see our DC's IP listed, but we wouldn't want to run IIS on there or anything.
0
 

Expert Comment

by:matthewspears
ID: 33748548
Ahh that's a different problem.  If the site works externally but not internally but is hosted on an external web server use nslookup to connect to an external DNS server and compare the DNS entries for your website to what your internal DNS is using and make updates accordingly.
0
 

Expert Comment

by:matthewspears
ID: 33748551
Ahh that's a different problem.  If the site works externally but not internally but is hosted on an external web server use nslookup to connect to an external DNS server and compare the DNS entries for your website to what your internal DNS is using and make updates accordingly.
0
 

Author Comment

by:sterlingrice
ID: 33748992
Do you think I would need to edit this on our local DNS server or would I need to do this in our ISP's a zone file?

I spoke with our web host for our site and they claim the IP I have is the corrent one. Locally when I type xx.com it just points to one of our Domain Controllers.
0
 

Assisted Solution

by:matthewspears
matthewspears earned 200 total points
ID: 33749065
You're on the right track.  But have you added an A record called "www" that points to the public IP of your website?  If not you need to, when you type xx.com you want it to point to your local DC.  If it pointed to anything else you would break all sorts of things, but when you type www.xx.com you want that to point to your website.

So create a DNS entry on your local DC that points www to the public IP and you should be right as rain.
0
 

Author Comment

by:sterlingrice
ID: 33749135
Ahh yeah that basically answers it for me then. Our domain is xx.com, but our site is www.xx.com (they share the same name, doh!). We were hoping that we'd be able to make it so xx.com actually pointed to our website instead of to one of our DCs, but if that is going to break anything we are just stuck with this situation.

Please correct me if I am misunderstanding what you said, basically whoever created our domain years ago sort of has us stuck in this situation unless we want to rename our domain, which won't be happening haha.
0
 
LVL 71

Accepted Solution

by:
Chris Dent earned 300 total points
ID: 33751985

> but if that is going to break anything we are just stuck with this situation.

Unfortunately you're right, doing that will make your AD domain unhappy.

You could set up IIS on each of your DCs, and have that redirect HTTP requests for yourdomain.com to www.yourdomain.com, it's invisible to the end-user at least. It's a bit of a heavy burden if you have more than a couple of DCs, and a problem if there's opposition to the installation of web services on DCs.

Otherwise you're pretty much stuck in domain rename land.

Chris
0
 

Author Closing Comment

by:sterlingrice
ID: 33754283
Thanks guys. Really appreciate the help. I really would prefer not to install IIS on our DCs, so our employees can deal with adding www. to our site.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
replacing 2811 to ISR 4331 2 49
Cisco router 4400 and switch connection. 27 55
Question about DNS 2 32
Raid 6 or Raid 10 configuration 10 39
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

697 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