redirect domain to another site's subdomain
My client have happy.com and want to use my website builder system.
My domain is example.com.
I need to redirect happy.com to happy.example.com. By the way I use nginx. What DNS records and rewrite rules I must use?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.