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
If you use the WAMPServer,please remote to your Server.Open the http-vhosts.conf file,modify the ServerName,ServerAlias to you.then restart all service.
If you have use the Alias,please modify the ServerName and ServerAlias