Difference between revisions of "Subdomain redirection"
Jump to navigation
Jump to search
(Created page with " https://stackoverflow.com/questions/45318758/nginx-variable-for-subdomain server { listen 80; server_name ~^(?<mysubdomain>.+)\.example\.com$...") |
Tags: Mobile web edit, Mobile edit |
||
Line 12: | Line 12: | ||
* {{DNS}} | * {{DNS}} | ||
* {{redirection}} | * {{redirection}} | ||
+ | |||
+ | [[Category:Web]] |
Revision as of 10:05, 27 August 2021
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
- 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 - URL redirection, Subdomain redirection, Lambda@Edge: HTTP redirect using lambda handler, Redirect: HTTP status codes 3xx
Advertising: