Redirect subdomains (mail, hostname, smtp, pop) to main domain - NGINX

ram0ng1

Verified User
Joined
Jul 4, 2021
Messages
26
Location
Brasil
Well, I'm in need of help to redirect some subdomains from the system itself to the main domain.

mail.domain, server,domain, smtp,domain, pop.domain. All of them running with nginx.
What I used was "SERVER_ALIAS" but it simply shows the content of the main domain in the subs...

Well, who can help me in this matter. ;)
 
Why? those are not really an subdomain., these are needed for the good working of your domains and server & SSL certificates
I strongly suggest not to mess with these "subdomains" unless you want troubleshooting later :)
 
Last edited:
Back
Top