Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Internal & External DNS for Web Hosts

Status
Not open for further replies.

ekinike

IS-IT--Management
Oct 20, 2001
123
US
My company currently has a public web server, which is accesibly via the internet by going to or the public IP address. It is also available on our internal lan via its private IP address.

Currently, the Web Admin of this site uses the ip address in his coding. Basically, the app detects whether the request is coming for outside or within the internal lan and then routes the request to the proper code, inside ip or public ip. For ease of use in his coding, the web admin has requested we use DNS names, rather than IP's, for example app1.companyx.com.

My problem is internally we use Microsoft DNS, and the full domain name is companyx.company-x.com. I know how to set this up for the public DNS name, but how do I have my internal hosts access app1.companyx.com? Whenever I tried to add any type of record, it creates it as app1.companyx.company-x.com.

Please help!
 
Don't make an A record, make a CNAME/Alias record that maps app1 to 'companyx.company-x.com'. Your Forward Lookup Zone table should have one A-record entry that says "Same as parent folder". That's the record that you want to make App1 an alias of.

If you don't have one of those A-records with "Same as parent folder" for the hostname, then you will want to create a new A-record for the domain and leave it blank.

ShackDaddy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top