Sunday, 15 February 2015

php - How to configure multiple IIS bindings in Azure -


I am running IIS8.5 on Windows 2012R2 hosted in Azure. I want to run two sites with different domain names on this IIS-server. Is it possible to do a .NET and a running PHP in IIS? How do I do this?

In the IIS I have added the domain name under the binding: domain1.com:8030 (net 4.5) domain2.com:8030 (php wordpress)

I have used Azure-portal I Added an endpoint http with external port 80 and internal 8030.

I have also added external IP to my server in DNS.

Everything was working fine after I added the first site, but after installing WordPress + php and another site, both sites now ask for certification and I get the following error message :

401 authorization required nginx / 1.7.5

Is it coming from the esur load-balancer?

It was free that my server virtual IP changed .. I thought the IP address was stable, but Apparently not .. my mistake was to kill someone else's server ..


No comments:

Post a Comment