Set DNS on VM in Windows Azure - windows

When create a VM on Windows Azure, and set up an IIS server I can access by dns provided by Azure.
There is a way, for set my domain to an asp.net application?
Like, mysite.com on iis of my VM.

Use your own domain/DNS management and setup a CNAME alias for the Azure generated DNS entry.

Related

Why IIS Express is ignoring network route in routing table?

We have a REST API which is working with Azure CosmosDB. This Azure CosmosDB account has enabled firewall, which allowing traffic from xxx.xxx.xxx.xxx IP address(which is our OpenVPN server).
On client/developer's side we have OpenVPN client which is pushing route to xxx.xxx.xxx.xxx CosmosDB via VPN interface. When we build and run this REST API app in Visual Studio via IIS Express, the app is ignoring network route to CosmosDB and even ignoring changes in ..\system32\drivers\etc\hosts file(we have internal VNET ip conigured on that CosmosDB account).
Response status code does not indicate success: Forbidden (403); Substatus: 0; ActivityId: $someActivityId; Reason: (Message: {"Errors":["Request originated from IP yyy.yyy.yyy.yyy through public internet. This is blocked by your Cosmos DB account firewall settings. More info: https://aka.ms/cosmosdb-tsg-forbidden"]}
But if we run same app in IIS Server(in our case its a IIS 10) network route and hosts file change also working fine. Also network routing works when we using Microsoft Azure Storage Explorer or powershell az module. It's not working only when the app is hosted by IIS Express.
Its only working via VPN, if VPN is set as default gateway. In our case we don't want to use VPN as gateway for all traffic.
Does IIS Express has any restrictions which may cause this? Is there any workaround?

IIS hosted Web Application cannot accessible through Internet

I have hosted Flask Web application on Windows Server on AWS, I have done followings
hosted it on IIS and add new bindings(port 8090) to web site
Created inbound rule for the port(8090) given in bindings
And it works fine on the server, but when i'm trying to access it on my PC's web browser says
it cannot reach took too long to respond
What else i need to do ?
In your vm, different provider has their security policy. For aws even you have set inbound port rule, it will not work. You also need to set inbound rules in their potal.
👉(1) Open Windows firewall, Create an Inbound Port Rule.
👉(2) Directly in Amazon Web Service console, exactly in security groups/inbound.

VisualSVN on Windows Azure Virtual Machine

Any one have a idea about setup visual svn on microsft azure and access it through different macine?
I just add Azure VM and Inbound and Outbound port set to 8443 and same port i used for visualsvn.but i cannot access it through different macine.
I cannot use Classic VM on My Azure.
My Previous azure had classic vm but new portal i doesn't have classic vm it redirect to normal vm as below image.
According to your description, you need open port 8443 on Azure NSG(Inbound rule). By default, it only creates port 3389, you need add a new rule.

How to host a website in Amazon ec2 windows server 2008 r2

I have created a virtual server in amazon es2. My server is windows server 2008 r2. it already has iis installed. I have also hosted my a site. Problem is , I do not know what is my name server is?
I have a domain suppose xyz.com. Now what the name server I will put in my domain name registration website? I could not find where to get the name server
It sounds like you want to use Amazon's Route53, which is their DNS solution. Log into AWS, choose Route53 from the main menu, and within Route53 you'll want to create a Hosted Zone for xyz.com, then within that zone create an A record for www.xyz.com that is an alias for your ec2 instance. When you create the hosted zone it will list the names of the DNS servers that you will want to use.

Setup a internet domain on windows server, on EC2?

sorry for this newbie question, as a Developer I never setup a web domain dns on a windows server. I already buy my .com domain, i will get an instance on amazon ec2. How I setup the dns on windows server 2008, to get traffic to my domain? Any tutorial? I have looked, but all i find is setup a local domain. Any tip for Amazon EC2?
Thanks
For most domain name hosts, they'll have some sort of way for you to link the domain name to a particular ip address or other domain name, both of which you can get from Amazon AWS. You can link an elastic ip that is associated with your instance and it'll work like a charm.
Assign an Elastic IP address to your server
Use your ISP's/Domain registrar's DNS tools to point your domain name at this ip address. The exact steps here will vary depending on who controls your domains DNS settings.
In iis, right-click on your site and choose edit bindings. Set your domain name as the host name (eg www.mydomain.com)

Resources