I have an azure vm(windows server 2012), that I installed IIS on. I went to default website and added a new "application" and pointed it to my website code.

I can now see my website on the box via localhost. However I have no clue how to setup my domain to link to my website.

I am using namecheap as my domain provider.


Your VM should have a public IP configured, if not then you would need to add one. You would also need to open up the inbound port (80 for http or 443 for https) on the Azure Network Security Group (if using v2 Vm's) or cloud service (if using v1).

Once that is done you should be able to resolve the site by IP address or the DNS name that Azure provides with the IP. You can then add an A record or a CNAME with your DNS provider to point your custom URL to this VM.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.