we have a domain and it is the same network domain.
if i try the website with "www" it will work and go to the iis server xxx.xxx.xxx.174 but without the "www" it will go to the xxx.xxx.xxx.175 (the active directory and dns of the network) and becuase that there is no iis website set on it it will show iis under construction error.
what can we do?
Answer
Is the domain in question your Active Directory domain (i.e. acme.local)? If yes, there's a reason why that resolves to your DC/DNS server and should stay that way.
Having said that, you can certainly create as many A records as you want internally in DNS on your domain: i.e. if it's an intranet there's no reason why you can't create intranet A xx.xx.xx.174
and have www.acme.local as a CNAME to 'intranet'.
If you absolutely must have acme.local go to your website, you could edit the default.htm in your DC/DNS Server's Default Website in IIS and put in a meta refresh tag or do a permanent redirect (301) as such in IIS 6 (I think IIS 7 is the same):
- Right-click > properties of the Default Web Site
- Home Directory tab > click "A redirection to a URL" and enter in www.acme.local in "Redirect To" field.
- Check "A Permanent redirection for this resource". Ok and close out. Might have to restart IIS, can't remember.
No comments:
Post a Comment