Azure domain Services HTTP redirect

Martin Gazdík 1 Reputation point
2021-04-13T14:09:41.057+00:00

Hello, I have some domain contoso.com and I also have active AD Domain Services for domain contoso.com - So my DNS record should point contoso.com --> ADDS IP Address = Secure LDAP external IP address (Also I found out that DNS Server is running on ADDS Server)

But I already have company website running on contoso.com, so in my case I would like to redirect all HTTP / HTTPS traffic from ADDS Server to my WebServer...
Easiest way would be to RDP to ADDS Server and setup IIS to redirect all HTTP/HTTPS traffic to WebServer (like reverse proxy)
Any ideas ? :)

Thanks

Microsoft Security | Microsoft Entra | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2021-04-13T23:05:53.53+00:00

    Hi @Martin Gazdík , the easiest way to redirect all HTTP/HTTPS traffic from your ADDS Server to your Web Server would be by going into your ADDS server and setting up IIS to redirect the traffic. You could also try this: Create an application gateway with HTTP to HTTPS redirection using the Azure portal. Please let me know if you have any questions!

    If this answer helped you, please mark it as "Verified" so other users may reference it.

    Best,
    James


  2. Anonymous
    2021-04-30T21:51:38.94+00:00

    Hi @Martin Gazdík ,

    Secure LDAP external IP address can be used only for making Secure LDAP queries and this endpoint cannot handle HTTP / HTTPS requests. Azure ADDS is a PAAS service and hence you cannot host an IIS server behind this external IP address. If you want to publish your existing Website to the internet, you can:

    • Migrate the website to an Azure VM with Public IP address or use a load balancer / Firewall / App gateway / Front Door with Public IP address to route traffic to backend Azure VM.
    • Migrate the website to Azure App service.

    I Hope this helps!

    Best,
    James

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.