Link to home
Start Free TrialLog in
Avatar of nidul2004
nidul2004Flag for United States of America

asked on

Redirect internal subdomain to external website

Whats the best way to redirect a internal subdomain (test.company.com) to an external website (google.com). Using Windows DNS server. Thanks
Avatar of ITguy565
ITguy565
Flag of United States of America image

I would use a Cname record.
ASKER CERTIFIED SOLUTION
Avatar of ITguy565
ITguy565
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Create a new DNS zone with the full domain of the website. Delete the A record if it auto creates one then add a CNAME record that will redirect.
how I do it is a bit different.
at my registrar or external DNS, I set an A record  example.com  to my networks external IP.
on the router, I create port forward rule TCP ports 80 and 443 to point to the internal ip of my web server
on the web server in the iis bindings I set the website name under hosting and set the ssl certificate