AD Domain + Website

Associate
Joined
8 Jul 2004
Posts
1,818
Location
London
Hullo everyone,

Say if a firm had a internal AD domain of blah.com which is also a registered domain on the www. Now this firm wants to bring its web hosting in house but keep its mail etc hosted via google apps.


The A record has been modified on the registrars control panel to point to the external IP of the IIS Box which is hosting the site. There are also various CNAME's currently in use such as mail.blah.com which point to a google apps premier account.

What I want to be able to do is type mail.blah.com and have it resolve to the google apps login page, type blah.com to resolve to the IIS hosted website. Currently all the browsers simply can not find mail.blah.com or blah.com.

Type those same URL's into a browser on a machine that is outside the network and they load fine.

edit

With some tinkering and some articles from technet, I have found if I create Forward CNAME records on the AD server that matches the records on the registrars control panel, the subdoamin.blah.com websites load. Half the problem sorted but is this the best way to do it?
 
Last edited:
Yup. I assumed that would only work if the domain was resolving to the IIS box which it isnt. I cant change blah.com to always to resolve to the IIS box as it would fuber up the AD side of things.
 
can't you just create a folder on the iis site called Mail and throw an index.php (or asp or whatever lang you use) which then header redirects to the google apps thing?
that way blah.com still goes where it should and mail.blah.com goes elsewhere.

it's crude i know but it could save a lot of headaches.
 
Last edited:
mail.blah.com works at the moment using a CNAME created on the AD box's DNS.

Its blah.com which is proving to be the pain. Doing some further reading, I have found there is no easy way to do what I am trying to do without messing up AD. It seems however, you can have www.blah.com resolve to the IIS box with some registry editing.

Going to try that this afternoon and see how it goes.
 
Back
Top Bottom