Sunday, August 3, 2014

How To Host Your Domain in Azure VPS

Let's say we have a domain name www.damaturk.com and we want to host it in Azure VPS (Virtual Private Server). The steps are as follows:

1. Remote desktop to the Azure VPS.
Navigate to https://manage.windowsazure.com click Virtual Machines, click connect.



2. Open IIS Manager. Assuming that your web site related files are copied under C:\inetpub\wwwroot, add your web site under sites.


3. Right click on your site and click edit bindings.
Click Add, enter your domain name and choose the internal ip from the combo box, at the end you should have two rows one with www prefix and one without.


4. Open Azure management portal again, click your virtual machine and click Endpoints. Add a new end point with port 80.


5. Go to your domain registrar site, open Manage DNS or something similar to add or change A record.
Enter (A) records as seen below: