Solved

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

Posted on 2010-09-23
11
506 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
[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
  • 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

707 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