Access mydomain.com (shared hosting) while in network mydomain.com

G

Guest

Hello,

The domain at our office is called mydomain.com. We just setup our website
on a shared hosting site, where we use a shared ip. That side is authortative
for our domain name.

Outside of the office we can access mydomain.com ok, but inside the network
we can't.

I don't want to delegate the internal dns function to the external website,
so how do I create a situation where when one types in www.mydomain.com the
site can be accessed within the network?

Or should I get a dedicated IP?
 
A

Ace Fekay [MVP]

In
blinton25 said:
Hello,

The domain at our office is called mydomain.com. We just setup our
website on a shared hosting site, where we use a shared ip. That side
is authortative for our domain name.

Outside of the office we can access mydomain.com ok, but inside the
network we can't.

I don't want to delegate the internal dns function to the external
website, so how do I create a situation where when one types in
www.mydomain.com the site can be accessed within the network?

Or should I get a dedicated IP?

Common scenario with an easy fix.

Two choices:

1. Obtain the IP address of the external web server. Then under your
mydomain.com zone, right-click, new Host, type in www (without the quotes),
and provide the IP address you obtained. To allow users to get to it using
http://mydomain.com (without the www portion), on your DC and every DC (this
is because of the LdapIpAddress, or the 'same as parent' record), go into
IIS, under the default website properties, home Directory tab, setup a
redirect to www.mydomain.com.

2. Find out who the external authorative name servers are for the domain.
Then right-click your internal zone mydomain.com, New, Delegation, then
provide it with a www, then for the name servers, provide the authorative
name servers you obtained. This will allow for the hosting company to
occasionally change the webserver's IP address and you will still get to the
site. Yea, some ISPs do that and don;t tell you. You will also need to do a
redirect to make http://mydomain.com work.

btw- the name blinton sounds like a guy I know. Are you from the Philly
area? If not, sorry, it's just a coincidence.

--
Regards,
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT,
MVP Microsoft MVP - Directory Services
Microsoft Certified Trainer

Infinite Diversities in Infinite Combinations

Having difficulty reading or finding responses to your post?
Try using Outlook Express or any other newsreader, configure a news
account, and point it to news.microsoft.com. Anonymous access. It's
easy and it's free:

How to Configure OEx for Internet News
http://support.microsoft.com/?id=171164

"Life isn't like a box of chocolates or a bowl of cherries or
peaches... Life is more like a jar of jalapenos. What you do today
may burn your butt tomorrow." - Garfield
 
G

Guest

Hello,

Sorry, not from the USA, but hope you are able to track down your friend
though.

Just to confirm, even though the hosting company hasn't given me a dedicated
IP, I should still be able to access the server by specifying the shared IP
using www?
 
K

Kevin D. Goodknecht Sr. [MVP]

Read inline please.

In
blinton25 said:
Hello,

Sorry, not from the USA, but hope you are able to track down your
friend though.

Just to confirm, even though the hosting company hasn't given me a
dedicated IP, I should still be able to access the server by
specifying the shared IP using www?

Before you delegate, run nslookup www.mydomain.com 4.2.2.2
This will return the record for your external web site, if this record is a
CNAME pointing to mydomain.com the delegation won't work, however, if it
returns www.mydomain.com as a CNAME pointing to someotherdomain.com, you
need only create an identical CNAME record in your internal DNS.
In all likelihood, since your hosting provider is using a shared IP,
www.mydomain.com would be a CNAME. I had a user a couple of weeks ago that
their external host had a CNAME that pointed to a CNAME, that pointed to
another CNAME. You need only create the first.


--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps

===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
http://support.wftx.us/
http://message.wftx.us/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
 
A

Ace Fekay [MVP]

In
Kevin D. Goodknecht Sr. said:
Before you delegate, run nslookup www.mydomain.com 4.2.2.2
This will return the record for your external web site, if this
record is a CNAME pointing to mydomain.com the delegation won't work,
however, if it returns www.mydomain.com as a CNAME pointing to
someotherdomain.com, you need only create an identical CNAME record
in your internal DNS.
In all likelihood, since your hosting provider is using a shared IP,
www.mydomain.com would be a CNAME. I had a user a couple of weeks ago
that their external host had a CNAME that pointed to a CNAME, that
pointed to another CNAME. You need only create the first.

I've been seeing issues with 4.2.2.2 lately. Youmay want to try:

nslookup www.mydomain.com 4.2.2.3


Ace
 
K

Kevin D. Goodknecht Sr. [MVP]

Read inline please.

In
blinton25 said:
Hello,

I got the following:

C:\Documents and Settings\User>nslookup www.mydomain.com 4.2.2.3
Server: vnsc-lc.sys.gtei.net
Address: 4.2.2.3

Non-authoritative answer:
Name: www.mydomain.com
Address: 64.15.146.78

www.mydomain.com appears to be an A record, so a delegation will work fine.



--
Best regards,
Kevin D. Goodknecht Sr. [MVP]
Hope This Helps

===================================
When responding to posts, please "Reply to Group"
via your newsreader so that others may learn and
benefit from your issue, to respond directly to
me remove the nospam. from my email address.
===================================
http://www.lonestaramerica.com/
http://support.wftx.us/
http://message.wftx.us/
===================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
===================================
Keep a back up of your OE settings and folders
with OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
===================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top