Question

How to redirect someone to another site when searching a specific site

Posted March 14, 2014 1.1k views
I'll try to explain this as easy as i can. Say someone goes to example.com i want them to get redirected to test.example.com. It's the same domain but it just goes to text.example.com.

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.

×
2 answers
Hi,

The simplest way to redirect people would be to just create a dns cname record for example.com redirecting to test.example.com. Please note you would need to make an a or aaaa record at example.com for the redirection to go anywhere.
Adding an A/CNAME record isn't enough -- you also need to configure your webserver to actually redirect users from example.com to test.example.com.
Submit an Answer