Link to home
Start Free TrialLog in
Avatar of Brandon Allen
Brandon Allen

asked on

Update DNS A record on Windows Server

Corporate DNS A record needs updated so internal users will redirect to the new website.
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

normally you wouldn't be fooling with an A record
cname www <ipdaddress of web server>

Where was the old webserver and where is the new webserver ?
Is the web address the same as the AD domain?
Avatar of Brandon Allen
Brandon Allen

ASKER

domains sit with Godaddy
changed my named server on GoDaddy to goto AWS

my website works external, but wont forward internal users to the new website
Do you have an internal domain name that's the same as your registered domain name? Otherwise there's probably no need for an internal DNS record for the website at all. Internal users can just use the public DNS record.
so the local domain name and the site domain name is the same domain name i.e.
AD Domain is example.com
website is also example.com
you must use a subdomain i.e. www
A WWW <AWS IPADDRESS>
internal domain is different than website
then you either wait for the TTL to expire or on the dns servers flush the dns cache
Is there a forward lookup zone for the external domain on the internal DNS server? If so, what's it being used for? You may be able to get rid of that zone entirely, especially if the website's A record is the only thing in it.
local domain:
staff.example.com

website
example.com

there is an existing forwarding zone for
example.com  in the dns server

example.com needs to forward to example.com (aws site)
there is an existing forwarding zone for
example.com  in the dns server

Aside from the website's A record, what records are in that example.com zone?
got it.
Added an
 A record in the example.com forwarding zone.
with the IP address of AWS site.
Seems like the key here is "redirect site".

Redirects are better done using HTTPS 302 requests, rather than DNS.

For a specific/correct answer provide actual URLs + their redirection targets.
If your ad is staff.example.com

Make sure you do not have example.com as authoritative, which based on your subsequent response it is.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.