How to configure DNS for internal and external web site access.

Please note the 'i' in the domain name in front of r2katz.net for the internal web site.

 I can access the www.r2katz.net with:   www.r2katz.net (IIS/DNS server only) or r2katz
 I can access the www.ir2katz.net with:   ir2katz only; www.ir2katz.net does not work.

Can someone tell me why I cannot use www.ir2katz.net internally to access my internal website?  Or is this normal?
And why does the www.r2katz.net (www part) only work on the IIS/ DNS server?

Access from any other Internal host uses: r2katz  or  ir2katz (www does not work)

www.r2katz.net is a registered DNS record and ir2katz is internal to my network.  My ipconfig is using the internal DNS first.

Name      Type      Data
            
(same as parent folder)      Start of Authority      [70], kibbles.r2katz.net., admin.r2katz.net.
(same as parent folder)      Name Server      kibbles.r2katz.net.
(same as parent folder)      Host      192.168.1.2
ir2katz      Alias      kibbles.r2katz.net.
kibbles      Host      192.168.1.2
kiki      Host      192.168.1.4
nbits      Host      192.168.1.3
nuggie      Host      192.168.1.5
r2katz      Alias      kibbles.r2katz.net.
www      Alias      kibbles.r2katz.net.

Thanks,
Jerri
benje02Asked:
Who is Participating?
 
Antowh76Connect With a Mentor Commented:
Add this record in ir2katz.net: "ir2katz     Alias     kibbles.r2katz.net"

When you query a dns server using your web browser, you ask it just to resolve a name. When the name is resolved, the web browser automatically serch for the service on the tcp port 80 at the given ip address. If you have the appropriate "A" records and the aliases created, everything should work fine.

Let me know. I go to sleep (in italy it's 5 o'clock...) but I hope to find good news from you.
 
Regards, Antonio
0
 
Antowh76Commented:
I'm just a little confused. Let me understand.
kibbles.r2katz.net is both your ISS and DNS server?
www.r2katz.net and www.ir2katz.net are the same thing with just a different name?

1st. Your dns doesn't recognize ir2katz.net because, actually, it doesn't exist. Create a new zone called ir2katz.net and put in it your ISS server and a www alias for it.

2st You have to do the same thing the existing zone,r2katz.net. Delete "ir2katz     Alias     kibbles.r2katz.net" record. In this case www.ir2katz won't work as if it was www.r2katz.net. Different domain name.

3st Be sure that clients in your network are using the right DNS server (192.168.1.2)

Follow these 3 steps, and let me know if it works. However it should.

Regard, Antonio
0
 
benje02Author Commented:
Antonio,

 kibbles.r2katz.net is the IIS and DNS server at 192.168.1.2

 r2katz is the external web and ir2katz is the internal web.

 I created a new zone for www.ir2katz.net in the DNS server and added an alias for WWW and a host for 192.168.1.2 as follows:

kibbles   host   192.168.1.2
www     alias   kibbles.ir2katz.net


I removed all references to ir2katz from the www.r2katz.net zone.

The only thing that does not work right now is when I try to use 'ir2katz' only in the web browser.  The three other ways work okay as follows:

www.r2katz.net   (works)
www.ir2katz.net  (works)
r2katz                 (works)
ir2katz                 (does not work yet)

 Thanks,
Jerri

0
 
Antowh76Commented:
Good news, I suppose :-)

Regards, Antonio
0
 
benje02Author Commented:
Antonio,

  Yes, everything is working okay now.  I think one of my problems was the DNS caching information when I made changes and then I could not see the results right away.  Anyhow, I appreciate the help.

Thanks Again,
Jerri
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.