imaginarynumber Posted October 26, 2018 Posted October 26, 2018 Hi all. One of my joomla sites used to redirect to m.mysite.com if someone was using a mobile/cell phone. The subdomain was hosted by a third party via a CNAME redirect to their servers. I no longer want to use their service and deleted the DNS record. I then noticed that search engines such as Bing still link to m.mysite.com. Not wanting a "page not found" I though that I could add a CNAME record to point it back to mysite.com That just leads m.mysite.com to a cpanel page suggesting that someone has messed things up. How can i redirect m.mysite.com to mysite.com. Using A records to point at the shared hosting IP address just results in a page not found message? Should I just delete the new record and then create the m subdomain in cpanel and then redirect that to the root domain? My head hurts... Thanks. Quote
TCH-Bala Posted October 26, 2018 Posted October 26, 2018 Please log into cpanel and set up redirection to point the subdomain to the main domain. https://documentation.cpanel.net/display/74Docs/Redirects Quote
imaginarynumber Posted October 30, 2018 Author Posted October 30, 2018 Thanks for the reply Balakrishan. If I delete the CNAME entry via WHM and then log into cpanel and try to create the m. subdomain (with a view to then redirecting it) I get the following error Quote There was a problem creating the sub-domain: You must choose a docroot that the system does not reserve. Quote
TCH-Bala Posted October 31, 2018 Posted October 31, 2018 Please open a support ticket by clicking HERE with all the details so that we can check it out for you. Quote
imaginarynumber Posted October 31, 2018 Author Posted October 31, 2018 Strange, just tried it again and it works. Maybe it was some strange caching thing? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.