liveBook · Manning

Subdomain

As explained in Building Web APIs with ASP.NET Core

A subdomain is a subordinate domain name created within a parent domain's namespace.

A subdomain is a subordinate domain name created within a parent domain’s namespace. It provides a readable web address that can resolve to an Internet Protocol address. section 12.1.2

For deployment, a parent domain such as mybglist.com can host a dedicated endpoint such as win-01.mybglist.com. The name can be created through DNS and associated with a virtual machine’s public IP address. section 12.1.2 section 12.2.3

Configure a custom subdomain by:

  • Registering or selecting the parent domain. section 12.1.2
  • Retrieving the Azure virtual machine’s public IP address. section 12.2.3
  • Adding a Cloudflare A record with Name win-01, the VM’s IPv4 address, Proxied status, and automatic TTL. section 12.2.3

Deployment endpoint

The A record creates win-01.mybglist.com and points it to the Windows VM’s public IP address. An Azure-managed alternative, mybglist-win-01.westeurope.cloudapp.azure.com, resolves directly to the VM. section 12.2.3

Figure 12.12 Cloudflare Add Record settings for win-01.mybglist.com
12-12

Use the DNS management settings to inspect the A record fields for win-01.mybglist.com. section 12.2.3

How Building Web APIs with ASP.NET Core covers it

How deep it goes
Explains naming and A-record configuration, but stops short of broader DNS and TCP/IP fundamentals.
Examples
Uses win-01.mybglist.com and mybglist-win-01.westeurope.cloudapp.azure.com as deployment addresses.
What it assumes
Assumes basic networking and TCP/IP knowledge while defining domain names through deployment examples.
What you can do after
Operate/configure a custom Cloudflare subdomain that points to an Azure VM’s public IP address.
How it connects
Connects DNS names with parent domains, A records, public IP addresses, virtual machines, and CDNs.

Also explained in

Compare how 3 books explain subdomain →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Web APIs with ASP.NET Core. The section links point to the parts of the book it draws on.