You need do complete two steps on this ASP.NET Stack for using Domain Name to visit your site:
Domain Name Resolution indicates the way your domain names are resolved to their mapped IP address. The majority of resolutions from domain names to IP addresses are done through a procedure called DNS. After the resolution, the domain name can be used to access Internet in a much more convenient way.
You can use Alibaba Cloud DNS in sync with the Domain service. Alibaba Cloud DNS provides authoritative DNS servers and DNS management services.
- Login Cloud Console->DNS Settings->Add Record,set Domain Resolution:
- The type is A record,host is your sub domain,value is your Internet IP Address.Confirm it
Host use @ to exactly match the original domain name (for example, yourdomain.tld).
- After the Domain Name Resolution please waite for some time until it’s useful(This time is different for different provider of Domain,from 1 minute to 24h)
Note:Please clear the browser cache when Domain Name Resolution is useful but you browser seem is also feedback the old contents of your site
Remote to Windows Server,modify the Site Bindings on IIS,you can see the detail steps below:
- IIS->Sites->Default Website(right click)->Edit Binding,then pop up the setting windows,select one host which is null,then Edit it
- Fill in your domain name in Host Name,then click “OK” button
- Fir you want to add more domain name to this site,please select the “Add” button on the step 1
Note：If you want to deloy more than one site on IIS,this step is neccesary