DEV Community

Discussion on: Archive subdomains for web application

Collapse
 
trickymast3r profile image
Tricky Lonely

First you need create an wilcard "*" "A" record for your "example.com", and use headers from request data to get "Host" "user.example.com" when user visit the page.

Browser -> "user.example.com" -> Server -> Request header "Host" -> Output

Collapse
 
wchr profile image
Wachira • Edited

@trickymast3r What about SSL certs? do I have to generate a new one for each subdomain