Difference between revisions of "Subdomain"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
− | Subdomain redirection: | + | Subdomain [[redirection]]: |
https://stackoverflow.com/questions/45318758/nginx-variable-for-subdomain | https://stackoverflow.com/questions/45318758/nginx-variable-for-subdomain | ||
server { | server { |
Revision as of 18:16, 26 August 2021
Subdomain redirection:
https://stackoverflow.com/questions/45318758/nginx-variable-for-subdomain server { listen 80; server_name ~^(?<mysubdomain>.+)\.example\.com$; return 301 http://example.com/$mysubdomain$request_uri; }
Related terms
See also
- URL, URI, Subdomain, URL shortening, Bitly
- DNS: Linux DNS, IP,
systemd-resolve
,/etc/hosts
,whois
, Domain registrar,dig
,host
,nslookup
,scutil --dns
dnsmasq
,bind
,delv
,.local
,.internal, .onion
, FQDN, TTL,/etc/resolv.conf
,/etc/systemd/resolved.conf
,dscacheutil
(macOS),hostname, hostnamectl
,bind
,resolvectl status
, DNS sinkhole, Domain name server, LLMNR, Resource records:MX, TXT, NS
, CAA, SSHFP, Apex, CNAME, Wildcard DNS records, Subdomain, /etc/nsswitch.conf,1.1.1.1
,8.8.8.8, CoreDNS, dnsPolicy:
, Google Public DNS, DNS caches, Kubernetes ExternalDNS, DNS forwarding, IDNA2008, DNS-1035, Domain name registrars, Split-view DNS, Pi-hole, NextDNS
Advertising: