Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DNS and Web Hosting

Posted on 2011-03-14
5
296 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
Occasionally you run into the website or two that will not resolve properly using your own DNS servers.  Some people simply set up global forwarders for their DNS server.  I don’t recommend doing this because it can cause problems resolving addresse…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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