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

March 14, 2014 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.
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.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!