Access external website with same domain name


Recommended Posts

OK, so my Windows domain on my network is called fault.com (for example). Now I have an external website on the Internet hosted by my ISP also at fault.com (and www.fault.com).

How do I access it now cause the DNS on the Windows Server 2003 box thinks it's internal :(

Thanks.

wouldnt that be bad since his pc would think the domain controller was at that ip instead of his lan ip

PS. what if you add a dns record on ur dns server so that www.xxxxx.com point to the external website and xxxx.com points to your internal website

  semaja2 said:

wouldnt that be bad since his pc would think the domain controller was at that ip instead of his lan ip

PS. what if you add a dns record on ur dns server so that www.xxxxx.com point to the external website and xxxx.com points to your internal website

Sounds like exactly what I need :) How do I do that exactly :p I can get to the DNS config screen in Administrative Tools but I'm clueless from there!

Thanks man.

I think you should analyze why you have an internal domain named after a public domain that is not under your control... If you want your employees to have access to your public website, that is one thing, but unless you control both sites, you'll only open yourself up to security issues.

it would be quite hard for me to just explain how to do what i said but you could get some reading matterial or with that hosts file but add www.xxxx.com xxx.xxx.xxx.xxx to it but not your normal domain name

PS if ya get that cuz i dont

  John said:

I think you should analyze why you have an internal domain named after a public domain that is not under your control... If you want your employees to have access to your public website, that is one thing, but unless you control both sites, you'll only open yourself up to security issues.

I think what the topic starter was saying is that he DOES control the domain, but it's not DNS'd to his domain controller.

  Leddy said:

I think what the topic starter was saying is that he DOES control the domain, but it's not DNS'd to his domain controller.

Hello, if I understand you right: correct! I own the public external domain on the Internet too, but it's hosted by my ISP.

So, how might I add this DNS record to my DNS configuration on Windows Server 2003 to point to this external website at my ISP?

  semaja2 said:
PS. what if you add a dns record on ur dns server so that www.xxxxx.com point to the external website and xxxx.com points to your internal website

No. Because of the www before the domain name. You are telling windows that any requests for www.domain.com are to be forwarded to xxx.xxx.xxx.xxx

Requests to domain.com know, because for the entries in DNS server, that this is the local domain.

This is a dirty little trick that works.

This is also a neat trick for other things too.

Example 1:

Your users love using eBay.co.uk, but you don't want them to go to ebay.com. Well an entry in the hosts file can tell windows that the ip address of ebay.com is the ip of ebay.co.uk.

Example 2:

When you have a adware problem, but you don't have time fix it now because its smoke break time. A quick entry into hosts can open your intranet site rather than an external site.

1) Ah ok, but wouldn't creating a DNS entry that www.fault.com points to an external IP equally do the same? Or am I wrong?

2) I tried your little hosts file trick. It works but now I guess I have to copy that hosts file to each workstation on the network :( Easy enough with a little script, but is this what they do in practice?

Why can't you just add a CNAME record or A record in DNS that points www to you external site.

So in the DNS tool on your Windows 2003 server - you open up your FORWARD zones and there should be one there for your domain name (fault.com). Right click on FAULT.COM and from the drop down menu choose A RECORD and simply type in www and give the external IP address.

Now - if for some reason you have named your main Windows 2003 server as WWW - then you are screwed... but if you have no other records called www in your dns zone then simply adding a A RECORD will do exaactly what you want.

Bill

  teeple said:

Why can't you just add a CNAME record or A record in DNS that points www to you external site.

So in the DNS tool on your Windows 2003 server - you open up your FORWARD zones and there should be one there for your domain name (fault.com). Right click on FAULT.COM and from the drop down menu choose A RECORD and simply type in www and give the external IP address.

Now - if for some reason you have named your main Windows 2003 server as WWW - then you are screwed... but if you have no other records called www in your dns zone then simply adding a A RECORD will do exaactly what you want.

Bill

Sweet, that works perfectly :) Exactly what I needed - thanks Bill.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Correct. You don’t buy anything that’s free (if it were).
    • Vivaldi 7.4.3684.52 by Razvan Serea Vivaldi is a cross-platform web browser built for – and with – the web. A browser based on the Blink engine (same in Chrome and Chromium) that is fast, but also a browser that is rich in functionality, highly flexible and puts the user first. A browser that is made for you. Vivaldi is produced with love by a founding team of browser pioneers, including former CEO Jon Stephenson von Tetzchner, who co-founded and led Opera Software. Vivaldi’s interface is very customizable. Vivaldi combines simplicity and fashion to create a basic, highly customizable interface that provides everything a internet user could need. The browser allows users to customize the appearance of UI elements such as background color, overall theme, address bar and tab positioning, and start pages. Vivaldi features the ability to "stack" and "tile" tabs, annotate web pages, add notes to bookmarks and much more. Vivaldi 7.4.3684.52 changelog: [Address bar] URL is searched instead of opening (VB-117198) [Chromium] Update to 136.0.7103.179 [Settings][Workspaces] Add Workspace Rule button hidden by 4th rule (VB-117181) Download: Vivaldi 64-bit | 125.0 MB (Freeware) Download: Vivaldi 32-bit | ARM64 View: Vivaldi Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • NTLite 2025.06.10482 by Razvan Serea NTLite is a Windows configuration tool that allows you to modify your existing Windows install or an image yet to be deployed, remove Windows components, configure and integrate, speed up the Windows deployment process. Reduce Windows footprint on your RAM and storage drive memory. Remove components of your choice, guarded by compatibility safety mechanisms, which speed up finding that sweet spot. Windows Unattended feature support, providing many commonly used options on a single page for easy setup. Easily integrate a single or multiple drivers, update or language packages. Package integration features smart sorting, enabling you to seamlessly add packages for integration and the tool will apply them in the appropriate order, keeping hotfix compatibility in check. One of the important new features of NTLite (compared to its predecessors) is the ability to modify an already installed the operating system, by removing unnecessary components. Supports Windows 11, 10, 8.1 and 7, x86 and x64, live and image. Server editions of the same versions, excluding support for component removals and feature configuration. ARM64 image support in the alpha stage. Does not support Checked/Debug, Embedded, IoT editions, nor Vista or XP. NTLite 2025.06.10482 changelog: Fix Image: Image optimization would be skipped if both boot.wim and install.wim would keep only one edition Image: Crash after exporting unloaded image in certain situations Upgrade UI-Translation: Thanks for Turkish (Salih DURDU), Georgian (Anonymous) Download: NTLite 64-bit | 21.5 MB (Free, paid upgrade available) Download: NTLite 32-bit | 19.3 MB Link: NTLite Home Page | NTLite Features | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • CrystalDiskMark 9.0.1 is out.
    • Wonder if the HDMI Forum will allow AMD to use HDMI 2.2 under Linux.
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      688
    2. 2
      ATLien_0
      265
    3. 3
      Michael Scrip
      202
    4. 4
      +FloatingFatMan
      167
    5. 5
      Steven P.
      141
  • Tell a friend

    Love Neowin? Tell a friend!