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

    • WYSIWYG Web Builder 20.2.1 by Razvan Serea Web Buialder is a WYSIWYG (What-You-See-Is-What-You-Get) program used to create complete web sites. WYSIWYG means that the finished page will display exactly the way it was designed. The program generates HTML (HyperText Markup Language) tags while you point and click on desired functions; you can create a web page without learning HTML. Just drag and drop objects to the page position them "anywhere" you want and when youre finished publish it to your web server (using the build in Publish tool). Web Builder gives you full control over the content and layout of your web pages. One Web Builder project file can hold multiple web pages. Desktop publishing for the web, build web sites as easy as Drag & Drop "One Click Publishing" No FTP program needed. No special hosting required, use with any Hosting Service! Easily create forms using the built-in Form Wizard plus Form validation tools and built-in CAPTCHA. Advanced graphics tools like shapes, textart, rotation, shadows and many other image effects. Fully integrated jQuery UI (Accordion, Tabs etc), animations, effects and built-in ThemeRoller theme editor. Google compatible sitemap generator / PayPal eCommerce Tools Many navigation tools available: Navigation bars, tab menus, dropdown menus, sitetree, slidemenus. Built-in Slide Shows, Photo Galleries, Rollover images, Banners etc. Support for YouTube, Flash Video, Windows Media Player and many other video formats. Unique extension (add-on) system with already more than 250 extensions available! Create HTML5 / CSS3 websites today HTML5 document type (optimized HTML5 output). HTML5 audio/video and YouTube HTML5 support. HTML5 forms: native form validation, new input types and options, web storage. HTML5 canvas and svg support in shapes and other drawing tools. CSS3 @font-face. Use non web safe fonts in all modern browsers. CSS3 opacity, border radius, box shadow. CSS3 gradients. Add cool gradient effects using native CSS3 (no images). CSS3 navigation menu. Create awesome menus without using JavaScript or images. CSS3 animations and transitions. Including support for 2D and 3D transforms! Features for advanced users: Login Tools/Page Password Protection. Built-in Content Management System with many plug-ins (guestbook, faq, downloads, photo album etc). Add custom HTML code with the HTML tools. JavaScript Events: Show/hide objects (with animation), timers, move objects, change styles etc. Layers: Sticky layer, Docking layer, Floating layer, Modal layer, Anchored layer, Strechable layer and more! jQuery Theme Manager, create your own themes for the built-in jQuery UI widgets. Style Manager (global styling, H1, H2, H3 etc). Master Frames and Master Objects: reuse common element in your website. and much more! WYSIWYG Web Builder 20.2.1 changelog: Improved: Images in the properties of Photo Gallery, Photo Grid, Photo Collage and Slide Show can now be re-arrange using drag & drop. Improved: Default aspect ratio of HTML5 audio Fixed: Issue with list item icon offset in workspace. Fixed: 'Edit' button text in Login Admin cannot be changed. Fixed: Issue with Card max-width size calculation in breakpoints Fixed: Issue with (fixed) Layout Grid column height in breakpoints. Download: WYSIWYG Web Builder 64-bit | 30.1 MB (Shareware) Download: WYSIWYG Web Builder 32-bit | 28.0 MB Screenshot: >> Click here << Link: Home Page | Templates | Free extras/addons | Changelog Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Damn no doubt this is gonna be good, can't think of many franchises as consistent as RE (apart from 3 remake)
    • There are two version of qbittorrent 5.1.0 The normal version which I think is based of QT5 & the QT6 lt20 version. I'm currently using the QT6 LT20 version of 5.1.0 and it downloaded an ubuntu iso perfectly fine.
    • Are we forgetting the hardware degradation on 13th and 14th gen??
    • Cry more. The Ukrainians who had internet access because of Starlink were trash too, huh?
  • Recent Achievements

    • One Year In
      Vladimir Migunov earned a badge
      One Year In
    • One Month Later
      daelos earned a badge
      One Month Later
    • Week One Done
      daelos earned a badge
      Week One Done
    • Mentor
      Karlston went up a rank
      Mentor
    • One Month Later
      EdwardFranciscoVilla earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      494
    2. 2
      snowy owl
      252
    3. 3
      +FloatingFatMan
      250
    4. 4
      ATLien_0
      225
    5. 5
      +Edouard
      181
  • Tell a friend

    Love Neowin? Tell a friend!