Solved

DNS and Web Hosting

Posted on 2011-03-14
5
286 Views
Last Modified: 2012-05-11
Hello Experts,
I need to host a web site for one of the companies we own, so I setup their external DNS server to use my Public IP, then I setup IIS and my firewall. the web site works remotlly only.
But I also need to manage the site, so I added theirDomain.com as a zone to my DNS server and setup a A record with the site internal IP. After doing that, the site is working fromt he outside and the inside network which is a good thing.
However, I cannot get to any of the sites they hosting on their own, I cannot email them.
What I am doing wrong?
Thanks
Roy
0
Comment
Question by:rfinaly
5 Comments
 
LVL 1

Expert Comment

by:Emanhan
ID: 35132540
Did you setup a MX record for their SMTP gateway?
0
 

Author Comment

by:rfinaly
ID: 35133013
No I did not, so I need to add an MX record for their Exchange server on the zone I created for them? also do I need to add all of the sites that they still hosting that I will be able to access them? is there any other solutions.
Thank you
Roy
0
 
LVL 9

Expert Comment

by:tanujchandna
ID: 35135383
Hi,

If you want to access any website with name then you have to setup every website DNS zone and that website nameserver (You can manage nameservers from domain control panel) should point to DNS Server (Where you have DNS files).

Regarding MX you have to set it in your DNS zone. The DNS file format should be as follows (The following DNS File includes website, FTP and Mail Records)

@      86400      IN SOA      ns1.nameesrver.com. hostmaster.domain.com. (
                         2008080501    ; Serial number
                         3600          ; Refresh
                         900           ; Retry
                         604800        ; Expire
                         14400       ) ; Minimum TTL
domain.com            NS      ns1.nameserver.com.
domain.com            NS      ns2.nameserver.com.
            
Domain.com            A      xx.xx.xx.xx (Your website IP)
Domain.com            MX      1 mail.domain.com
*.domain.com            A      xx.xx.xx.xx (Your website IP)
ftp            A      xx.xx.xx.xx (Your FTP Server IP)
mail            A      xx.xx.xx.xx (Your mail server IP)
www            A      xx.xx.xx.xx (Your website IP)
0
 
LVL 9

Expert Comment

by:tanujchandna
ID: 35147094
Hi,

I think I understood your question in wrong manner, Please refer my following post for the same:

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_26675956.html
0
 
LVL 11

Accepted Solution

by:
b_levitt earned 500 total points
ID: 35156573
At the point you made a copy of theirDomain.com on your internal DNS server, that DNS server became "authorative" for that domain.  So when you request mail.theirDomain.com, your server says "unknown host" and looks no further since it beleives it's the single point of truth.

This is often referred to as "split dns".  The easy way to fix this is to duplicate the records they have to your internal dns server.

If you don't want to maintain two copies of the domain, another option is to create a special internal domain.  For example you could use hosts or a subdomain of your domain, ie: theirDomain.yourDomain.com.

The disadvantage is the different urls when internal vs external, but that might beat coordinating dns changes.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've written instructions for one router type, but this principle may be useful for others of the same brand and even other brands of router. Problem: I had an issue especially with mobile devices that refused to use DNS information supplied via…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question