We help IT Professionals succeed at work.

e-mail web access fine from internet but

Last Modified: 2010-04-07
Oue web page is hosted by an outside source there is a link to web acces e-mail (groupwise) this works fine from home, internet  will not work from inside  our network the e-mail server is located on internal network staff have client installed so no problem for them but we have numerous vistors that use are public systems and these  do not have the client on them I want users to be able to use web acces  from the internal machines
Watch Question

Have you setup DNS to resolve the external web address to the internal server?
Thats what it sounds like to me.
You may want to make there is a local zone in your DNS and point users internally to the internal IP address of that server.


internal users can get to webpage just not the  web access we do not have our own DNS server .
When you mouseover the link to the web acces e-mail (groupwise) where does it point to?  You might need to put 2 links in.  One for internal use and one for external use.


Ok.  Is the webacc hosted internally in your network or externally?

You should follow ladiesnhan's suggestion. Create 2 links in the webpage, one for people who accesses the mailserver from externally (this link already exists in your configuration), the other one for internal access. The fact that you don't have a DNS server inside your network makes it impossible to solve this problem transparently.


Link 1 --> http://spemail******.org/gw/webacc
Link 2 --> http://xx.xx.xx.xx/  --> IP address of your email server

Beware though that creating the link will expose the internal IP address of your mailserver. Small security risk, can be ignored... but if you don't like it, then create the link dynamically using PHP, based on visitor's IP address (that is, if you have a static IP address given to you from your ISP). Code will look roughly like...

$ipaddress = $_SERVER['REMOTE_ADDR'];
if ($ipaddress == "your.static.ip")
    print "<a href="http://internal.ip.of.mailserver">click here</a>";
    print "<a href="http://spemail***.blahblah">click here</a>";

Open in new window


hello  and really appreciate the suggestions since my director does not like the Idea of  two links on webpage ( Thanks ladienhans)  I know I  can edit the Host file  but that is on each system over 200 would not be a fun day So I have set up a test server with AD as DC with DNS where do i put a forward in and  HOST (A) record ? am very confused
**name**      10,1,0,4


You currently have 200+ PCs and no AD/DC right ? Setting up the domain controller with DNS right now will make you work even harder because you will need to at least touch every single machine to change their DNS server IP address to the DC, then join them all to the domain :)

If you don't mind me asking, do your 200+ PCs all use external DNS server in their IP configuration ??

On a side note, have you considered dynamically generating the link in your website ? (PHP code snippet attached in my previous comment). People will only see ONE link but depending on where they are, the link can point to external IP address or it can point to internal IP address.


I'm sorry I am setting up a test AD/DC  only a couple of systems to test appilcations etc.. so Iwas thinking of ladienhans idea of local host but how do i do that?
This one is on us!
(Get your first solution completely free - no credit card required)


DO you mean internal domain in 2nd line

Ok so when you have DNS open on your DC.  Go to Forward Lookup Zones.  Check to see if there is a zone with your EXTERNAL domain name.

If you do not have your internal domain as a zone this is how you create it.


I'm sorry I'm so lost
Check to see if you have the external domain name in your dns.  The reason why is because your internal dns server needs to have the external domain name pointing to the internal ips of your servers that are in house.


thanks I will try tommorrow


Good Morning
 I created a new Zone spemail.XXXX.org
then created a new Host A record within that Zone left name Blank ( for when Ityped in name came back as spmail.spmail.xxxx.org entered the IP of internal mail server  10.x.x.x  can not get to it by name but if i put in IP address  get there when I click on link from web page says Internet Explorer can not display webpage


Hello ladiesnhan,
     Ok  What i did was also make an  )A) record for our website that is hosted thru  XXXXX company
   so Zone xxx.org
  Host (A) spemail.  Host (A) WWW
now everything working it my test AD/DC  so I must give you some points you did a good Job

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.