Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

Forwarding the webmail address to the internet

Hi All,
I have a local network domain name for a company that host their email outside the office, the issue is that the domain name they are using for the local network is the same as the domain for their emails, and sometimes they need to use the webmail address from inside the office, the problem is that when you request the webmail address it search for it in the local network and I need a way to let the browser go to the correct location on the internet, so what do you suggest would be a good soultion for that, i tried adding an A Host in the DNS but that doesn't seem to work, and as the network has an MS ISA server, can we create an access rule for that?
1 Solution
A way to bypass the DNS for this address, is the hosts file in the windows\system32\etc folder
Add an entry there for the webaddress to the correct IP.

Split DNS is what you need (although it sounds like you have already tried this unsuccessfully).....editing the hosts file for laptop users would mean that they couldn't access their webmail from externally (the ip address would resolve to the internal address....)...

have a look at http://www.experts-exchange.com/Networking/Protocols/Application_Protocols/Email/SMTP/Q_23183743.html

I think that if you specify in the host file the domain name (example: mail.domain.com) and map it to the external address then you should be fine.

It would be useless to use the host file to specify an internal address, because your dns is capable of resolving inside IP addresses and maybe this is a point that Roachy didnt understand very well

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Sorry - Dimitris you are right.....I misread the q - "I have a local network domain name for a company that host their email outside the office"

You are right - a hosts file edit  would resolve the issue....
1. An A Record of www would usually solve this so domain.com would resolve internally but www.domain.com would go externally but if your email (webmail) has values that use some pages that reside on domain.com (ie the way they code it) then this won't work - which is what it sounds like is happening..
2. Don't change/split the DNS for domain.com as you may start to get problems with computer not authenticating propertly.
3. You could setup IMAP to the mail server and use a client based software (Outlook, Thunderbird).
4. If it's only a few computers, you could rebuild the DC with the correct naming convention (ie domain.local).

Of course domain.com is your domain name.
sammyfaisalAuthor Commented:
I guess I should've thought of that all along, thanks alot

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now