Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Internal to external DNS issues - redirect? virtual host?



On 2007-11-16 Blair Carswell wrote:
> I host DNS for my domain internally, as I have a number of sub-
> domains that I use (mail.myhost.com, helpdesk.myhost.com, etc) that
> are visible both inside and outside of my network. However, our
> company website, 'www.mydomain.com' is hosted externally, and my
> internal DNS record for it is an external IP address.
> 
> Using a computer outside of my network, entering 'http://mydomain.com'
> in a browser WITHOUT the 'www' redirects to 'www.mydomain.com', but
> internally 'http://mydomain.com' just gives a "can't connect to
> http://mydomain.com"; error.
> 
> The guy who does the website for my company wants to be able to get to
> www.mydomain.com without having to put the 'www' on addresses (as he
> is using an authoring program that expects a web address w/o a 'www'
> on the front of it to automatically redirect there), and I'd like to
> see if I can make that happen for him.
> 
> Is there a fairly easy workaround for this problem? I can't seem to
> wrap my head around this internal-to-external problem, even though it
> seems that it should be logically pretty simple.

You need to add an A record mapping 'mydomain.com' to the web server's
IP address to your DNS config. However, AFAIK ServerAdmin doesn't allow
for that, so you'd need to edit the config manually.

HTH

Regards
Ansgar Wiechers
-- 
"Another option [for defragmentation] is to back up your important files,
erase the hard disk, then reinstall Mac OS X and your backed up files."
--http://docs.info.apple.com/article.html?artnum=25668
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Internal to external DNS issues - redirect? virtual host? (From: Blair Carswell <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.