Solved

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

Posted on 2010-09-23
11
500 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
 

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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 70

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Resolve DNS query failed errors for Exchange
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 update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now