Solved

DNS and Web Hosting

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LINUX, CPANEL & WHM 5 44
help!! No network & No Internet connectivity 4 52
Why is my Splunk Web URL not working? 2 52
VMware 6.0 3 14
If you have a multi-homed DNS setup in windows, you can have issues with connectivity to the server that hosts the DNS services (or even member servers of your domain if this same DNS server is a DC). This is because windows registers all of its IPs…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now