Link to home
Create AccountLog in
Avatar of dhales1
dhales1Flag for United States of America

asked on

www.mydomain.com works inside network mydomain.com does not

Client complains of not being able to access their website (which is hosted by godaddy) from inside their network by typing mydomain.com... if they use www.mydomain .com if works correctly.

I am sure that this is defaulting to my name server but I don't know how to redirect it to the godaddy servers to access the website from within their domain. mydomain.com works fine outside the domain.
Avatar of IT-Monkey-Dave
IT-Monkey-Dave
Flag of United States of America image

If there's a way to fix this I'd like to know too.  I've seen this question asked before and as far as I can recall, there was no solution offered.  This would be an Active Directory domain where the internal AD domain name is the same as the external domain name.  You can fix the www part with an A record in AD DNS.
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of oBdA
oBdA

I hadn't thought of doing an IIS redirection but seems like that would work.  But as you said it might not be worth the trouble.  I might give it a try though for our AD domain.
Avatar of dhales1

ASKER

So in IIS under...
                Server
                     Websites (where right now I have "Default Web Site")

I would add a new site, name it mydomain.com and redirect that site? there is only one DC on this domain.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of dhales1

ASKER

what adjustments did you make in the default web site?
Nope; if you want to use an IIS redirect, you'd have to change the default web site itself.
Another possibility would be to create a default document in the default page which contains an HTML redirection:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourdomain.com/index.html">

Open in new window

But before you do anything: are you already using IIS on this DC? if you're already using the IIS on the DC, then the changes above will have the consequence that obviously access to the current web sites would be problematic.
The necessary changes for an IIS redirect are described in the link I posted above.
In IIS7, under Default Web Site, in the properties for "HTTP Redirect", I checked the box to "Redirect requests to this destination" and entered the www.domain.com url.  I also checked the box "Redirect all requests to exact destination" although that may not be required.
Avatar of dhales1

ASKER

under default website in IIS I dont have an HTTP redirect...

got:
Exadmin
Exchange
ExchWeb
Microsoft-Server-ActiveSync
OMA
Public
aspnet_Client
That is why I was asking explicitly "But before you do anything: are you already using IIS on this DC?" in http:#a34466181.
This obviously is an active installation of IIS. You can't just redirect that to an external website without disabling access to your current sites at the same time.
Are you accessing any web site or document on this server with http://mydomain.com? 
If so, there's absolutely no point in continuing with trying to automatically redirect this installation to your external presence, at least not with using less characters than "www.mydomain.com".
If you do NOT need to access http://mydomain.com on this server (because you're using http://server.mydomain.com/ or whatever), then you can add a new site with a host header "mydomain.com" and redirect this site to your external presence.
I should have pointed out that our DC was not using the default site for anything. http://domain.com brought up the IIS default page until I redirected it.
Avatar of dhales1

ASKER

will try this out over the weekend and update... been crazy here sorry
dhales1,
 
I have reopened your question and started the process of closing it with a split amongst two or more Experts, as that outcome seems more equitable than your original disposition.
 
modus_operandi
EE Admin