Link to home
Start Free TrialLog in
Avatar of Gene Weeg
Gene Weeg

asked on

Redirection of internal website from internal IIS server to outside website

I have 2012 server that is hosting 2 internal websites.  We are moving the websites to a hosting service and I need to redirect any requests to those websites to the cloud hosted ones.  I am not comfortable with the IIS server as I am new to my position at this company.  Any assistance would be greatly appreciated.
Avatar of Kimputer
Kimputer

Either set a forward (could even be as simple as a meta refresh in the index page), or you change the DNS entry (if the website URL was already correct, i.e. internal/external URL was always the same).
There's no redirect in this case.

The hostnames will simply move out of local hosting to public hosting, so either the hostnames will remain the same or you'll reference the sites via a new hostname.

Likely better to access these via public hostnames, then muck around with local DNS or redirection cruft... which will only be confusing to users...
Avatar of Gene Weeg

ASKER

So what I need to do is to make sure internal and external users that go to https://genesis.lesd.k12.az.us/ are forwarded to https://az-litch.edupoint.com/ .  I have an A record in our DNS that says any requests to Genesis goes to 66.210.56.135.  Do I change that to the public IP of the hosting website 35.160.187.224?  I still would feel better if there were a way to forward requests made to the webservers to the hosted website if that is still an option.

Thanks for your patience.

You can update the A record to the new server IP, IF the other server takes that host as input (and if it's not, configure it to forward it again, to itself but with the correct URL).
Forwarding all traffice in IIS to another URL is a basic function of IIS.
Thanks so much for your information.  I am not seeing the area where I go to do the redirection.  Can you point me in the right direction?
ASKER CERTIFIED SOLUTION
Avatar of Kimputer
Kimputer

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
And if you (or other readers) may find that you don't see that "HTTP redirect" feature at all, it's because it's not installed in iis by default.

To add it easily, use the "Server Manager" (on Windows Server, or "turn Windows feature on or off" in Windows 10, etc.). See:
https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httpredirect/#setup