Solved

DNS records on local LAN

Posted on 2004-04-14
10
192 Views
Last Modified: 2010-03-18
I'm running SBS 2000 as a domain controller, and have created a domain, mydomain.com.  I have this domain name registered and have my ISP hosting a website with the URL www.mydomain.com.  

When I try to go to the website www.mydomain.com from a workstation on my network that uses the domain controller as its DNS server, I cannot view the website.  Basically the DNS on my domain controller does not point www.mydomain.com to the right location.  If I use my ISP's name server from a workstation I can view the website fine.

My question is how do I configure my DNS to forward requests for this website to the correct location?

The virtual server address of this website is users.ispname.net/~mydomain

Thanks,

Brian
0
Comment
Question by:Brian1
10 Comments
 
LVL 11

Expert Comment

by:infotrader
ID: 10826693
That is a problem with both External DNS domain and Internal DDNS domain name being the same.

You can either go to your DNS mmc and add a host record for www that points to the External IP address of www.mydomain.com, or just modify the c:\windows\system32\drivers\etc\hosts file and add www.mydomain.com to the entry.

- Info
0
 
LVL 11

Expert Comment

by:infotrader
ID: 10826707
P.S.  The hosts file would only work on the ONE computer that you've modified the entry for.  So if you edit the hosts file on computer1, then only computer1 would resolve it correctly.  If you need to apply the changes to a bunch of computers, you're better off modify the mydomain.com dns entry on your DNS server.

- Info
0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 10832498
Info is right.... or you can just add the "www" record pointing to the true IP of your website in DNS as info stated.
0
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
LVL 1

Author Comment

by:Brian1
ID: 10838015
I can't just add a host record for www that points to the Website's IP because it has a dynamic IP that changes.  The virtual path for the site is user.ispname.com/~mycompanyname.  But a host record asks for an IP address...
0
 
LVL 11

Accepted Solution

by:
infotrader earned 168 total points
ID: 10839381
If your ISP is hosting your website as www.mycompany.com, then it is their duty to make sure that http://www.mycompany.com points to the correct "Virtual Server'.  If it is not pointing to an IP address, then there is something wrong with THEIR setup.  I do not know any ISP that hosts a website on a dynamic IP address.  Besides, even if the address is dynamic, the chance for that IP to change are usually pretty slim.  I host my own website through a dynamic cable modem, and the IP address only changes 3 times in the last 7 years... each with a new ISP taking over the ownership of the cable company.

Basically, if they are hosting multiple websites on a single IP address, then they are responsible for the http header resolution.  There is no reason why http://www.mydomain.com would resolve externally to one IP address but not internally to the same IP address.

Simply put, if 12.12.12.12 points to www.mydomain.com, then if you put www.mydomain.com 12.12.12.12 in your host file, it will resolve.

If 12.12.12.12 does not resolve externally to the website, then it is something you'd need to discuss with your ISP.  You need to let them know that they need to be able to distinguish different websites through http headers.

Finally, if for some reason that's not a good enough answer, then you can also create a website called www.mydomain.com internally.  and under the "Home Directory", select "Redirection to a URL" and type http://user.ispname.com/~mycompanyname...  That way, when your user goes to http://www.mycompany.com, it will go to your internal IIS server first, then redirected to the path.

- Info
0
 
LVL 4

Assisted Solution

by:eedlee
eedlee earned 166 total points
ID: 10839620
If you really have a variable DNS website (not unusual if its running on someone's server in their house, but still unusual in and of itself) then you are short on options, other than the hosts file. Users outside your domain are querying a dynamic host provider who is relaying cname information and redirecting to the domain/folder. Since local clients need local DNS, this can't currently be resolved through a local server DNS parameter to my knowledge. If you could give more info on the host provider for the intenet www record it would be helpful.
0
 
LVL 31

Assisted Solution

by:Gareth Gudger
Gareth Gudger earned 166 total points
ID: 10846095
>> IP address only changes 3 times in the last 7 years

I've seen peoples change every other month. :)

>> The virtual path for the site is user.ispname.com/~mycompanyname.

Sounds like to me you are redirecting a domain name to a virtual home folder out of someones free webspace they got with their DSL or cable connection.

In that case map the "www" entry on your DNS to whomever is doing the external DNS translation (from "www.yourdomain.com" to "user.ispname.com/~mycompanyname") IP address of their DNS server.
0

Featured Post

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Printer locally over VPN 2 66
VPN speed and 3rd party service 13 45
Top cover replacement dell latitude d620 12 73
ADMT Intra Forest migration questions 7 132
FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

20 Experts available now in Live!

Get 1:1 Help Now