If you want anything.yourdomain.com to go to yourdomain.com then you setup a wildcard entry as *.yourdomain.com. * serves as Wildcard and this entry redirects anything.yourdomain.com to yourdomain.com.
In order to setup this you have to do two things:
1) Add an A record for * pointing to yourdomain.com IP address
2) Add a ServerAlias *.yourdomain.com in the VirtualHost ection of the yourdomain.com in httpd.conf
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.