Answer the question
In order to leave comments, you need to log in
How to start an Azure web server and bind a domain to it?
Azure has the ability to create a virtual machine.
Those. in fact, such a VDS in the cloud. I can put Apache there or whatever my heart desires, up to Clojure and so on.
I bought a domain *my cool domain*
The question is - what should be the steps to bind my domain to the Azure web server?
Answer the question
In order to leave comments, you need to log in
1) Go to the properties of your new virtual machine (Dashboard tab) and write down the Public Virtual IP that Azure allocated you (that is, the IP you can use to reach the machine, for example, by entering http://IP)
2) Go to your domain control panel (on the site where you bought it) and look for the "DNS Records" section, i.e. a place where you can register the desired DNS record. For simple DNS->IP resolving, you will need to create an A record pointing to the IP from step #1.
3) Wait a while for the DNS entry you created to propagate to other servers (usually takes 5 minutes to an hour). You can check by running the ping your_dns command in the console. If you see your IP as a result, then the domain is ready.
4) Now you can connect to your new machine using the domain.
PS. Don't forget to also open the desired port in the Azure VM portal on the Endpoints tab (HTTP, etc.)
Azure allows you to keep sites on asp.net mvc in the form of a so-called web role, because you simply do not need a more expensive virtual machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question